fr.ifremer.allegro.data.measure
Class SurveyMeasurementDaoImpl

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.SurveyMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.SurveyMeasurementDaoImpl
All Implemented Interfaces:
MeasurementDao, SurveyMeasurementDao

public class SurveyMeasurementDaoImpl
extends SurveyMeasurementDaoBase

See Also:
SurveyMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.SurveyMeasurementDao
TRANSFORM_CLUSTERSURVEYMEASUREMENT, TRANSFORM_REMOTESURVEYMEASUREMENTFULLVO, TRANSFORM_REMOTESURVEYMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
SurveyMeasurementDaoImpl()
           
 
Method Summary
 SurveyMeasurement clusterSurveyMeasurementToEntity(ClusterSurveyMeasurement clusterSurveyMeasurement)
          Converts an instance of type ClusterSurveyMeasurement to this DAO's entity.
 void clusterSurveyMeasurementToEntity(ClusterSurveyMeasurement source, SurveyMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterSurveyMeasurement to the specified entity.
protected  SurveyMeasurement handleCreateFromClusterSurveyMeasurement(ClusterSurveyMeasurement clusterSurveyMeasurement)
          Performs the core logic for SurveyMeasurementDaoBase.createFromClusterSurveyMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSurveyMeasurement)
protected  ClusterSurveyMeasurement[] handleGetAllClusterSurveyMeasurement(java.lang.Integer userId, java.lang.Integer[] registrationLocationIds, java.lang.Integer pageNumber, java.lang.Integer pageSize)
          Performs the core logic for SurveyMeasurementDaoBase.getAllClusterSurveyMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)
 SurveyMeasurement remoteSurveyMeasurementFullVOToEntity(RemoteSurveyMeasurementFullVO remoteSurveyMeasurementFullVO)
          Converts an instance of type RemoteSurveyMeasurementFullVO to this DAO's entity.
 void remoteSurveyMeasurementFullVOToEntity(RemoteSurveyMeasurementFullVO source, SurveyMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSurveyMeasurementFullVO to the specified entity.
 SurveyMeasurement remoteSurveyMeasurementNaturalIdToEntity(RemoteSurveyMeasurementNaturalId remoteSurveyMeasurementNaturalId)
          Converts an instance of type RemoteSurveyMeasurementNaturalId to this DAO's entity.
 void remoteSurveyMeasurementNaturalIdToEntity(RemoteSurveyMeasurementNaturalId source, SurveyMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteSurveyMeasurementNaturalId to the specified entity.
 ClusterSurveyMeasurement toClusterSurveyMeasurement(SurveyMeasurement entity)
          Converts this DAO's entity to an object of type ClusterSurveyMeasurement.
 void toClusterSurveyMeasurement(SurveyMeasurement source, ClusterSurveyMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteSurveyMeasurementFullVO toRemoteSurveyMeasurementFullVO(SurveyMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSurveyMeasurementFullVO.
 void toRemoteSurveyMeasurementFullVO(SurveyMeasurement source, RemoteSurveyMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteSurveyMeasurementNaturalId toRemoteSurveyMeasurementNaturalId(SurveyMeasurement entity)
          Converts this DAO's entity to an object of type RemoteSurveyMeasurementNaturalId.
 void toRemoteSurveyMeasurementNaturalId(SurveyMeasurement source, RemoteSurveyMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.SurveyMeasurementDaoBase
clusterSurveyMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterSurveyMeasurement, 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, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByActivityCalendar, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAggregationLevel, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByAnalysisInstrument, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByDepartment, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByEconomicalSurvey, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementByFishingTrip, findSurveyMeasurementById, findSurveyMeasurementById, findSurveyMeasurementById, findSurveyMeasurementById, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByLanding, findSurveyMeasurementByNaturalId, findSurveyMeasurementByNaturalId, findSurveyMeasurementByNaturalId, findSurveyMeasurementByNaturalId, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByNumericalPrecision, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPhysicalGearSurvey, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPmfm, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByPrecisionType, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualitativeValue, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementByQualityFlag, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, findSurveyMeasurementBySale, getActivityCalendarDao, getAllClusterSurveyMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getAllSurveyMeasurement, getEconomicalSurveyDao, getFishingTripDao, getLandingDao, getPhysicalGearSurveyDao, getPrincipal, getSaleDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteSurveyMeasurementFullVOToEntityCollection, remoteSurveyMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setActivityCalendarDao, setEconomicalSurveyDao, setFishingTripDao, setLandingDao, setPhysicalGearSurveyDao, setSaleDao, toClusterSurveyMeasurement, toClusterSurveyMeasurementArray, toClusterSurveyMeasurementCollection, toEntity, toRemoteSurveyMeasurementFullVO, toRemoteSurveyMeasurementFullVOArray, toRemoteSurveyMeasurementFullVOCollection, toRemoteSurveyMeasurementNaturalId, toRemoteSurveyMeasurementNaturalIdArray, toRemoteSurveyMeasurementNaturalIdCollection, 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

SurveyMeasurementDaoImpl

public SurveyMeasurementDaoImpl()
Method Detail

handleCreateFromClusterSurveyMeasurement

protected SurveyMeasurement handleCreateFromClusterSurveyMeasurement(ClusterSurveyMeasurement clusterSurveyMeasurement)
Description copied from class: SurveyMeasurementDaoBase
Performs the core logic for SurveyMeasurementDaoBase.createFromClusterSurveyMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSurveyMeasurement)

Specified by:
handleCreateFromClusterSurveyMeasurement in class SurveyMeasurementDaoBase
See Also:
SurveyMeasurementDao.createFromClusterSurveyMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSurveyMeasurement)

handleGetAllClusterSurveyMeasurement

protected ClusterSurveyMeasurement[] handleGetAllClusterSurveyMeasurement(java.lang.Integer userId,
                                                                          java.lang.Integer[] registrationLocationIds,
                                                                          java.lang.Integer pageNumber,
                                                                          java.lang.Integer pageSize)
Description copied from class: SurveyMeasurementDaoBase
Performs the core logic for SurveyMeasurementDaoBase.getAllClusterSurveyMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

Specified by:
handleGetAllClusterSurveyMeasurement in class SurveyMeasurementDaoBase
See Also:
SurveyMeasurementDao.getAllClusterSurveyMeasurement(java.lang.Integer, java.lang.Integer[], java.lang.Integer, java.lang.Integer)

toRemoteSurveyMeasurementFullVO

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

toRemoteSurveyMeasurementFullVO

public RemoteSurveyMeasurementFullVO toRemoteSurveyMeasurementFullVO(SurveyMeasurement entity)
Description copied from interface: SurveyMeasurementDao
Converts this DAO's entity to an object of type RemoteSurveyMeasurementFullVO.

Specified by:
toRemoteSurveyMeasurementFullVO in interface SurveyMeasurementDao
Overrides:
toRemoteSurveyMeasurementFullVO in class SurveyMeasurementDaoBase
See Also:
SurveyMeasurementDao.toRemoteSurveyMeasurementFullVO(fr.ifremer.allegro.data.measure.SurveyMeasurement)

remoteSurveyMeasurementFullVOToEntity

public SurveyMeasurement remoteSurveyMeasurementFullVOToEntity(RemoteSurveyMeasurementFullVO remoteSurveyMeasurementFullVO)
Description copied from interface: SurveyMeasurementDao
Converts an instance of type RemoteSurveyMeasurementFullVO to this DAO's entity.

See Also:
SurveyMeasurementDao.remoteSurveyMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSurveyMeasurementFullVO)

remoteSurveyMeasurementFullVOToEntity

public void remoteSurveyMeasurementFullVOToEntity(RemoteSurveyMeasurementFullVO source,
                                                  SurveyMeasurement target,
                                                  boolean copyIfNull)
Description copied from interface: SurveyMeasurementDao
Copies the fields of RemoteSurveyMeasurementFullVO to the specified entity.

Specified by:
remoteSurveyMeasurementFullVOToEntity in interface SurveyMeasurementDao
Overrides:
remoteSurveyMeasurementFullVOToEntity in class SurveyMeasurementDaoBase
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.SurveyMeasurementDao#remoteSurveyMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSurveyMeasurementFullVO, fr.ifremer.allegro.data.measure.SurveyMeasurement)

toRemoteSurveyMeasurementNaturalId

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

toRemoteSurveyMeasurementNaturalId

public RemoteSurveyMeasurementNaturalId toRemoteSurveyMeasurementNaturalId(SurveyMeasurement entity)
Description copied from interface: SurveyMeasurementDao
Converts this DAO's entity to an object of type RemoteSurveyMeasurementNaturalId.

Specified by:
toRemoteSurveyMeasurementNaturalId in interface SurveyMeasurementDao
Overrides:
toRemoteSurveyMeasurementNaturalId in class SurveyMeasurementDaoBase
See Also:
SurveyMeasurementDao.toRemoteSurveyMeasurementNaturalId(fr.ifremer.allegro.data.measure.SurveyMeasurement)

remoteSurveyMeasurementNaturalIdToEntity

public SurveyMeasurement remoteSurveyMeasurementNaturalIdToEntity(RemoteSurveyMeasurementNaturalId remoteSurveyMeasurementNaturalId)
Description copied from interface: SurveyMeasurementDao
Converts an instance of type RemoteSurveyMeasurementNaturalId to this DAO's entity.

See Also:
SurveyMeasurementDao.remoteSurveyMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSurveyMeasurementNaturalId)

remoteSurveyMeasurementNaturalIdToEntity

public void remoteSurveyMeasurementNaturalIdToEntity(RemoteSurveyMeasurementNaturalId source,
                                                     SurveyMeasurement target,
                                                     boolean copyIfNull)
Description copied from interface: SurveyMeasurementDao
Copies the fields of RemoteSurveyMeasurementNaturalId to the specified entity.

Specified by:
remoteSurveyMeasurementNaturalIdToEntity in interface SurveyMeasurementDao
Overrides:
remoteSurveyMeasurementNaturalIdToEntity in class SurveyMeasurementDaoBase
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.SurveyMeasurementDao#remoteSurveyMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteSurveyMeasurementNaturalId, fr.ifremer.allegro.data.measure.SurveyMeasurement)

toClusterSurveyMeasurement

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

toClusterSurveyMeasurement

public ClusterSurveyMeasurement toClusterSurveyMeasurement(SurveyMeasurement entity)
Description copied from interface: SurveyMeasurementDao
Converts this DAO's entity to an object of type ClusterSurveyMeasurement.

Specified by:
toClusterSurveyMeasurement in interface SurveyMeasurementDao
Overrides:
toClusterSurveyMeasurement in class SurveyMeasurementDaoBase
See Also:
SurveyMeasurementDao.toClusterSurveyMeasurement(fr.ifremer.allegro.data.measure.SurveyMeasurement)

clusterSurveyMeasurementToEntity

public SurveyMeasurement clusterSurveyMeasurementToEntity(ClusterSurveyMeasurement clusterSurveyMeasurement)
Description copied from interface: SurveyMeasurementDao
Converts an instance of type ClusterSurveyMeasurement to this DAO's entity.

See Also:
SurveyMeasurementDao.clusterSurveyMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSurveyMeasurement)

clusterSurveyMeasurementToEntity

public void clusterSurveyMeasurementToEntity(ClusterSurveyMeasurement source,
                                             SurveyMeasurement target,
                                             boolean copyIfNull)
Description copied from interface: SurveyMeasurementDao
Copies the fields of ClusterSurveyMeasurement to the specified entity.

Specified by:
clusterSurveyMeasurementToEntity in interface SurveyMeasurementDao
Overrides:
clusterSurveyMeasurementToEntity in class SurveyMeasurementDaoBase
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.SurveyMeasurementDao#clusterSurveyMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterSurveyMeasurement, fr.ifremer.allegro.data.measure.SurveyMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.