fr.ifremer.allegro.data.measure
Class SampleMeasurementDaoImpl

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.SampleMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.SampleMeasurementDaoImpl
All Implemented Interfaces:
MeasurementDao, SampleMeasurementDao

public class SampleMeasurementDaoImpl
extends SampleMeasurementDaoBase

See Also:
SampleMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.SampleMeasurementDao
TRANSFORM_CLUSTERSAMPLEMEASUREMENT, TRANSFORM_REMOTESAMPLEMEASUREMENTFULLVO, TRANSFORM_REMOTESAMPLEMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
SampleMeasurementDaoImpl()
           
 
Method Summary
 SampleMeasurement clusterSampleMeasurementToEntity(ClusterSampleMeasurement clusterSampleMeasurement)
          Converts an instance of type ClusterSampleMeasurement to this DAO's entity.
 void clusterSampleMeasurementToEntity(ClusterSampleMeasurement source, SampleMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterSampleMeasurement to the specified entity.
protected  SampleMeasurement handleCreateFromClusterSampleMeasurement(ClusterSampleMeasurement clusterSampleMeasurement)
          Performs the core logic for SampleMeasurementDaoBase.createFromClusterSampleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSampleMeasurement)
 SampleMeasurement remoteSampleMeasurementFullVOToEntity(RemoteSampleMeasurementFullVO remoteSampleMeasurementFullVO)
          Converts an instance of type RemoteSampleMeasurementFullVO to this DAO's entity.
 void remoteSampleMeasurementFullVOToEntity(RemoteSampleMeasurementFullVO source, SampleMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSampleMeasurementFullVO to the specified entity.
 SampleMeasurement remoteSampleMeasurementNaturalIdToEntity(RemoteSampleMeasurementNaturalId remoteSampleMeasurementNaturalId)
          Converts an instance of type RemoteSampleMeasurementNaturalId to this DAO's entity.
 void remoteSampleMeasurementNaturalIdToEntity(RemoteSampleMeasurementNaturalId source, SampleMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSampleMeasurementNaturalId to the specified entity.
 ClusterSampleMeasurement toClusterSampleMeasurement(SampleMeasurement entity)
          Converts this DAO's entity to an object of type ClusterSampleMeasurement.
 void toClusterSampleMeasurement(SampleMeasurement source, ClusterSampleMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteSampleMeasurementFullVO toRemoteSampleMeasurementFullVO(SampleMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSampleMeasurementFullVO.
 void toRemoteSampleMeasurementFullVO(SampleMeasurement source, RemoteSampleMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSampleMeasurementNaturalId toRemoteSampleMeasurementNaturalId(SampleMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSampleMeasurementNaturalId.
 void toRemoteSampleMeasurementNaturalId(SampleMeasurement source, RemoteSampleMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.SampleMeasurementDaoBase
clusterSampleMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterSampleMeasurement, 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, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAggregationLevel, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByAnalysisInstrument, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementByDepartment, findSampleMeasurementById, findSampleMeasurementById, findSampleMeasurementById, findSampleMeasurementById, findSampleMeasurementByNaturalId, findSampleMeasurementByNaturalId, findSampleMeasurementByNaturalId, findSampleMeasurementByNaturalId, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByNumericalPrecision, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPmfm, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByPrecisionType, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualitativeValue, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementByQualityFlag, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, findSampleMeasurementBySample, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getAllSampleMeasurement, getPrincipal, getSampleDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSampleMeasurementFullVOToEntityCollection, remoteSampleMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setSampleDao, toClusterSampleMeasurement, toClusterSampleMeasurementArray, toClusterSampleMeasurementCollection, toEntity, toRemoteSampleMeasurementFullVO, toRemoteSampleMeasurementFullVOArray, toRemoteSampleMeasurementFullVOCollection, toRemoteSampleMeasurementNaturalId, toRemoteSampleMeasurementNaturalIdArray, toRemoteSampleMeasurementNaturalIdCollection, 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

SampleMeasurementDaoImpl

public SampleMeasurementDaoImpl()
Method Detail

handleCreateFromClusterSampleMeasurement

protected SampleMeasurement handleCreateFromClusterSampleMeasurement(ClusterSampleMeasurement clusterSampleMeasurement)
Description copied from class: SampleMeasurementDaoBase
Performs the core logic for SampleMeasurementDaoBase.createFromClusterSampleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSampleMeasurement)

Specified by:
handleCreateFromClusterSampleMeasurement in class SampleMeasurementDaoBase
See Also:
SampleMeasurementDao.createFromClusterSampleMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSampleMeasurement)

toRemoteSampleMeasurementFullVO

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

toRemoteSampleMeasurementFullVO

public RemoteSampleMeasurementFullVO toRemoteSampleMeasurementFullVO(SampleMeasurement entity)
Description copied from interface: SampleMeasurementDao
Converts this DAO's entity to an object of type RemoteSampleMeasurementFullVO.

Specified by:
toRemoteSampleMeasurementFullVO in interface SampleMeasurementDao
Overrides:
toRemoteSampleMeasurementFullVO in class SampleMeasurementDaoBase
See Also:
SampleMeasurementDao.toRemoteSampleMeasurementFullVO(fr.ifremer.allegro.data.measure.SampleMeasurement)

remoteSampleMeasurementFullVOToEntity

public SampleMeasurement remoteSampleMeasurementFullVOToEntity(RemoteSampleMeasurementFullVO remoteSampleMeasurementFullVO)
Description copied from interface: SampleMeasurementDao
Converts an instance of type RemoteSampleMeasurementFullVO to this DAO's entity.

See Also:
SampleMeasurementDao.remoteSampleMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSampleMeasurementFullVO)

remoteSampleMeasurementFullVOToEntity

public void remoteSampleMeasurementFullVOToEntity(RemoteSampleMeasurementFullVO source,
                                                  SampleMeasurement target,
                                                  boolean copyIfNull)
Description copied from interface: SampleMeasurementDao
Copies the fields of RemoteSampleMeasurementFullVO to the specified entity.

Specified by:
remoteSampleMeasurementFullVOToEntity in interface SampleMeasurementDao
Overrides:
remoteSampleMeasurementFullVOToEntity in class SampleMeasurementDaoBase
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.SampleMeasurementDao#remoteSampleMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSampleMeasurementFullVO, fr.ifremer.allegro.data.measure.SampleMeasurement)

toRemoteSampleMeasurementNaturalId

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

toRemoteSampleMeasurementNaturalId

public RemoteSampleMeasurementNaturalId toRemoteSampleMeasurementNaturalId(SampleMeasurement entity)
Description copied from interface: SampleMeasurementDao
Converts this DAO's entity to an object of type RemoteSampleMeasurementNaturalId.

Specified by:
toRemoteSampleMeasurementNaturalId in interface SampleMeasurementDao
Overrides:
toRemoteSampleMeasurementNaturalId in class SampleMeasurementDaoBase
See Also:
SampleMeasurementDao.toRemoteSampleMeasurementNaturalId(fr.ifremer.allegro.data.measure.SampleMeasurement)

remoteSampleMeasurementNaturalIdToEntity

public SampleMeasurement remoteSampleMeasurementNaturalIdToEntity(RemoteSampleMeasurementNaturalId remoteSampleMeasurementNaturalId)
Description copied from interface: SampleMeasurementDao
Converts an instance of type RemoteSampleMeasurementNaturalId to this DAO's entity.

See Also:
SampleMeasurementDao.remoteSampleMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSampleMeasurementNaturalId)

remoteSampleMeasurementNaturalIdToEntity

public void remoteSampleMeasurementNaturalIdToEntity(RemoteSampleMeasurementNaturalId source,
                                                     SampleMeasurement target,
                                                     boolean copyIfNull)
Description copied from interface: SampleMeasurementDao
Copies the fields of RemoteSampleMeasurementNaturalId to the specified entity.

Specified by:
remoteSampleMeasurementNaturalIdToEntity in interface SampleMeasurementDao
Overrides:
remoteSampleMeasurementNaturalIdToEntity in class SampleMeasurementDaoBase
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.SampleMeasurementDao#remoteSampleMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSampleMeasurementNaturalId, fr.ifremer.allegro.data.measure.SampleMeasurement)

toClusterSampleMeasurement

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

toClusterSampleMeasurement

public ClusterSampleMeasurement toClusterSampleMeasurement(SampleMeasurement entity)
Description copied from interface: SampleMeasurementDao
Converts this DAO's entity to an object of type ClusterSampleMeasurement.

Specified by:
toClusterSampleMeasurement in interface SampleMeasurementDao
Overrides:
toClusterSampleMeasurement in class SampleMeasurementDaoBase
See Also:
SampleMeasurementDao.toClusterSampleMeasurement(fr.ifremer.allegro.data.measure.SampleMeasurement)

clusterSampleMeasurementToEntity

public SampleMeasurement clusterSampleMeasurementToEntity(ClusterSampleMeasurement clusterSampleMeasurement)
Description copied from interface: SampleMeasurementDao
Converts an instance of type ClusterSampleMeasurement to this DAO's entity.

See Also:
SampleMeasurementDao.clusterSampleMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSampleMeasurement)

clusterSampleMeasurementToEntity

public void clusterSampleMeasurementToEntity(ClusterSampleMeasurement source,
                                             SampleMeasurement target,
                                             boolean copyIfNull)
Description copied from interface: SampleMeasurementDao
Copies the fields of ClusterSampleMeasurement to the specified entity.

Specified by:
clusterSampleMeasurementToEntity in interface SampleMeasurementDao
Overrides:
clusterSampleMeasurementToEntity in class SampleMeasurementDaoBase
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.SampleMeasurementDao#clusterSampleMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSampleMeasurement, fr.ifremer.allegro.data.measure.SampleMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.