fr.ifremer.allegro.data.measure
Class LandingMeasurementDaoImpl

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.LandingMeasurementDaoBase
                  extended by fr.ifremer.allegro.data.measure.LandingMeasurementDaoImpl
All Implemented Interfaces:
LandingMeasurementDao, MeasurementDao

public class LandingMeasurementDaoImpl
extends LandingMeasurementDaoBase

See Also:
LandingMeasurement

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.data.measure.LandingMeasurementDao
TRANSFORM_CLUSTERLANDINGMEASUREMENT, TRANSFORM_REMOTELANDINGMEASUREMENTFULLVO, TRANSFORM_REMOTELANDINGMEASUREMENTNATURALID
 
Fields inherited from interface fr.ifremer.allegro.data.measure.MeasurementDao
TRANSFORM_CLUSTERMEASUREMENT, TRANSFORM_NONE, TRANSFORM_REMOTEMEASUREMENTFULLVO, TRANSFORM_REMOTEMEASUREMENTNATURALID
 
Constructor Summary
LandingMeasurementDaoImpl()
           
 
Method Summary
 LandingMeasurement clusterLandingMeasurementToEntity(ClusterLandingMeasurement clusterLandingMeasurement)
          Converts an instance of type ClusterLandingMeasurement to this DAO's entity.
 void clusterLandingMeasurementToEntity(ClusterLandingMeasurement source, LandingMeasurement target, boolean copyIfNull)
          Copies the fields of ClusterLandingMeasurement to the specified entity.
protected  LandingMeasurement handleCreateFromClusterLandingMeasurement(ClusterLandingMeasurement clusterLandingMeasurement)
          Performs the core logic for LandingMeasurementDaoBase.createFromClusterLandingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterLandingMeasurement)
 LandingMeasurement remoteLandingMeasurementFullVOToEntity(RemoteLandingMeasurementFullVO remoteLandingMeasurementFullVO)
          Converts an instance of type RemoteLandingMeasurementFullVO to this DAO's entity.
 void remoteLandingMeasurementFullVOToEntity(RemoteLandingMeasurementFullVO source, LandingMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteLandingMeasurementFullVO to the specified entity.
 LandingMeasurement remoteLandingMeasurementNaturalIdToEntity(RemoteLandingMeasurementNaturalId remoteLandingMeasurementNaturalId)
          Converts an instance of type RemoteLandingMeasurementNaturalId to this DAO's entity.
 void remoteLandingMeasurementNaturalIdToEntity(RemoteLandingMeasurementNaturalId source, LandingMeasurement target, boolean copyIfNull)
          Copies the fields of RemoteLandingMeasurementNaturalId to the specified entity.
 ClusterLandingMeasurement toClusterLandingMeasurement(LandingMeasurement entity)
          Converts this DAO's entity to an object of type ClusterLandingMeasurement.
 void toClusterLandingMeasurement(LandingMeasurement source, ClusterLandingMeasurement target)
          Copies the fields of the specified entity to the target value object.
 RemoteLandingMeasurementFullVO toRemoteLandingMeasurementFullVO(LandingMeasurement entity)
          Converts this DAO's entity to an object of type RemoteLandingMeasurementFullVO.
 void toRemoteLandingMeasurementFullVO(LandingMeasurement source, RemoteLandingMeasurementFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLandingMeasurementNaturalId toRemoteLandingMeasurementNaturalId(LandingMeasurement entity)
          Converts this DAO's entity to an object of type RemoteLandingMeasurementNaturalId.
 void toRemoteLandingMeasurementNaturalId(LandingMeasurement source, RemoteLandingMeasurementNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.data.measure.LandingMeasurementDaoBase
clusterLandingMeasurementToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterLandingMeasurement, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAggregationLevel, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByAnalysisInstrument, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementByDepartment, findLandingMeasurementById, findLandingMeasurementById, findLandingMeasurementById, findLandingMeasurementById, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByLanding, findLandingMeasurementByNaturalId, findLandingMeasurementByNaturalId, findLandingMeasurementByNaturalId, findLandingMeasurementByNaturalId, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByNumericalPrecision, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPmfm, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByPrecisionType, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualitativeValue, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, findLandingMeasurementByQualityFlag, 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, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllLandingMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getAllMeasurement, getLandingDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLandingMeasurementFullVOToEntityCollection, remoteLandingMeasurementNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLandingDao, toClusterLandingMeasurement, toClusterLandingMeasurementArray, toClusterLandingMeasurementCollection, toEntity, toRemoteLandingMeasurementFullVO, toRemoteLandingMeasurementFullVOArray, toRemoteLandingMeasurementFullVOCollection, toRemoteLandingMeasurementNaturalId, toRemoteLandingMeasurementNaturalIdArray, toRemoteLandingMeasurementNaturalIdCollection, 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

LandingMeasurementDaoImpl

public LandingMeasurementDaoImpl()
Method Detail

handleCreateFromClusterLandingMeasurement

protected LandingMeasurement handleCreateFromClusterLandingMeasurement(ClusterLandingMeasurement clusterLandingMeasurement)
Description copied from class: LandingMeasurementDaoBase
Performs the core logic for LandingMeasurementDaoBase.createFromClusterLandingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterLandingMeasurement)

Specified by:
handleCreateFromClusterLandingMeasurement in class LandingMeasurementDaoBase
See Also:
LandingMeasurementDao.createFromClusterLandingMeasurement(fr.ifremer.allegro.data.measure.generic.cluster.ClusterLandingMeasurement)

toRemoteLandingMeasurementFullVO

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

toRemoteLandingMeasurementFullVO

public RemoteLandingMeasurementFullVO toRemoteLandingMeasurementFullVO(LandingMeasurement entity)
Description copied from interface: LandingMeasurementDao
Converts this DAO's entity to an object of type RemoteLandingMeasurementFullVO.

Specified by:
toRemoteLandingMeasurementFullVO in interface LandingMeasurementDao
Overrides:
toRemoteLandingMeasurementFullVO in class LandingMeasurementDaoBase
See Also:
LandingMeasurementDao.toRemoteLandingMeasurementFullVO(fr.ifremer.allegro.data.measure.LandingMeasurement)

remoteLandingMeasurementFullVOToEntity

public LandingMeasurement remoteLandingMeasurementFullVOToEntity(RemoteLandingMeasurementFullVO remoteLandingMeasurementFullVO)
Description copied from interface: LandingMeasurementDao
Converts an instance of type RemoteLandingMeasurementFullVO to this DAO's entity.

See Also:
LandingMeasurementDao.remoteLandingMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteLandingMeasurementFullVO)

remoteLandingMeasurementFullVOToEntity

public void remoteLandingMeasurementFullVOToEntity(RemoteLandingMeasurementFullVO source,
                                                   LandingMeasurement target,
                                                   boolean copyIfNull)
Description copied from interface: LandingMeasurementDao
Copies the fields of RemoteLandingMeasurementFullVO to the specified entity.

Specified by:
remoteLandingMeasurementFullVOToEntity in interface LandingMeasurementDao
Overrides:
remoteLandingMeasurementFullVOToEntity in class LandingMeasurementDaoBase
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.LandingMeasurementDao#remoteLandingMeasurementFullVOToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteLandingMeasurementFullVO, fr.ifremer.allegro.data.measure.LandingMeasurement)

toRemoteLandingMeasurementNaturalId

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

toRemoteLandingMeasurementNaturalId

public RemoteLandingMeasurementNaturalId toRemoteLandingMeasurementNaturalId(LandingMeasurement entity)
Description copied from interface: LandingMeasurementDao
Converts this DAO's entity to an object of type RemoteLandingMeasurementNaturalId.

Specified by:
toRemoteLandingMeasurementNaturalId in interface LandingMeasurementDao
Overrides:
toRemoteLandingMeasurementNaturalId in class LandingMeasurementDaoBase
See Also:
LandingMeasurementDao.toRemoteLandingMeasurementNaturalId(fr.ifremer.allegro.data.measure.LandingMeasurement)

remoteLandingMeasurementNaturalIdToEntity

public LandingMeasurement remoteLandingMeasurementNaturalIdToEntity(RemoteLandingMeasurementNaturalId remoteLandingMeasurementNaturalId)
Description copied from interface: LandingMeasurementDao
Converts an instance of type RemoteLandingMeasurementNaturalId to this DAO's entity.

See Also:
LandingMeasurementDao.remoteLandingMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteLandingMeasurementNaturalId)

