fr.ifremer.allegro.referential.vessel
Class VesselRegistrationPeriodDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriodDaoBase
          extended by fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriodDaoImpl
All Implemented Interfaces:
VesselRegistrationPeriodDao

public class VesselRegistrationPeriodDaoImpl
extends VesselRegistrationPeriodDaoBase

See Also:
VesselRegistrationPeriod

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriodDao
TRANSFORM_CLUSTERVESSELREGISTRATIONPERIOD, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELREGISTRATIONPERIODFULLVO, TRANSFORM_REMOTEVESSELREGISTRATIONPERIODNATURALID
 
Constructor Summary
VesselRegistrationPeriodDaoImpl()
           
 
Method Summary
 VesselRegistrationPeriod clusterVesselRegistrationPeriodToEntity(ClusterVesselRegistrationPeriod clusterVesselRegistrationPeriod)
          Converts an instance of type ClusterVesselRegistrationPeriod to this DAO's entity.
 void clusterVesselRegistrationPeriodToEntity(ClusterVesselRegistrationPeriod source, VesselRegistrationPeriod target, boolean copyIfNull)
          Copies the fields of ClusterVesselRegistrationPeriod to the specified entity.
protected  VesselRegistrationPeriod handleCreateFromClusterVesselRegistrationPeriod(ClusterVesselRegistrationPeriod clusterVesselRegistrationPeriod)
          Performs the core logic for VesselRegistrationPeriodDaoBase.createFromClusterVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod)
 VesselRegistrationPeriod remoteVesselRegistrationPeriodFullVOToEntity(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVO)
          Converts an instance of type RemoteVesselRegistrationPeriodFullVO to this DAO's entity.
 void remoteVesselRegistrationPeriodFullVOToEntity(RemoteVesselRegistrationPeriodFullVO source, VesselRegistrationPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselRegistrationPeriodFullVO to the specified entity.
 VesselRegistrationPeriod remoteVesselRegistrationPeriodNaturalIdToEntity(RemoteVesselRegistrationPeriodNaturalId remoteVesselRegistrationPeriodNaturalId)
          Converts an instance of type RemoteVesselRegistrationPeriodNaturalId to this DAO's entity.
 void remoteVesselRegistrationPeriodNaturalIdToEntity(RemoteVesselRegistrationPeriodNaturalId source, VesselRegistrationPeriod target, boolean copyIfNull)
          Copies the fields of RemoteVesselRegistrationPeriodNaturalId to the specified entity.
 ClusterVesselRegistrationPeriod toClusterVesselRegistrationPeriod(VesselRegistrationPeriod entity)
          Converts this DAO's entity to an object of type ClusterVesselRegistrationPeriod.
 void toClusterVesselRegistrationPeriod(VesselRegistrationPeriod source, ClusterVesselRegistrationPeriod target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselRegistrationPeriodFullVO toRemoteVesselRegistrationPeriodFullVO(VesselRegistrationPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselRegistrationPeriodFullVO.
 void toRemoteVesselRegistrationPeriodFullVO(VesselRegistrationPeriod source, RemoteVesselRegistrationPeriodFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselRegistrationPeriodNaturalId toRemoteVesselRegistrationPeriodNaturalId(VesselRegistrationPeriod entity)
          Converts this DAO's entity to an object of type RemoteVesselRegistrationPeriodNaturalId.
 void toRemoteVesselRegistrationPeriodNaturalId(VesselRegistrationPeriod source, RemoteVesselRegistrationPeriodNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriodDaoBase
clusterVesselRegistrationPeriodToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterVesselRegistrationPeriod, findVesselRegistrationPeriodByIdentifiers, findVesselRegistrationPeriodByIdentifiers, findVesselRegistrationPeriodByIdentifiers, findVesselRegistrationPeriodByIdentifiers, findVesselRegistrationPeriodByNaturalId, findVesselRegistrationPeriodByNaturalId, findVesselRegistrationPeriodByNaturalId, findVesselRegistrationPeriodByNaturalId, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByRegistrationLocation, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByStartDateTime, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, findVesselRegistrationPeriodByVessel, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getAllVesselRegistrationPeriod, getLocationDao, getPrincipal, getVesselDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselRegistrationPeriodFullVOToEntityCollection, remoteVesselRegistrationPeriodNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, setVesselDao, toClusterVesselRegistrationPeriod, toClusterVesselRegistrationPeriodArray, toClusterVesselRegistrationPeriodCollection, toEntity, toRemoteVesselRegistrationPeriodFullVO, toRemoteVesselRegistrationPeriodFullVOArray, toRemoteVesselRegistrationPeriodFullVOCollection, toRemoteVesselRegistrationPeriodNaturalId, toRemoteVesselRegistrationPeriodNaturalIdArray, toRemoteVesselRegistrationPeriodNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VesselRegistrationPeriodDaoImpl

public VesselRegistrationPeriodDaoImpl()
Method Detail

handleCreateFromClusterVesselRegistrationPeriod

protected VesselRegistrationPeriod handleCreateFromClusterVesselRegistrationPeriod(ClusterVesselRegistrationPeriod clusterVesselRegistrationPeriod)
Description copied from class: VesselRegistrationPeriodDaoBase
Performs the core logic for VesselRegistrationPeriodDaoBase.createFromClusterVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod)

Specified by:
handleCreateFromClusterVesselRegistrationPeriod in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.createFromClusterVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod)

toRemoteVesselRegistrationPeriodFullVO

public void toRemoteVesselRegistrationPeriodFullVO(VesselRegistrationPeriod source,
                                                   RemoteVesselRegistrationPeriodFullVO target)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselRegistrationPeriodFullVO(), 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:
toRemoteVesselRegistrationPeriodFullVO in interface VesselRegistrationPeriodDao
Overrides:
toRemoteVesselRegistrationPeriodFullVO in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toRemoteVesselRegistrationPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

toRemoteVesselRegistrationPeriodFullVO

public RemoteVesselRegistrationPeriodFullVO toRemoteVesselRegistrationPeriodFullVO(VesselRegistrationPeriod entity)
Description copied from interface: VesselRegistrationPeriodDao
Converts this DAO's entity to an object of type RemoteVesselRegistrationPeriodFullVO.

Specified by:
toRemoteVesselRegistrationPeriodFullVO in interface VesselRegistrationPeriodDao
Overrides:
toRemoteVesselRegistrationPeriodFullVO in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toRemoteVesselRegistrationPeriodFullVO(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)

remoteVesselRegistrationPeriodFullVOToEntity

public VesselRegistrationPeriod remoteVesselRegistrationPeriodFullVOToEntity(RemoteVesselRegistrationPeriodFullVO remoteVesselRegistrationPeriodFullVO)
Description copied from interface: VesselRegistrationPeriodDao
Converts an instance of type RemoteVesselRegistrationPeriodFullVO to this DAO's entity.

See Also:
VesselRegistrationPeriodDao.remoteVesselRegistrationPeriodFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO)

remoteVesselRegistrationPeriodFullVOToEntity

public void remoteVesselRegistrationPeriodFullVOToEntity(RemoteVesselRegistrationPeriodFullVO source,
                                                         VesselRegistrationPeriod target,
                                                         boolean copyIfNull)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of RemoteVesselRegistrationPeriodFullVO to the specified entity.

Specified by:
remoteVesselRegistrationPeriodFullVOToEntity in interface VesselRegistrationPeriodDao
Overrides:
remoteVesselRegistrationPeriodFullVOToEntity in class VesselRegistrationPeriodDaoBase
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.referential.vessel.VesselRegistrationPeriodDao#remoteVesselRegistrationPeriodFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodFullVO, fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)

toRemoteVesselRegistrationPeriodNaturalId

public void toRemoteVesselRegistrationPeriodNaturalId(VesselRegistrationPeriod source,
                                                      RemoteVesselRegistrationPeriodNaturalId target)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteVesselRegistrationPeriodNaturalId(), 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:
toRemoteVesselRegistrationPeriodNaturalId in interface VesselRegistrationPeriodDao
Overrides:
toRemoteVesselRegistrationPeriodNaturalId in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toRemoteVesselRegistrationPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod, fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId)

toRemoteVesselRegistrationPeriodNaturalId

public RemoteVesselRegistrationPeriodNaturalId toRemoteVesselRegistrationPeriodNaturalId(VesselRegistrationPeriod entity)
Description copied from interface: VesselRegistrationPeriodDao
Converts this DAO's entity to an object of type RemoteVesselRegistrationPeriodNaturalId.

Specified by:
toRemoteVesselRegistrationPeriodNaturalId in interface VesselRegistrationPeriodDao
Overrides:
toRemoteVesselRegistrationPeriodNaturalId in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toRemoteVesselRegistrationPeriodNaturalId(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)

remoteVesselRegistrationPeriodNaturalIdToEntity

public VesselRegistrationPeriod remoteVesselRegistrationPeriodNaturalIdToEntity(RemoteVesselRegistrationPeriodNaturalId remoteVesselRegistrationPeriodNaturalId)
Description copied from interface: VesselRegistrationPeriodDao
Converts an instance of type RemoteVesselRegistrationPeriodNaturalId to this DAO's entity.

See Also:
VesselRegistrationPeriodDao.remoteVesselRegistrationPeriodNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId)

