fr.ifremer.allegro.data.measure
Class GearUseMeasurementDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.data.measure.MeasurementDaoBase
          extended by fr.ifremer.allegro.data.measure.MeasurementDaoImpl
              extended by fr.ifremer.allegro.data.measure.GearUseMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.GearUseMeasurementDaoImpl
All Implemented Interfaces:
GearUseMeasurementDao, MeasurementDao

public class GearUseMeasurementDaoImpl
extends GearUseMeasurementDaoBase

See Also:
GearUseMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.GearUseMeasurementDao
TRANSFORM_CLUSTERGEARUSEMEASUREMENT, TRANSFORM_REMOTEGEARUSEMEASUREMENTFULLVO, TRANSFORM_REMOTEGEARUSEMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
GearUseMeasurementDaoImpl()
           
 
Method Summary
 GearUseMeasurement clusterGearUseMeasurementToEntity(ClusterGearUseMeasurement clusterGearUseMeasurement)
          Converts an instance of type ClusterGearUseMeasurement to this DAO's entity.
 void clusterGearUseMeasurementToEntity(ClusterGearUseMeasurement source, GearUseMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterGearUseMeasurement to the specified entity.
protected  GearUseMeasurement handleCreateFromClusterGearUseMeasurement(ClusterGearUseMeasurement clusterGearUseMeasurement)
          Performs the core logic for GearUseMeasurementDaoBase.createFromClusterGearUseMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement)
 GearUseMeasurement remoteGearUseMeasurementFullVOToEntity(RemoteGearUseMeasurementFullVO remoteGearUseMeasurementFullVO)
          Converts an instance of type RemoteGearUseMeasurementFullVO to this DAO's entity.
 void remoteGearUseMeasurementFullVOToEntity(RemoteGearUseMeasurementFullVO source, GearUseMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteGearUseMeasurementFullVO to the specified entity.
 GearUseMeasurement remoteGearUseMeasurementNaturalIdToEntity(RemoteGearUseMeasurementNaturalId remoteGearUseMeasurementNaturalId)
          Converts an instance of type RemoteGearUseMeasurementNaturalId to this DAO's entity.
 void remoteGearUseMeasurementNaturalIdToEntity(RemoteGearUseMeasurementNaturalId source, GearUseMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteGearUseMeasurementNaturalId to the specified entity.
 ClusterGearUseMeasurement toClusterGearUseMeasurement(GearUseMeasurement entity)
          Converts this DAO's entity to an object of type ClusterGearUseMeasurement.
 void toClusterGearUseMeasurement(GearUseMeasurement source, ClusterGearUseMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearUseMeasurementFullVO toRemoteGearUseMeasurementFullVO(GearUseMeasurement entity)
          Converts this DAO's entity to an object of type RemoteGearUseMeasurementFullVO.
 void toRemoteGearUseMeasurementFullVO(GearUseMeasurement source, RemoteGearUseMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteGearUseMeasurementNaturalId toRemoteGearUseMeasurementNaturalId(GearUseMeasurement entity)
          Converts this DAO's entity to an object of type RemoteGearUseMeasurementNaturalId.
 void toRemoteGearUseMeasurementNaturalId(GearUseMeasurement source, RemoteGearUseMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.GearUseMeasurementDaoBase
clusterGearUseMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterGearUseMeasurement, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAggregationLevel, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByAnalysisInstrument, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByDepartment, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementByGearUseFeatures, findGearUseMeasurementById, findGearUseMeasurementById, findGearUseMeasurementById, findGearUseMeasurementById, findGearUseMeasurementByNaturalId, findGearUseMeasurementByNaturalId, findGearUseMeasurementByNaturalId, findGearUseMeasurementByNaturalId, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByNumericalPrecision, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPmfm, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByPrecisionType, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualitativeValue, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findGearUseMeasurementByQualityFlag, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAggregationLevel, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByAnalysisInstrument, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementByDepartment, findMeasurementById, findMeasurementById, findMeasurementById, findMeasurementById, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNaturalId, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByNumericalPrecision, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPmfm, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByPrecisionType, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualitativeValue, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, findMeasurementByQualityFlag, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllGearUseMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getGearUseFeaturesDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteGearUseMeasurementFullVOToEntityCollection, remoteGearUseMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setGearUseFeaturesDao, toClusterGearUseMeasurement, toClusterGearUseMeasurementArray, toClusterGearUseMeasurementCollection, toEntity, toRemoteGearUseMeasurementFullVO, toRemoteGearUseMeasurementFullVOArray, toRemoteGearUseMeasurementFullVOCollection, toRemoteGearUseMeasurementNaturalId, toRemoteGearUseMeasurementNaturalIdArray, toRemoteGearUseMeasurementNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class fr.ifremer.allegro.data.measure.MeasurementDaoImpl
clusterMeasurementToEntity, clusterMeasurementToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntity, toClusterMeasurement, toClusterMeasurement, toRemoteMeasurementFullVO, toRemoteMeasurementFullVO, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalId
 
Methods inherited from class fr.ifremer.allegro.data.measure.MeasurementDaoBase
clusterMeasurementToEntityCollection, getAggregationLevelDao, getAnalysisInstrumentDao, getDepartmentDao, getNumericalPrecisionDao, getPmfmDao, getPrecisionTypeDao, getQualitativeValueDao, getQualityFlagDao, remoteMeasurementFullVOToEntityCollection, remoteMeasurementNaturalIdToEntityCollection, remove, setAggregationLevelDao, setAnalysisInstrumentDao, setDepartmentDao, setNumericalPrecisionDao, setPmfmDao, setPrecisionTypeDao, setQualitativeValueDao, setQualityFlagDao, toClusterMeasurement, toClusterMeasurementArray, toClusterMeasurementCollection, toRemoteMeasurementFullVO, toRemoteMeasurementFullVOArray, toRemoteMeasurementFullVOCollection, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalIdArray, toRemoteMeasurementNaturalIdCollection, transformEntity, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
clusterMeasurementToEntity, clusterMeasurementToEntity, clusterMeasurementToEntityCollection, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntity, remoteMeasurementFullVOToEntityCollection, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntity, remoteMeasurementNaturalIdToEntityCollection, remove, toClusterMeasurement, toClusterMeasurement, toClusterMeasurementArray, toClusterMeasurementCollection, toRemoteMeasurementFullVO, toRemoteMeasurementFullVO, toRemoteMeasurementFullVOArray, toRemoteMeasurementFullVOCollection, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalIdArray, toRemoteMeasurementNaturalIdCollection, update
 

Constructor Detail

GearUseMeasurementDaoImpl

public GearUseMeasurementDaoImpl()
Method Detail

handleCreateFromClusterGearUseMeasurement

protected GearUseMeasurement handleCreateFromClusterGearUseMeasurement(ClusterGearUseMeasurement clusterGearUseMeasurement)
Description copied from class: GearUseMeasurementDaoBase
Performs the core logic for GearUseMeasurementDaoBase.createFromClusterGearUseMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement)

Specified by:
handleCreateFromClusterGearUseMeasurement in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.createFromClusterGearUseMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement)

toRemoteGearUseMeasurementFullVO

public void toRemoteGearUseMeasurementFullVO(GearUseMeasurement source,
                                             RemoteGearUseMeasurementFullVO target)
Description copied from interface: GearUseMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearUseMeasurementFullVO(), 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:
toRemoteGearUseMeasurementFullVO in interface GearUseMeasurementDao
Overrides:
toRemoteGearUseMeasurementFullVO in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toRemoteGearUseMeasurementFullVO(fr.ifremer.allegro.data.measure.GearUseMeasurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementFullVO)

toRemoteGearUseMeasurementFullVO

public RemoteGearUseMeasurementFullVO toRemoteGearUseMeasurementFullVO(GearUseMeasurement entity)
Description copied from interface: GearUseMeasurementDao
Converts this DAO's entity to an object of type RemoteGearUseMeasurementFullVO.

Specified by:
toRemoteGearUseMeasurementFullVO in interface GearUseMeasurementDao
Overrides:
toRemoteGearUseMeasurementFullVO in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toRemoteGearUseMeasurementFullVO(fr.ifremer.allegro.data.measure.GearUseMeasurement)

remoteGearUseMeasurementFullVOToEntity

public GearUseMeasurement remoteGearUseMeasurementFullVOToEntity(RemoteGearUseMeasurementFullVO remoteGearUseMeasurementFullVO)
Description copied from interface: GearUseMeasurementDao
Converts an instance of type RemoteGearUseMeasurementFullVO to this DAO's entity.

See Also:
GearUseMeasurementDao.remoteGearUseMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementFullVO)

remoteGearUseMeasurementFullVOToEntity

public void remoteGearUseMeasurementFullVOToEntity(RemoteGearUseMeasurementFullVO source,
                                                   GearUseMeasurement target,
                                                   boolean copyIfNull)
Description copied from interface: GearUseMeasurementDao
Copies the fields of RemoteGearUseMeasurementFullVO to the specified entity.

Specified by:
remoteGearUseMeasurementFullVOToEntity in interface GearUseMeasurementDao
Overrides:
remoteGearUseMeasurementFullVOToEntity in class GearUseMeasurementDaoBase
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.measure.GearUseMeasurementDao#remoteGearUseMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementFullVO, fr.ifremer.allegro.data.measure.GearUseMeasurement)

toRemoteGearUseMeasurementNaturalId

public void toRemoteGearUseMeasurementNaturalId(GearUseMeasurement source,
                                                RemoteGearUseMeasurementNaturalId target)
Description copied from interface: GearUseMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteGearUseMeasurementNaturalId(), 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:
toRemoteGearUseMeasurementNaturalId in interface GearUseMeasurementDao
Overrides:
toRemoteGearUseMeasurementNaturalId in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toRemoteGearUseMeasurementNaturalId(fr.ifremer.allegro.data.measure.GearUseMeasurement, fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementNaturalId)

toRemoteGearUseMeasurementNaturalId

public RemoteGearUseMeasurementNaturalId toRemoteGearUseMeasurementNaturalId(GearUseMeasurement entity)
Description copied from interface: GearUseMeasurementDao
Converts this DAO's entity to an object of type RemoteGearUseMeasurementNaturalId.

Specified by:
toRemoteGearUseMeasurementNaturalId in interface GearUseMeasurementDao
Overrides:
toRemoteGearUseMeasurementNaturalId in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toRemoteGearUseMeasurementNaturalId(fr.ifremer.allegro.data.measure.GearUseMeasurement)

remoteGearUseMeasurementNaturalIdToEntity

public GearUseMeasurement remoteGearUseMeasurementNaturalIdToEntity(RemoteGearUseMeasurementNaturalId remoteGearUseMeasurementNaturalId)
Description copied from interface: GearUseMeasurementDao
Converts an instance of type RemoteGearUseMeasurementNaturalId to this DAO's entity.

See Also:
GearUseMeasurementDao.remoteGearUseMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementNaturalId)

remoteGearUseMeasurementNaturalIdToEntity

public void remoteGearUseMeasurementNaturalIdToEntity(RemoteGearUseMeasurementNaturalId source,
                                                      GearUseMeasurement target,
                                                      boolean copyIfNull)
Description copied from interface: GearUseMeasurementDao
Copies the fields of RemoteGearUseMeasurementNaturalId to the specified entity.

Specified by:
remoteGearUseMeasurementNaturalIdToEntity in interface GearUseMeasurementDao
Overrides:
remoteGearUseMeasurementNaturalIdToEntity in class GearUseMeasurementDaoBase
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.measure.GearUseMeasurementDao#remoteGearUseMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteGearUseMeasurementNaturalId, fr.ifremer.allegro.data.measure.GearUseMeasurement)

toClusterGearUseMeasurement

public void toClusterGearUseMeasurement(GearUseMeasurement source,
                                        ClusterGearUseMeasurement target)
Description copied from interface: GearUseMeasurementDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterGearUseMeasurement(), 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:
toClusterGearUseMeasurement in interface GearUseMeasurementDao
Overrides:
toClusterGearUseMeasurement in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toClusterGearUseMeasurement(fr.ifremer.allegro.data.measure.GearUseMeasurement, fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement)

toClusterGearUseMeasurement

public ClusterGearUseMeasurement toClusterGearUseMeasurement(GearUseMeasurement entity)
Description copied from interface: GearUseMeasurementDao
Converts this DAO's entity to an object of type ClusterGearUseMeasurement.

Specified by:
toClusterGearUseMeasurement in interface GearUseMeasurementDao
Overrides:
toClusterGearUseMeasurement in class GearUseMeasurementDaoBase
See Also:
GearUseMeasurementDao.toClusterGearUseMeasurement(fr.ifremer.allegro.data.measure.GearUseMeasurement)

clusterGearUseMeasurementToEntity

public GearUseMeasurement clusterGearUseMeasurementToEntity(ClusterGearUseMeasurement clusterGearUseMeasurement)
Description copied from interface: GearUseMeasurementDao
Converts an instance of type ClusterGearUseMeasurement to this DAO's entity.

See Also:
GearUseMeasurementDao.clusterGearUseMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement)

clusterGearUseMeasurementToEntity

public void clusterGearUseMeasurementToEntity(ClusterGearUseMeasurement source,
                                              GearUseMeasurement target,
                                              boolean copyIfNull)
Description copied from interface: GearUseMeasurementDao
Copies the fields of ClusterGearUseMeasurement to the specified entity.

Specified by:
clusterGearUseMeasurementToEntity in interface GearUseMeasurementDao
Overrides:
clusterGearUseMeasurementToEntity in class GearUseMeasurementDaoBase
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.measure.GearUseMeasurementDao#clusterGearUseMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterGearUseMeasurement, fr.ifremer.allegro.data.measure.GearUseMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.