fr.ifremer.allegro.referential.pmfm
Class QualitativeValueDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.pmfm.QualitativeValueDaoBase
          extended by fr.ifremer.allegro.referential.pmfm.QualitativeValueDaoImpl
All Implemented Interfaces:
QualitativeValueDao

public class QualitativeValueDaoImpl
extends QualitativeValueDaoBase

See Also:
QualitativeValue

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.pmfm.QualitativeValueDao
TRANSFORM_CLUSTERQUALITATIVEVALUE, TRANSFORM_NONE, TRANSFORM_REMOTEQUALITATIVEVALUEFULLVO, TRANSFORM_REMOTEQUALITATIVEVALUENATURALID
 
Constructor Summary
QualitativeValueDaoImpl()
           
 
Method Summary
 QualitativeValue clusterQualitativeValueToEntity(ClusterQualitativeValue clusterQualitativeValue)
          Converts an instance of type ClusterQualitativeValue to this DAO's entity.
 void clusterQualitativeValueToEntity(ClusterQualitativeValue source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of ClusterQualitativeValue to the specified entity.
protected  QualitativeValue handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
          Performs the core logic for QualitativeValueDaoBase.createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)
 QualitativeValue remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO remoteQualitativeValueFullVO)
          Converts an instance of type RemoteQualitativeValueFullVO to this DAO's entity.
 void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueFullVO to the specified entity.
 QualitativeValue remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId remoteQualitativeValueNaturalId)
          Converts an instance of type RemoteQualitativeValueNaturalId to this DAO's entity.
 void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source, QualitativeValue target, boolean copyIfNull)
          Copies the fields of RemoteQualitativeValueNaturalId to the specified entity.
 ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
          Converts this DAO's entity to an object of type ClusterQualitativeValue.
 void toClusterQualitativeValue(QualitativeValue source, ClusterQualitativeValue target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.
 void toRemoteQualitativeValueFullVO(QualitativeValue source, RemoteQualitativeValueFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
          Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.
 void toRemoteQualitativeValueNaturalId(QualitativeValue source, RemoteQualitativeValueNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.pmfm.QualitativeValueDaoBase
clusterQualitativeValueToEntityCollection, create, create, create, create, create, create, create, create, createFromClusterQualitativeValue, findQualitativeValueById, findQualitativeValueById, findQualitativeValueById, findQualitativeValueById, findQualitativeValueByNaturalId, findQualitativeValueByNaturalId, findQualitativeValueByNaturalId, findQualitativeValueByNaturalId, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByParameter, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, findQualitativeValueByStatus, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getAllQualitativeValue, getParameterDao, getPrincipal, getStatusDao, load, load, loadAll, loadAll, loadAll, loadAll, remoteQualitativeValueFullVOToEntityCollection, remoteQualitativeValueNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setParameterDao, setStatusDao, toClusterQualitativeValue, toClusterQualitativeValueArray, toClusterQualitativeValueCollection, toEntity, toRemoteQualitativeValueFullVO, toRemoteQualitativeValueFullVOArray, toRemoteQualitativeValueFullVOCollection, toRemoteQualitativeValueNaturalId, toRemoteQualitativeValueNaturalIdArray, toRemoteQualitativeValueNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QualitativeValueDaoImpl

public QualitativeValueDaoImpl()
Method Detail

handleCreateFromClusterQualitativeValue

protected QualitativeValue handleCreateFromClusterQualitativeValue(ClusterQualitativeValue clusterQualitativeValue)
Description copied from class: QualitativeValueDaoBase
Performs the core logic for QualitativeValueDaoBase.createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

Specified by:
handleCreateFromClusterQualitativeValue in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.createFromClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

toRemoteQualitativeValueFullVO

public void toRemoteQualitativeValueFullVO(QualitativeValue source,
                                           RemoteQualitativeValueFullVO target)
Description copied from interface: QualitativeValueDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteQualitativeValueFullVO(), 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:
toRemoteQualitativeValueFullVO in interface QualitativeValueDao
Overrides:
toRemoteQualitativeValueFullVO in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO)

toRemoteQualitativeValueFullVO

public RemoteQualitativeValueFullVO toRemoteQualitativeValueFullVO(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type RemoteQualitativeValueFullVO.

Specified by:
toRemoteQualitativeValueFullVO in interface QualitativeValueDao
Overrides:
toRemoteQualitativeValueFullVO in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toRemoteQualitativeValueFullVO(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueFullVOToEntity

public QualitativeValue remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO remoteQualitativeValueFullVO)
Description copied from interface: QualitativeValueDao
Converts an instance of type RemoteQualitativeValueFullVO to this DAO's entity.

See Also:
QualitativeValueDao.remoteQualitativeValueFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO)

remoteQualitativeValueFullVOToEntity

public void remoteQualitativeValueFullVOToEntity(RemoteQualitativeValueFullVO source,
                                                 QualitativeValue target,
                                                 boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of RemoteQualitativeValueFullVO to the specified entity.

Specified by:
remoteQualitativeValueFullVOToEntity in interface QualitativeValueDao
Overrides:
remoteQualitativeValueFullVOToEntity in class QualitativeValueDaoBase
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.referential.pmfm.QualitativeValueDao#remoteQualitativeValueFullVOToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueFullVO, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

toRemoteQualitativeValueNaturalId

public void toRemoteQualitativeValueNaturalId(QualitativeValue source,
                                              RemoteQualitativeValueNaturalId target)
Description copied from interface: QualitativeValueDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteQualitativeValueNaturalId(), 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:
toRemoteQualitativeValueNaturalId in interface QualitativeValueDao
Overrides:
toRemoteQualitativeValueNaturalId in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId)

toRemoteQualitativeValueNaturalId

public RemoteQualitativeValueNaturalId toRemoteQualitativeValueNaturalId(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type RemoteQualitativeValueNaturalId.

Specified by:
toRemoteQualitativeValueNaturalId in interface QualitativeValueDao
Overrides:
toRemoteQualitativeValueNaturalId in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toRemoteQualitativeValueNaturalId(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

remoteQualitativeValueNaturalIdToEntity

public QualitativeValue remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId remoteQualitativeValueNaturalId)
Description copied from interface: QualitativeValueDao
Converts an instance of type RemoteQualitativeValueNaturalId to this DAO's entity.

See Also:
QualitativeValueDao.remoteQualitativeValueNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId)

remoteQualitativeValueNaturalIdToEntity

public void remoteQualitativeValueNaturalIdToEntity(RemoteQualitativeValueNaturalId source,
                                                    QualitativeValue target,
                                                    boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of RemoteQualitativeValueNaturalId to the specified entity.

Specified by:
remoteQualitativeValueNaturalIdToEntity in interface QualitativeValueDao
Overrides:
remoteQualitativeValueNaturalIdToEntity in class QualitativeValueDaoBase
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.referential.pmfm.QualitativeValueDao#remoteQualitativeValueNaturalIdToEntity(fr.ifremer.allegro.referential.pmfm.generic.vo.RemoteQualitativeValueNaturalId, fr.ifremer.allegro.referential.pmfm.QualitativeValue)

toClusterQualitativeValue

public void toClusterQualitativeValue(QualitativeValue source,
                                      ClusterQualitativeValue target)
Description copied from interface: QualitativeValueDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterQualitativeValue(), 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:
toClusterQualitativeValue in interface QualitativeValueDao
Overrides:
toClusterQualitativeValue in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue, fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

toClusterQualitativeValue

public ClusterQualitativeValue toClusterQualitativeValue(QualitativeValue entity)
Description copied from interface: QualitativeValueDao
Converts this DAO's entity to an object of type ClusterQualitativeValue.

Specified by:
toClusterQualitativeValue in interface QualitativeValueDao
Overrides:
toClusterQualitativeValue in class QualitativeValueDaoBase
See Also:
QualitativeValueDao.toClusterQualitativeValue(fr.ifremer.allegro.referential.pmfm.QualitativeValue)

clusterQualitativeValueToEntity

public QualitativeValue clusterQualitativeValueToEntity(ClusterQualitativeValue clusterQualitativeValue)
Description copied from interface: QualitativeValueDao
Converts an instance of type ClusterQualitativeValue to this DAO's entity.

See Also:
QualitativeValueDao.clusterQualitativeValueToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue)

clusterQualitativeValueToEntity

public void clusterQualitativeValueToEntity(ClusterQualitativeValue source,
                                            QualitativeValue target,
                                            boolean copyIfNull)
Description copied from interface: QualitativeValueDao
Copies the fields of ClusterQualitativeValue to the specified entity.

Specified by:
clusterQualitativeValueToEntity in interface QualitativeValueDao
Overrides:
clusterQualitativeValueToEntity in class QualitativeValueDaoBase
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.referential.pmfm.QualitativeValueDao#clusterQualitativeValueToEntity(fr.ifremer.allegro.referential.pmfm.generic.cluster.ClusterQualitativeValue, fr.ifremer.allegro.referential.pmfm.QualitativeValue)


Copyright © 2008-2010 IFREMER. All Rights Reserved.