fr.ifremer.allegro.data.survey.fishingTrip
Class FishingTripOriginDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDaoBase
          extended by fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDaoImpl
All Implemented Interfaces:
FishingTripOriginDao

public class FishingTripOriginDaoImpl
extends FishingTripOriginDaoBase

See Also:
FishingTripOrigin

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao
TRANSFORM_CLUSTERFISHINGTRIPORIGIN, TRANSFORM_NONE, TRANSFORM_REMOTEFISHINGTRIPORIGINFULLVO, TRANSFORM_REMOTEFISHINGTRIPORIGINNATURALID
 
Constructor Summary
FishingTripOriginDaoImpl()
           
 
Method Summary
 FishingTripOrigin clusterFishingTripOriginToEntity(ClusterFishingTripOrigin clusterFishingTripOrigin)
          Converts an instance of type ClusterFishingTripOrigin to this DAO's entity.
 void clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of ClusterFishingTripOrigin to the specified entity.
protected  FishingTripOrigin handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
          Performs the core logic for FishingTripOriginDaoBase.createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)
 FishingTripOrigin remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO remoteFishingTripOriginFullVO)
          Converts an instance of type RemoteFishingTripOriginFullVO to this DAO's entity.
 void remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripOriginFullVO to the specified entity.
 FishingTripOrigin remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId remoteFishingTripOriginNaturalId)
          Converts an instance of type RemoteFishingTripOriginNaturalId to this DAO's entity.
 void remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source, FishingTripOrigin target, boolean copyIfNull)
          Copies the fields of RemoteFishingTripOriginNaturalId to the specified entity.
 ClusterFishingTripOrigin toClusterFishingTripOrigin(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type ClusterFishingTripOrigin.
 void toClusterFishingTripOrigin(FishingTripOrigin source, ClusterFishingTripOrigin target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type RemoteFishingTripOriginFullVO.
 void toRemoteFishingTripOriginFullVO(FishingTripOrigin source, RemoteFishingTripOriginFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
          Converts this DAO's entity to an object of type RemoteFishingTripOriginNaturalId.
 void toRemoteFishingTripOriginNaturalId(FishingTripOrigin source, RemoteFishingTripOriginNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDaoBase
clusterFishingTripOriginToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterFishingTripOrigin, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginByFishingTrip, findFishingTripOriginById, findFishingTripOriginById, findFishingTripOriginById, findFishingTripOriginById, findFishingTripOriginByNaturalId, findFishingTripOriginByNaturalId, findFishingTripOriginByNaturalId, findFishingTripOriginByNaturalId, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByOriginFishingTrip, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, findFishingTripOriginByProgram, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getAllFishingTripOrigin, getFishingTripDao, getPrincipal, getProgramDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteFishingTripOriginFullVOToEntityCollection, remoteFishingTripOriginNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setFishingTripDao, setProgramDao, toClusterFishingTripOrigin, toClusterFishingTripOriginArray, toClusterFishingTripOriginCollection, toEntity, toRemoteFishingTripOriginFullVO, toRemoteFishingTripOriginFullVOArray, toRemoteFishingTripOriginFullVOCollection, toRemoteFishingTripOriginNaturalId, toRemoteFishingTripOriginNaturalIdArray, toRemoteFishingTripOriginNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FishingTripOriginDaoImpl

public FishingTripOriginDaoImpl()
Method Detail

handleCreateFromClusterFishingTripOrigin

protected FishingTripOrigin handleCreateFromClusterFishingTripOrigin(ClusterFishingTripOrigin clusterFishingTripOrigin)
Description copied from class: FishingTripOriginDaoBase
Performs the core logic for FishingTripOriginDaoBase.createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

Specified by:
handleCreateFromClusterFishingTripOrigin in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.createFromClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

toRemoteFishingTripOriginFullVO

public void toRemoteFishingTripOriginFullVO(FishingTripOrigin source,
                                            RemoteFishingTripOriginFullVO target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripOriginFullVO(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteFishingTripOriginFullVO in interface FishingTripOriginDao
Overrides:
toRemoteFishingTripOriginFullVO in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO)

toRemoteFishingTripOriginFullVO

public RemoteFishingTripOriginFullVO toRemoteFishingTripOriginFullVO(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type RemoteFishingTripOriginFullVO.

Specified by:
toRemoteFishingTripOriginFullVO in interface FishingTripOriginDao
Overrides:
toRemoteFishingTripOriginFullVO in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginFullVO(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginFullVOToEntity

public FishingTripOrigin remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO remoteFishingTripOriginFullVO)
Description copied from interface: FishingTripOriginDao
Converts an instance of type RemoteFishingTripOriginFullVO to this DAO's entity.

See Also:
FishingTripOriginDao.remoteFishingTripOriginFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO)

remoteFishingTripOriginFullVOToEntity

public void remoteFishingTripOriginFullVOToEntity(RemoteFishingTripOriginFullVO source,
                                                  FishingTripOrigin target,
                                                  boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of RemoteFishingTripOriginFullVO to the specified entity.

Specified by:
remoteFishingTripOriginFullVOToEntity in interface FishingTripOriginDao
Overrides:
remoteFishingTripOriginFullVOToEntity in class FishingTripOriginDaoBase
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginFullVOToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginFullVO, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

toRemoteFishingTripOriginNaturalId

public void toRemoteFishingTripOriginNaturalId(FishingTripOrigin source,
                                               RemoteFishingTripOriginNaturalId target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteFishingTripOriginNaturalId(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toRemoteFishingTripOriginNaturalId in interface FishingTripOriginDao
Overrides:
toRemoteFishingTripOriginNaturalId in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId)

toRemoteFishingTripOriginNaturalId

public RemoteFishingTripOriginNaturalId toRemoteFishingTripOriginNaturalId(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type RemoteFishingTripOriginNaturalId.

Specified by:
toRemoteFishingTripOriginNaturalId in interface FishingTripOriginDao
Overrides:
toRemoteFishingTripOriginNaturalId in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toRemoteFishingTripOriginNaturalId(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

remoteFishingTripOriginNaturalIdToEntity

public FishingTripOrigin remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId remoteFishingTripOriginNaturalId)
Description copied from interface: FishingTripOriginDao
Converts an instance of type RemoteFishingTripOriginNaturalId to this DAO's entity.

See Also:
FishingTripOriginDao.remoteFishingTripOriginNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId)

remoteFishingTripOriginNaturalIdToEntity

public void remoteFishingTripOriginNaturalIdToEntity(RemoteFishingTripOriginNaturalId source,
                                                     FishingTripOrigin target,
                                                     boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of RemoteFishingTripOriginNaturalId to the specified entity.

Specified by:
remoteFishingTripOriginNaturalIdToEntity in interface FishingTripOriginDao
Overrides:
remoteFishingTripOriginNaturalIdToEntity in class FishingTripOriginDaoBase
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao#remoteFishingTripOriginNaturalIdToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.vo.RemoteFishingTripOriginNaturalId, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

toClusterFishingTripOrigin

public void toClusterFishingTripOrigin(FishingTripOrigin source,
                                       ClusterFishingTripOrigin target)
Description copied from interface: FishingTripOriginDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterFishingTripOrigin(), but it does not handle any attributes in the target value object that are "read-only" (as those do not have setter methods exposed).

Specified by:
toClusterFishingTripOrigin in interface FishingTripOriginDao
Overrides:
toClusterFishingTripOrigin in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

toClusterFishingTripOrigin

public ClusterFishingTripOrigin toClusterFishingTripOrigin(FishingTripOrigin entity)
Description copied from interface: FishingTripOriginDao
Converts this DAO's entity to an object of type ClusterFishingTripOrigin.

Specified by:
toClusterFishingTripOrigin in interface FishingTripOriginDao
Overrides:
toClusterFishingTripOrigin in class FishingTripOriginDaoBase
See Also:
FishingTripOriginDao.toClusterFishingTripOrigin(fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)

clusterFishingTripOriginToEntity

public FishingTripOrigin clusterFishingTripOriginToEntity(ClusterFishingTripOrigin clusterFishingTripOrigin)
Description copied from interface: FishingTripOriginDao
Converts an instance of type ClusterFishingTripOrigin to this DAO's entity.

See Also:
FishingTripOriginDao.clusterFishingTripOriginToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin)

clusterFishingTripOriginToEntity

public void clusterFishingTripOriginToEntity(ClusterFishingTripOrigin source,
                                             FishingTripOrigin target,
                                             boolean copyIfNull)
Description copied from interface: FishingTripOriginDao
Copies the fields of ClusterFishingTripOrigin to the specified entity.

Specified by:
clusterFishingTripOriginToEntity in interface FishingTripOriginDao
Overrides:
clusterFishingTripOriginToEntity in class FishingTripOriginDaoBase
copyIfNull - If FALSE, the value object's field will not be copied to the entity if the value is NULL. If TRUE, it will be copied regardless of its value.
See Also:
fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOriginDao#clusterFishingTripOriginToEntity(fr.ifremer.allegro.data.survey.fishingTrip.generic.cluster.ClusterFishingTripOrigin, fr.ifremer.allegro.data.survey.fishingTrip.FishingTripOrigin)


Copyright © 2008-2010 IFREMER. All Rights Reserved.