fr.ifremer.allegro.data.measure
Class MeasurementDaoImpl

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
All Implemented Interfaces:
MeasurementDao
Direct Known Subclasses:
GearPhysicalMeasurementDaoBase, GearUseMeasurementDaoBase, LandingMeasurementDaoBase, QuantificationMeasurementDaoBase, SaleMeasurementDaoBase, SampleMeasurementDaoBase, SortingMeasurementDaoBase, SurveyMeasurementDaoBase, VesselPhysicalMeasurementDaoBase, VesselPositionMeasurementDaoBase, VesselUseMeasurementDaoBase

public class MeasurementDaoImpl
extends MeasurementDaoBase

See Also:
Measurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
MeasurementDaoImpl()
           
 
Method Summary
 Measurement clusterMeasurementToEntity(ClusterMeasurement clusterMeasurement)
          Converts an instance of type ClusterMeasurement to this DAO's entity.
 void clusterMeasurementToEntity(ClusterMeasurement source, Measurement target, boolean copyIfNull)
          Copies the fields of ClusterMeasurement to the specified entity.
 Measurement remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO remoteMeasurementFullVO)
          Converts an instance of type RemoteMeasurementFullVO to this DAO's entity.
 void remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO source, Measurement target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementFullVO to the specified entity.
 Measurement remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId remoteMeasurementNaturalId)
          Converts an instance of type RemoteMeasurementNaturalId to this DAO's entity.
 void remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId source, Measurement target, boolean copyIfNull)
          Copies the fields of RemoteMeasurementNaturalId to the specified entity.
 ClusterMeasurement toClusterMeasurement(Measurement entity)
          Converts this DAO's entity to an object of type ClusterMeasurement.
 void toClusterMeasurement(Measurement source, ClusterMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteMeasurementFullVO toRemoteMeasurementFullVO(Measurement entity)
          Converts this DAO's entity to an object of type RemoteMeasurementFullVO.
 void toRemoteMeasurementFullVO(Measurement source, RemoteMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(Measurement entity)
          Converts this DAO's entity to an object of type RemoteMeasurementNaturalId.
 void toRemoteMeasurementNaturalId(Measurement source, RemoteMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.MeasurementDaoBase
clusterMeasurementToEntityCollection, 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, getAggregationLevelDao, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAnalysisInstrumentDao, getDepartmentDao, getNumericalPrecisionDao, getPmfmDao, getPrecisionTypeDao, getPrincipal, getQualitativeValueDao, getQualityFlagDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteMeasurementFullVOToEntityCollection, remoteMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setAggregationLevelDao, setAnalysisInstrumentDao, setDepartmentDao, setNumericalPrecisionDao, setPmfmDao, setPrecisionTypeDao, setQualitativeValueDao, setQualityFlagDao, toClusterMeasurement, toClusterMeasurementArray, toClusterMeasurementCollection, toEntity, toRemoteMeasurementFullVO, toRemoteMeasurementFullVOArray, toRemoteMeasurementFullVOCollection, toRemoteMeasurementNaturalId, toRemoteMeasurementNaturalIdArray, toRemoteMeasurementNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementDaoImpl

public MeasurementDaoImpl()
Method Detail

toRemoteMeasurementFullVO

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

toRemoteMeasurementFullVO

public RemoteMeasurementFullVO toRemoteMeasurementFullVO(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type RemoteMeasurementFullVO.

Specified by:
toRemoteMeasurementFullVO in interface MeasurementDao
Overrides:
toRemoteMeasurementFullVO in class MeasurementDaoBase
See Also:
MeasurementDao.toRemoteMeasurementFullVO(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementFullVOToEntity

public Measurement remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO remoteMeasurementFullVO)
Description copied from interface: MeasurementDao
Converts an instance of type RemoteMeasurementFullVO to this DAO's entity.

See Also:
MeasurementDao.remoteMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementFullVO)

remoteMeasurementFullVOToEntity

public void remoteMeasurementFullVOToEntity(RemoteMeasurementFullVO source,
                                            Measurement target,
                                            boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of RemoteMeasurementFullVO to the specified entity.

Specified by:
remoteMeasurementFullVOToEntity in interface MeasurementDao
Overrides:
remoteMeasurementFullVOToEntity in class MeasurementDaoBase
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.MeasurementDao#remoteMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementFullVO, fr.ifremer.allegro.data.measure.Measurement)

toRemoteMeasurementNaturalId

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

toRemoteMeasurementNaturalId

public RemoteMeasurementNaturalId toRemoteMeasurementNaturalId(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type RemoteMeasurementNaturalId.

Specified by:
toRemoteMeasurementNaturalId in interface MeasurementDao
Overrides:
toRemoteMeasurementNaturalId in class MeasurementDaoBase
See Also:
MeasurementDao.toRemoteMeasurementNaturalId(fr.ifremer.allegro.data.measure.Measurement)

remoteMeasurementNaturalIdToEntity

public Measurement remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId remoteMeasurementNaturalId)
Description copied from interface: MeasurementDao
Converts an instance of type RemoteMeasurementNaturalId to this DAO's entity.

See Also:
MeasurementDao.remoteMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementNaturalId)

remoteMeasurementNaturalIdToEntity

public void remoteMeasurementNaturalIdToEntity(RemoteMeasurementNaturalId source,
                                               Measurement target,
                                               boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of RemoteMeasurementNaturalId to the specified entity.

Specified by:
remoteMeasurementNaturalIdToEntity in interface MeasurementDao
Overrides:
remoteMeasurementNaturalIdToEntity in class MeasurementDaoBase
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.MeasurementDao#remoteMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteMeasurementNaturalId, fr.ifremer.allegro.data.measure.Measurement)

toClusterMeasurement

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

toClusterMeasurement

public ClusterMeasurement toClusterMeasurement(Measurement entity)
Description copied from interface: MeasurementDao
Converts this DAO's entity to an object of type ClusterMeasurement.

Specified by:
toClusterMeasurement in interface MeasurementDao
Overrides:
toClusterMeasurement in class MeasurementDaoBase
See Also:
MeasurementDao.toClusterMeasurement(fr.ifremer.allegro.data.measure.Measurement)

clusterMeasurementToEntity

public Measurement clusterMeasurementToEntity(ClusterMeasurement clusterMeasurement)
Description copied from interface: MeasurementDao
Converts an instance of type ClusterMeasurement to this DAO's entity.

See Also:
MeasurementDao.clusterMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterMeasurement)

clusterMeasurementToEntity

public void clusterMeasurementToEntity(ClusterMeasurement source,
                                       Measurement target,
                                       boolean copyIfNull)
Description copied from interface: MeasurementDao
Copies the fields of ClusterMeasurement to the specified entity.

Specified by:
clusterMeasurementToEntity in interface MeasurementDao
Overrides:
clusterMeasurementToEntity in class MeasurementDaoBase
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.MeasurementDao#clusterMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterMeasurement, fr.ifremer.allegro.data.measure.Measurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.