remoteVesselRegistrationPeriodNaturalIdToEntity

public void remoteVesselRegistrationPeriodNaturalIdToEntity(RemoteVesselRegistrationPeriodNaturalId source,
                                                            VesselRegistrationPeriod target,
                                                            boolean copyIfNull)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of RemoteVesselRegistrationPeriodNaturalId to the specified entity.

Specified by:
remoteVesselRegistrationPeriodNaturalIdToEntity in interface VesselRegistrationPeriodDao
Overrides:
remoteVesselRegistrationPeriodNaturalIdToEntity in class VesselRegistrationPeriodDaoBase
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.referential.vessel.VesselRegistrationPeriodDao#remoteVesselRegistrationPeriodNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselRegistrationPeriodNaturalId, fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)

toClusterVesselRegistrationPeriod

public void toClusterVesselRegistrationPeriod(VesselRegistrationPeriod source,
                                              ClusterVesselRegistrationPeriod target)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterVesselRegistrationPeriod(), 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:
toClusterVesselRegistrationPeriod in interface VesselRegistrationPeriodDao
Overrides:
toClusterVesselRegistrationPeriod in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toClusterVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod, fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod)

toClusterVesselRegistrationPeriod

public ClusterVesselRegistrationPeriod toClusterVesselRegistrationPeriod(VesselRegistrationPeriod entity)
Description copied from interface: VesselRegistrationPeriodDao
Converts this DAO's entity to an object of type ClusterVesselRegistrationPeriod.

