fr.ifremer.allegro.data.vessel.feature.use
Class UseFeaturesDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoBase
          extended by fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoImpl
All Implemented Interfaces:
UseFeaturesDao
Direct Known Subclasses:
GearUseFeaturesDaoBase, VesselUseFeaturesDaoBase

public class UseFeaturesDaoImpl
extends UseFeaturesDaoBase

See Also:
UseFeatures

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDao
TRANSFORM_CLUSTERUSEFEATURES, TRANSFORM_NONE, TRANSFORM_REMOTEUSEFEATURESFULLVO, TRANSFORM_REMOTEUSEFEATURESNATURALID
 
Constructor Summary
UseFeaturesDaoImpl()
           
 
Method Summary
 UseFeatures clusterUseFeaturesToEntity(ClusterUseFeatures clusterUseFeatures)
          Converts an instance of type ClusterUseFeatures to this DAO's entity.
 void clusterUseFeaturesToEntity(ClusterUseFeatures source, UseFeatures target, boolean copyIfNull)
          Copies the fields of ClusterUseFeatures to the specified entity.
 UseFeatures remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO remoteUseFeaturesFullVO)
          Converts an instance of type RemoteUseFeaturesFullVO to this DAO's entity.
 void remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO source, UseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteUseFeaturesFullVO to the specified entity.
 UseFeatures remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId remoteUseFeaturesNaturalId)
          Converts an instance of type RemoteUseFeaturesNaturalId to this DAO's entity.
 void remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId source, UseFeatures target, boolean copyIfNull)
          Copies the fields of RemoteUseFeaturesNaturalId to the specified entity.
 ClusterUseFeatures toClusterUseFeatures(UseFeatures entity)
          Converts this DAO's entity to an object of type ClusterUseFeatures.
 void toClusterUseFeatures(UseFeatures source, ClusterUseFeatures target)
          Copies the fields of the specified entity to the target value object.
 RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(UseFeatures entity)
          Converts this DAO's entity to an object of type RemoteUseFeaturesFullVO.
 void toRemoteUseFeaturesFullVO(UseFeatures source, RemoteUseFeaturesFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(UseFeatures entity)
          Converts this DAO's entity to an object of type RemoteUseFeaturesNaturalId.
 void toRemoteUseFeaturesNaturalId(UseFeatures source, RemoteUseFeaturesNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.vessel.feature.use.UseFeaturesDaoBase
clusterUseFeaturesToEntityCollection, findUseFeaturesById, findUseFeaturesById, findUseFeaturesById, findUseFeaturesById, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByNaturalId, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByProgram, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByQualityFlag, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, findUseFeaturesByVessel, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeatures, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getAllUseFeaturesSinceDateSynchro, getPrincipal, getProgramDao, getQualityFlagDao, getVesselDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteUseFeaturesFullVOToEntityCollection, remoteUseFeaturesNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setProgramDao, setQualityFlagDao, setVesselDao, toClusterUseFeatures, toClusterUseFeaturesArray, toClusterUseFeaturesCollection, toEntity, toRemoteUseFeaturesFullVO, toRemoteUseFeaturesFullVOArray, toRemoteUseFeaturesFullVOCollection, toRemoteUseFeaturesNaturalId, toRemoteUseFeaturesNaturalIdArray, toRemoteUseFeaturesNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseFeaturesDaoImpl

public UseFeaturesDaoImpl()
Method Detail

toRemoteUseFeaturesFullVO

public void toRemoteUseFeaturesFullVO(UseFeatures source,
                                      RemoteUseFeaturesFullVO target)
Description copied from interface: UseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUseFeaturesFullVO(), 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:
toRemoteUseFeaturesFullVO in interface UseFeaturesDao
Overrides:
toRemoteUseFeaturesFullVO in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

toRemoteUseFeaturesFullVO

public RemoteUseFeaturesFullVO toRemoteUseFeaturesFullVO(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type RemoteUseFeaturesFullVO.

Specified by:
toRemoteUseFeaturesFullVO in interface UseFeaturesDao
Overrides:
toRemoteUseFeaturesFullVO in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toRemoteUseFeaturesFullVO(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesFullVOToEntity

public UseFeatures remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO remoteUseFeaturesFullVO)
Description copied from interface: UseFeaturesDao
Converts an instance of type RemoteUseFeaturesFullVO to this DAO's entity.

See Also:
UseFeaturesDao.remoteUseFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO)

remoteUseFeaturesFullVOToEntity

public void remoteUseFeaturesFullVOToEntity(RemoteUseFeaturesFullVO source,
                                            UseFeatures target,
                                            boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of RemoteUseFeaturesFullVO to the specified entity.

Specified by:
remoteUseFeaturesFullVOToEntity in interface UseFeaturesDao
Overrides:
remoteUseFeaturesFullVOToEntity in class UseFeaturesDaoBase
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.vessel.feature.use.UseFeaturesDao#remoteUseFeaturesFullVOToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesFullVO, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

toRemoteUseFeaturesNaturalId

public void toRemoteUseFeaturesNaturalId(UseFeatures source,
                                         RemoteUseFeaturesNaturalId target)
Description copied from interface: UseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteUseFeaturesNaturalId(), 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:
toRemoteUseFeaturesNaturalId in interface UseFeaturesDao
Overrides:
toRemoteUseFeaturesNaturalId in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId)

toRemoteUseFeaturesNaturalId

public RemoteUseFeaturesNaturalId toRemoteUseFeaturesNaturalId(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type RemoteUseFeaturesNaturalId.

Specified by:
toRemoteUseFeaturesNaturalId in interface UseFeaturesDao
Overrides:
toRemoteUseFeaturesNaturalId in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toRemoteUseFeaturesNaturalId(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

remoteUseFeaturesNaturalIdToEntity

public UseFeatures remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId remoteUseFeaturesNaturalId)
Description copied from interface: UseFeaturesDao
Converts an instance of type RemoteUseFeaturesNaturalId to this DAO's entity.

See Also:
UseFeaturesDao.remoteUseFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId)

remoteUseFeaturesNaturalIdToEntity

public void remoteUseFeaturesNaturalIdToEntity(RemoteUseFeaturesNaturalId source,
                                               UseFeatures target,
                                               boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of RemoteUseFeaturesNaturalId to the specified entity.

Specified by:
remoteUseFeaturesNaturalIdToEntity in interface UseFeaturesDao
Overrides:
remoteUseFeaturesNaturalIdToEntity in class UseFeaturesDaoBase
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.vessel.feature.use.UseFeaturesDao#remoteUseFeaturesNaturalIdToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.vo.RemoteUseFeaturesNaturalId, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

toClusterUseFeatures

public void toClusterUseFeatures(UseFeatures source,
                                 ClusterUseFeatures target)
Description copied from interface: UseFeaturesDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterUseFeatures(), 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:
toClusterUseFeatures in interface UseFeaturesDao
Overrides:
toClusterUseFeatures in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toClusterUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures, fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterUseFeatures)

toClusterUseFeatures

public ClusterUseFeatures toClusterUseFeatures(UseFeatures entity)
Description copied from interface: UseFeaturesDao
Converts this DAO's entity to an object of type ClusterUseFeatures.

Specified by:
toClusterUseFeatures in interface UseFeaturesDao
Overrides:
toClusterUseFeatures in class UseFeaturesDaoBase
See Also:
UseFeaturesDao.toClusterUseFeatures(fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)

clusterUseFeaturesToEntity

public UseFeatures clusterUseFeaturesToEntity(ClusterUseFeatures clusterUseFeatures)
Description copied from interface: UseFeaturesDao
Converts an instance of type ClusterUseFeatures to this DAO's entity.

See Also:
UseFeaturesDao.clusterUseFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterUseFeatures)

clusterUseFeaturesToEntity

public void clusterUseFeaturesToEntity(ClusterUseFeatures source,
                                       UseFeatures target,
                                       boolean copyIfNull)
Description copied from interface: UseFeaturesDao
Copies the fields of ClusterUseFeatures to the specified entity.

Specified by:
clusterUseFeaturesToEntity in interface UseFeaturesDao
Overrides:
clusterUseFeaturesToEntity in class UseFeaturesDaoBase
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.vessel.feature.use.UseFeaturesDao#clusterUseFeaturesToEntity(fr.ifremer.allegro.data.vessel.feature.use.generic.cluster.ClusterUseFeatures, fr.ifremer.allegro.data.vessel.feature.use.UseFeatures)


Copyright © 2008-2010 IFREMER. All Rights Reserved.