remoteLandingMeasurementNaturalIdToEntity

public void remoteLandingMeasurementNaturalIdToEntity(RemoteLandingMeasurementNaturalId source,
                                                      LandingMeasurement target,
                                                      boolean copyIfNull)
Description copied from interface: LandingMeasurementDao
Copies the fields of RemoteLandingMeasurementNaturalId to the specified entity.

Specified by:
remoteLandingMeasurementNaturalIdToEntity in interface LandingMeasurementDao
Overrides:
remoteLandingMeasurementNaturalIdToEntity in class LandingMeasurementDaoBase
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.LandingMeasurementDao#remoteLandingMeasurementNaturalIdToEntity(fr.ifremer.allegro.data.measure.generic.vo.RemoteLandingMeasurementNaturalId, fr.ifremer.allegro.data.measure.LandingMeasurement)

toClusterLandingMeasurement

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

toClusterLandingMeasurement

public ClusterLandingMeasurement toClusterLandingMeasurement(LandingMeasurement entity)
Description copied from interface: LandingMeasurementDao
Converts this DAO's entity to an object of type ClusterLandingMeasurement.

Specified by:
toClusterLandingMeasurement in interface LandingMeasurementDao
Overrides:
toClusterLandingMeasurement in class LandingMeasurementDaoBase
See Also:
LandingMeasurementDao.toClusterLandingMeasurement(fr.ifremer.allegro.data.measure.LandingMeasurement)

clusterLandingMeasurementToEntity

public LandingMeasurement clusterLandingMeasurementToEntity(ClusterLandingMeasurement clusterLandingMeasurement)
Description copied from interface: LandingMeasurementDao
Converts an instance of type ClusterLandingMeasurement to this DAO's entity.

See Also:
LandingMeasurementDao.clusterLandingMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterLandingMeasurement)

clusterLandingMeasurementToEntity

public void clusterLandingMeasurementToEntity(ClusterLandingMeasurement source,
                                              LandingMeasurement target,
                                              boolean copyIfNull)
Description copied from interface: LandingMeasurementDao
Copies the fields of ClusterLandingMeasurement to the specified entity.

Specified by:
clusterLandingMeasurementToEntity in interface LandingMeasurementDao
Overrides:
clusterLandingMeasurementToEntity in class LandingMeasurementDaoBase
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.LandingMeasurementDao#clusterLandingMeasurementToEntity(fr.ifremer.allegro.data.measure.generic.cluster.ClusterLandingMeasurement, fr.ifremer.allegro.data.measure.LandingMeasurement)


Copyright © 2008-2010 IFREMER. All Rights Reserved.