fr.ifremer.allegro.referential.location
Class LocationPointDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationPointDaoBase
          extended by fr.ifremer.allegro.referential.location.LocationPointDaoImpl
All Implemented Interfaces:
LocationPointDao

public class LocationPointDaoImpl
extends LocationPointDaoBase

See Also:
LocationPoint

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationPointDao
TRANSFORM_CLUSTERLOCATIONPOINT, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONPOINTFULLVO, TRANSFORM_REMOTELOCATIONPOINTNATURALID
 
Constructor Summary
LocationPointDaoImpl()
           
 
Method Summary
 LocationPoint clusterLocationPointToEntity(ClusterLocationPoint clusterLocationPoint)
          Converts an instance of type ClusterLocationPoint to this DAO's entity.
 void clusterLocationPointToEntity(ClusterLocationPoint source, LocationPoint target, boolean copyIfNull)
          Copies the fields of ClusterLocationPoint to the specified entity.
protected  LocationPoint handleCreateFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint)
          Performs the core logic for LocationPointDaoBase.createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)
 LocationPoint remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO remoteLocationPointFullVO)
          Converts an instance of type RemoteLocationPointFullVO to this DAO's entity.
 void remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO source, LocationPoint target, boolean copyIfNull)
          Copies the fields of RemoteLocationPointFullVO to the specified entity.
 LocationPoint remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId remoteLocationPointNaturalId)
          Converts an instance of type RemoteLocationPointNaturalId to this DAO's entity.
 void remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId source, LocationPoint target, boolean copyIfNull)
          Copies the fields of RemoteLocationPointNaturalId to the specified entity.
 ClusterLocationPoint toClusterLocationPoint(LocationPoint entity)
          Converts this DAO's entity to an object of type ClusterLocationPoint.
 void toClusterLocationPoint(LocationPoint source, ClusterLocationPoint target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationPointFullVO toRemoteLocationPointFullVO(LocationPoint entity)
          Converts this DAO's entity to an object of type RemoteLocationPointFullVO.
 void toRemoteLocationPointFullVO(LocationPoint source, RemoteLocationPointFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationPointNaturalId toRemoteLocationPointNaturalId(LocationPoint entity)
          Converts this DAO's entity to an object of type RemoteLocationPointNaturalId.
 void toRemoteLocationPointNaturalId(LocationPoint source, RemoteLocationPointNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.location.LocationPointDaoBase
clusterLocationPointToEntityCollection, create, create, create, create, create, create, createFromClusterLocationPoint, findLocationPointById, findLocationPointById, findLocationPointById, findLocationPointById, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByLocation, findLocationPointByNaturalId, findLocationPointByNaturalId, findLocationPointByNaturalId, findLocationPointByNaturalId, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getAllLocationPoint, getLocationDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLocationPointFullVOToEntityCollection, remoteLocationPointNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, toClusterLocationPoint, toClusterLocationPointArray, toClusterLocationPointCollection, toEntity, toRemoteLocationPointFullVO, toRemoteLocationPointFullVOArray, toRemoteLocationPointFullVOCollection, toRemoteLocationPointNaturalId, toRemoteLocationPointNaturalIdArray, toRemoteLocationPointNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationPointDaoImpl

public LocationPointDaoImpl()
Method Detail

handleCreateFromClusterLocationPoint

protected LocationPoint handleCreateFromClusterLocationPoint(ClusterLocationPoint clusterLocationPoint)
Description copied from class: LocationPointDaoBase
Performs the core logic for LocationPointDaoBase.createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)

Specified by:
handleCreateFromClusterLocationPoint in class LocationPointDaoBase
See Also:
LocationPointDao.createFromClusterLocationPoint(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)

toRemoteLocationPointFullVO

public void toRemoteLocationPointFullVO(LocationPoint source,
                                        RemoteLocationPointFullVO target)
Description copied from interface: LocationPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteLocationPointFullVO(), 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:
toRemoteLocationPointFullVO in interface LocationPointDao
Overrides:
toRemoteLocationPointFullVO in class LocationPointDaoBase
See Also:
LocationPointDao.toRemoteLocationPointFullVO(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

toRemoteLocationPointFullVO

public RemoteLocationPointFullVO toRemoteLocationPointFullVO(LocationPoint entity)
Description copied from interface: LocationPointDao
Converts this DAO's entity to an object of type RemoteLocationPointFullVO.

Specified by:
toRemoteLocationPointFullVO in interface LocationPointDao
Overrides:
toRemoteLocationPointFullVO in class LocationPointDaoBase
See Also:
LocationPointDao.toRemoteLocationPointFullVO(fr.ifremer.allegro.referential.location.LocationPoint)

remoteLocationPointFullVOToEntity

public LocationPoint remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO remoteLocationPointFullVO)
Description copied from interface: LocationPointDao
Converts an instance of type RemoteLocationPointFullVO to this DAO's entity.

See Also:
LocationPointDao.remoteLocationPointFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO)

remoteLocationPointFullVOToEntity

public void remoteLocationPointFullVOToEntity(RemoteLocationPointFullVO source,
                                              LocationPoint target,
                                              boolean copyIfNull)
Description copied from interface: LocationPointDao
Copies the fields of RemoteLocationPointFullVO to the specified entity.

Specified by:
remoteLocationPointFullVOToEntity in interface LocationPointDao
Overrides:
remoteLocationPointFullVOToEntity in class LocationPointDaoBase
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.location.LocationPointDao#remoteLocationPointFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointFullVO, fr.ifremer.allegro.referential.location.LocationPoint)

toRemoteLocationPointNaturalId

public void toRemoteLocationPointNaturalId(LocationPoint source,
                                           RemoteLocationPointNaturalId target)
Description copied from interface: LocationPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toRemoteLocationPointNaturalId(), 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:
toRemoteLocationPointNaturalId in interface LocationPointDao
Overrides:
toRemoteLocationPointNaturalId in class LocationPointDaoBase
See Also:
LocationPointDao.toRemoteLocationPointNaturalId(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)

toRemoteLocationPointNaturalId

public RemoteLocationPointNaturalId toRemoteLocationPointNaturalId(LocationPoint entity)
Description copied from interface: LocationPointDao
Converts this DAO's entity to an object of type RemoteLocationPointNaturalId.

Specified by:
toRemoteLocationPointNaturalId in interface LocationPointDao
Overrides:
toRemoteLocationPointNaturalId in class LocationPointDaoBase
See Also:
LocationPointDao.toRemoteLocationPointNaturalId(fr.ifremer.allegro.referential.location.LocationPoint)

remoteLocationPointNaturalIdToEntity

public LocationPoint remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId remoteLocationPointNaturalId)
Description copied from interface: LocationPointDao
Converts an instance of type RemoteLocationPointNaturalId to this DAO's entity.

