fr.ifremer.allegro.referential.vessel
Class VesselDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.vessel.VesselDaoBase
          extended by fr.ifremer.allegro.referential.vessel.VesselDaoImpl
All Implemented Interfaces:
VesselDao
Direct Known Subclasses:
FishingVesselDaoBase, PleasureBoatDaoBase, ScientificResearchVesselDaoBase, ShellfishGathererDaoBase, VesselGroupDaoBase

public class VesselDaoImpl
extends VesselDaoBase

See Also:
Vessel

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.vessel.VesselDao
TRANSFORM_CLUSTERVESSEL, TRANSFORM_NONE, TRANSFORM_REMOTEVESSELFULLVO, TRANSFORM_REMOTEVESSELNATURALID
 
Constructor Summary
VesselDaoImpl()
           
 
Method Summary
 Vessel clusterVesselToEntity(ClusterVessel clusterVessel)
          Converts an instance of type ClusterVessel to this DAO's entity.
 void clusterVesselToEntity(ClusterVessel source, Vessel target, boolean copyIfNull)
          Copies the fields of ClusterVessel to the specified entity.
 Vessel remoteVesselFullVOToEntity(RemoteVesselFullVO remoteVesselFullVO)
          Converts an instance of type RemoteVesselFullVO to this DAO's entity.
 void remoteVesselFullVOToEntity(RemoteVesselFullVO source, Vessel target, boolean copyIfNull)
          Copies the fields of RemoteVesselFullVO to the specified entity.
 Vessel remoteVesselNaturalIdToEntity(RemoteVesselNaturalId remoteVesselNaturalId)
          Converts an instance of type RemoteVesselNaturalId to this DAO's entity.
 void remoteVesselNaturalIdToEntity(RemoteVesselNaturalId source, Vessel target, boolean copyIfNull)
          Copies the fields of RemoteVesselNaturalId to the specified entity.
 ClusterVessel toClusterVessel(Vessel entity)
          Converts this DAO's entity to an object of type ClusterVessel.
 void toClusterVessel(Vessel source, ClusterVessel target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselFullVO toRemoteVesselFullVO(Vessel entity)
          Converts this DAO's entity to an object of type RemoteVesselFullVO.
 void toRemoteVesselFullVO(Vessel source, RemoteVesselFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteVesselNaturalId toRemoteVesselNaturalId(Vessel entity)
          Converts this DAO's entity to an object of type RemoteVesselNaturalId.
 void toRemoteVesselNaturalId(Vessel source, RemoteVesselNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.vessel.VesselDaoBase
clusterVesselToEntityCollection, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByCode, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByNaturalId, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByStatus, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, findVesselByVesselType, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVessel, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getAllVesselSinceDateSynchro, getPrincipal, getRightToProduceDao, getStatusDao, getVesselOwnerPeriodDao, getVesselRegistrationPeriodDao, getVesselTypeDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteVesselFullVOToEntityCollection, remoteVesselNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setRightToProduceDao, setStatusDao, setVesselOwnerPeriodDao, setVesselRegistrationPeriodDao, setVesselTypeDao, toClusterVessel, toClusterVesselArray, toClusterVesselCollection, toEntity, toRemoteVesselFullVO, toRemoteVesselFullVOArray, toRemoteVesselFullVOCollection, toRemoteVesselNaturalId, toRemoteVesselNaturalIdArray, toRemoteVesselNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VesselDaoImpl

public VesselDaoImpl()
Method Detail

toRemoteVesselFullVO

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

toRemoteVesselFullVO

public RemoteVesselFullVO toRemoteVesselFullVO(Vessel entity)
Description copied from interface: VesselDao
Converts this DAO's entity to an object of type RemoteVesselFullVO.

Specified by:
toRemoteVesselFullVO in interface VesselDao
Overrides:
toRemoteVesselFullVO in class VesselDaoBase
See Also:
VesselDao.toRemoteVesselFullVO(fr.ifremer.allegro.referential.vessel.Vessel)

remoteVesselFullVOToEntity

public Vessel remoteVesselFullVOToEntity(RemoteVesselFullVO remoteVesselFullVO)
Description copied from interface: VesselDao
Converts an instance of type RemoteVesselFullVO to this DAO's entity.

See Also:
VesselDao.remoteVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO)

remoteVesselFullVOToEntity

public void remoteVesselFullVOToEntity(RemoteVesselFullVO source,
                                       Vessel target,
                                       boolean copyIfNull)
Description copied from interface: VesselDao
Copies the fields of RemoteVesselFullVO to the specified entity.

Specified by:
remoteVesselFullVOToEntity in interface VesselDao
Overrides:
remoteVesselFullVOToEntity in class VesselDaoBase
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.VesselDao#remoteVesselFullVOToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselFullVO, fr.ifremer.allegro.referential.vessel.Vessel)

toRemoteVesselNaturalId

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

toRemoteVesselNaturalId

public RemoteVesselNaturalId toRemoteVesselNaturalId(Vessel entity)
Description copied from interface: VesselDao
Converts this DAO's entity to an object of type RemoteVesselNaturalId.

Specified by:
toRemoteVesselNaturalId in interface VesselDao
Overrides:
toRemoteVesselNaturalId in class VesselDaoBase
See Also:
VesselDao.toRemoteVesselNaturalId(fr.ifremer.allegro.referential.vessel.Vessel)

remoteVesselNaturalIdToEntity

public Vessel remoteVesselNaturalIdToEntity(RemoteVesselNaturalId remoteVesselNaturalId)
Description copied from interface: VesselDao
Converts an instance of type RemoteVesselNaturalId to this DAO's entity.

See Also:
VesselDao.remoteVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselNaturalId)

remoteVesselNaturalIdToEntity

public void remoteVesselNaturalIdToEntity(RemoteVesselNaturalId source,
                                          Vessel target,
                                          boolean copyIfNull)
Description copied from interface: VesselDao
Copies the fields of RemoteVesselNaturalId to the specified entity.

Specified by:
remoteVesselNaturalIdToEntity in interface VesselDao
Overrides:
remoteVesselNaturalIdToEntity in class VesselDaoBase
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.VesselDao#remoteVesselNaturalIdToEntity(fr.ifremer.allegro.referential.vessel.generic.vo.RemoteVesselNaturalId, fr.ifremer.allegro.referential.vessel.Vessel)

toClusterVessel

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

toClusterVessel

public ClusterVessel toClusterVessel(Vessel entity)
Description copied from interface: VesselDao
Converts this DAO's entity to an object of type ClusterVessel.

Specified by:
toClusterVessel in interface VesselDao
Overrides:
toClusterVessel in class VesselDaoBase
See Also:
VesselDao.toClusterVessel(fr.ifremer.allegro.referential.vessel.Vessel)

clusterVesselToEntity

public Vessel clusterVesselToEntity(ClusterVessel clusterVessel)
Description copied from interface: VesselDao
Converts an instance of type ClusterVessel to this DAO's entity.

See Also:
VesselDao.clusterVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVessel)

clusterVesselToEntity

public void clusterVesselToEntity(ClusterVessel source,
                                  Vessel target,
                                  boolean copyIfNull)
Description copied from interface: VesselDao
Copies the fields of ClusterVessel to the specified entity.

Specified by:
clusterVesselToEntity in interface VesselDao
Overrides:
clusterVesselToEntity in class VesselDaoBase
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.VesselDao#clusterVesselToEntity(fr.ifremer.allegro.referential.vessel.generic.cluster.ClusterVessel, fr.ifremer.allegro.referential.vessel.Vessel)


Copyright © 2008-2010 IFREMER. All Rights Reserved.