Specified by:
toClusterVesselRegistrationPeriod in interface VesselRegistrationPeriodDao
Overrides:
toClusterVesselRegistrationPeriod in class VesselRegistrationPeriodDaoBase
See Also:
VesselRegistrationPeriodDao.toClusterVesselRegistrationPeriod(fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)

clusterVesselRegistrationPeriodToEntity

public VesselRegistrationPeriod clusterVesselRegistrationPeriodToEntity(ClusterVesselRegistrationPeriod clusterVesselRegistrationPeriod)
Description copied from interface: VesselRegistrationPeriodDao
Converts an instance of type ClusterVesselRegistrationPeriod to this DAO's entity.

See Also:
VesselRegistrationPeriodDao.clusterVesselRegistrationPeriodToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod)

clusterVesselRegistrationPeriodToEntity

public void clusterVesselRegistrationPeriodToEntity(ClusterVesselRegistrationPeriod source,
                                                    VesselRegistrationPeriod target,
                                                    boolean copyIfNull)
Description copied from interface: VesselRegistrationPeriodDao
Copies the fields of ClusterVesselRegistrationPeriod to the specified entity.

Specified by:
clusterVesselRegistrationPeriodToEntity in interface VesselRegistrationPeriodDao
Overrides:
clusterVesselRegistrationPeriodToEntity in class VesselRegistrationPeriodDaoBase
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.referential.vessel.VesselRegistrationPeriodDao#clusterVesselRegistrationPeriodToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVesselRegistrationPeriod, fr.ifremer.allegro.referential.vessel.VesselRegistrationPeriod)


Copyright © 2008-2010 IFREMER. All Rights Reserved.