See Also:
LocationPointDao.remoteLocationPointNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId)

remoteLocationPointNaturalIdToEntity

public void remoteLocationPointNaturalIdToEntity(RemoteLocationPointNaturalId source,
                                                 LocationPoint target,
                                                 boolean copyIfNull)
Description copied from interface: LocationPointDao
Copies the fields of RemoteLocationPointNaturalId to the specified entity.

Specified by:
remoteLocationPointNaturalIdToEntity in interface LocationPointDao
Overrides:
remoteLocationPointNaturalIdToEntity in class LocationPointDaoBase
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.location.LocationPointDao#remoteLocationPointNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationPointNaturalId, fr.ifremer.allegro.referential.location.LocationPoint)

toClusterLocationPoint

public void toClusterLocationPoint(LocationPoint source,
                                   ClusterLocationPoint target)
Description copied from interface: LocationPointDao
Copies the fields of the specified entity to the target value object. This method is similar to toClusterLocationPoint(), 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:
toClusterLocationPoint in interface LocationPointDao
Overrides:
toClusterLocationPoint in class LocationPointDaoBase
See Also:
LocationPointDao.toClusterLocationPoint(fr.ifremer.allegro.referential.location.LocationPoint, fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)

toClusterLocationPoint

public ClusterLocationPoint toClusterLocationPoint(LocationPoint entity)
Description copied from interface: LocationPointDao
Converts this DAO's entity to an object of type ClusterLocationPoint.

Specified by:
toClusterLocationPoint in interface LocationPointDao
Overrides:
toClusterLocationPoint in class LocationPointDaoBase
See Also:
LocationPointDao.toClusterLocationPoint(fr.ifremer.allegro.referential.location.LocationPoint)

clusterLocationPointToEntity

public LocationPoint clusterLocationPointToEntity(ClusterLocationPoint clusterLocationPoint)
Description copied from interface: LocationPointDao
Converts an instance of type ClusterLocationPoint to this DAO's entity.

See Also:
LocationPointDao.clusterLocationPointToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint)

clusterLocationPointToEntity

public void clusterLocationPointToEntity(ClusterLocationPoint source,
                                         LocationPoint target,
                                         boolean copyIfNull)
Description copied from interface: LocationPointDao
Copies the fields of ClusterLocationPoint to the specified entity.

Specified by:
clusterLocationPointToEntity in interface LocationPointDao
Overrides:
clusterLocationPointToEntity in class LocationPointDaoBase
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.location.LocationPointDao#clusterLocationPointToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationPoint, fr.ifremer.allegro.referential.location.LocationPoint)


Copyright © 2008-2010 IFREMER. All Rights Reserved.