fr.ifremer.allegro.referential.location
Class LocationLineDaoImpl

java.lang.Object
  extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
      extended by fr.ifremer.allegro.referential.location.LocationLineDaoBase
          extended by fr.ifremer.allegro.referential.location.LocationLineDaoImpl
All Implemented Interfaces:
LocationLineDao

public class LocationLineDaoImpl
extends LocationLineDaoBase

See Also:
LocationLine

Field Summary
 
Fields inherited from interface fr.ifremer.allegro.referential.location.LocationLineDao
TRANSFORM_CLUSTERLOCATIONLINE, TRANSFORM_NONE, TRANSFORM_REMOTELOCATIONLINEFULLVO, TRANSFORM_REMOTELOCATIONLINENATURALID
 
Constructor Summary
LocationLineDaoImpl()
           
 
Method Summary
 LocationLine clusterLocationLineToEntity(ClusterLocationLine clusterLocationLine)
          Converts an instance of type ClusterLocationLine to this DAO's entity.
 void clusterLocationLineToEntity(ClusterLocationLine source, LocationLine target, boolean copyIfNull)
          Copies the fields of ClusterLocationLine to the specified entity.
protected  LocationLine handleCreateFromClusterLocationLine(ClusterLocationLine clusterLocationLine)
          Performs the core logic for LocationLineDaoBase.createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)
 LocationLine remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO remoteLocationLineFullVO)
          Converts an instance of type RemoteLocationLineFullVO to this DAO's entity.
 void remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO source, LocationLine target, boolean copyIfNull)
          Copies the fields of RemoteLocationLineFullVO to the specified entity.
 LocationLine remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId remoteLocationLineNaturalId)
          Converts an instance of type RemoteLocationLineNaturalId to this DAO's entity.
 void remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId source, LocationLine target, boolean copyIfNull)
          Copies the fields of RemoteLocationLineNaturalId to the specified entity.
 ClusterLocationLine toClusterLocationLine(LocationLine entity)
          Converts this DAO's entity to an object of type ClusterLocationLine.
 void toClusterLocationLine(LocationLine source, ClusterLocationLine target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationLineFullVO toRemoteLocationLineFullVO(LocationLine entity)
          Converts this DAO's entity to an object of type RemoteLocationLineFullVO.
 void toRemoteLocationLineFullVO(LocationLine source, RemoteLocationLineFullVO target)
          Copies the fields of the specified entity to the target value object.
 RemoteLocationLineNaturalId toRemoteLocationLineNaturalId(LocationLine entity)
          Converts this DAO's entity to an object of type RemoteLocationLineNaturalId.
 void toRemoteLocationLineNaturalId(LocationLine source, RemoteLocationLineNaturalId target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class fr.ifremer.allegro.referential.location.LocationLineDaoBase
clusterLocationLineToEntityCollection, create, create, create, create, create, create, createFromClusterLocationLine, findLocationLineById, findLocationLineById, findLocationLineById, findLocationLineById, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByLocation, findLocationLineByNaturalId, findLocationLineByNaturalId, findLocationLineByNaturalId, findLocationLineByNaturalId, getAllLocationLine, getAllLocationLine, getAllLocationLine, getAllLocationLine, getAllLocationLine, getAllLocationLine, getAllLocationLine, getAllLocationLine, getLocationDao, getPrincipal, load, load, loadAll, loadAll, loadAll, loadAll, remoteLocationLineFullVOToEntityCollection, remoteLocationLineNaturalIdToEntityCollection, remove, remove, remove, search, search, search, search, setLocationDao, toClusterLocationLine, toClusterLocationLineArray, toClusterLocationLineCollection, toEntity, toRemoteLocationLineFullVO, toRemoteLocationLineFullVOArray, toRemoteLocationLineFullVOCollection, toRemoteLocationLineNaturalId, toRemoteLocationLineNaturalIdArray, toRemoteLocationLineNaturalIdCollection, transformEntities, transformEntity, update, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationLineDaoImpl

public LocationLineDaoImpl()
Method Detail

handleCreateFromClusterLocationLine

protected LocationLine handleCreateFromClusterLocationLine(ClusterLocationLine clusterLocationLine)
Description copied from class: LocationLineDaoBase
Performs the core logic for LocationLineDaoBase.createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)

Specified by:
handleCreateFromClusterLocationLine in class LocationLineDaoBase
See Also:
LocationLineDao.createFromClusterLocationLine(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)

toRemoteLocationLineFullVO

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

toRemoteLocationLineFullVO

public RemoteLocationLineFullVO toRemoteLocationLineFullVO(LocationLine entity)
Description copied from interface: LocationLineDao
Converts this DAO's entity to an object of type RemoteLocationLineFullVO.

Specified by:
toRemoteLocationLineFullVO in interface LocationLineDao
Overrides:
toRemoteLocationLineFullVO in class LocationLineDaoBase
See Also:
LocationLineDao.toRemoteLocationLineFullVO(fr.ifremer.allegro.referential.location.LocationLine)

remoteLocationLineFullVOToEntity

public LocationLine remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO remoteLocationLineFullVO)
Description copied from interface: LocationLineDao
Converts an instance of type RemoteLocationLineFullVO to this DAO's entity.

See Also:
LocationLineDao.remoteLocationLineFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineFullVO)

remoteLocationLineFullVOToEntity

public void remoteLocationLineFullVOToEntity(RemoteLocationLineFullVO source,
                                             LocationLine target,
                                             boolean copyIfNull)
Description copied from interface: LocationLineDao
Copies the fields of RemoteLocationLineFullVO to the specified entity.

Specified by:
remoteLocationLineFullVOToEntity in interface LocationLineDao
Overrides:
remoteLocationLineFullVOToEntity in class LocationLineDaoBase
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.LocationLineDao#remoteLocationLineFullVOToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineFullVO, fr.ifremer.allegro.referential.location.LocationLine)

toRemoteLocationLineNaturalId

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

toRemoteLocationLineNaturalId

public RemoteLocationLineNaturalId toRemoteLocationLineNaturalId(LocationLine entity)
Description copied from interface: LocationLineDao
Converts this DAO's entity to an object of type RemoteLocationLineNaturalId.

Specified by:
toRemoteLocationLineNaturalId in interface LocationLineDao
Overrides:
toRemoteLocationLineNaturalId in class LocationLineDaoBase
See Also:
LocationLineDao.toRemoteLocationLineNaturalId(fr.ifremer.allegro.referential.location.LocationLine)

remoteLocationLineNaturalIdToEntity

public LocationLine remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId remoteLocationLineNaturalId)
Description copied from interface: LocationLineDao
Converts an instance of type RemoteLocationLineNaturalId to this DAO's entity.

See Also:
LocationLineDao.remoteLocationLineNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineNaturalId)

remoteLocationLineNaturalIdToEntity

public void remoteLocationLineNaturalIdToEntity(RemoteLocationLineNaturalId source,
                                                LocationLine target,
                                                boolean copyIfNull)
Description copied from interface: LocationLineDao
Copies the fields of RemoteLocationLineNaturalId to the specified entity.

Specified by:
remoteLocationLineNaturalIdToEntity in interface LocationLineDao
Overrides:
remoteLocationLineNaturalIdToEntity in class LocationLineDaoBase
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.LocationLineDao#remoteLocationLineNaturalIdToEntity(fr.ifremer.allegro.referential.location.generic.vo.RemoteLocationLineNaturalId, fr.ifremer.allegro.referential.location.LocationLine)

toClusterLocationLine

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

toClusterLocationLine

public ClusterLocationLine toClusterLocationLine(LocationLine entity)
Description copied from interface: LocationLineDao
Converts this DAO's entity to an object of type ClusterLocationLine.

Specified by:
toClusterLocationLine in interface LocationLineDao
Overrides:
toClusterLocationLine in class LocationLineDaoBase
See Also:
LocationLineDao.toClusterLocationLine(fr.ifremer.allegro.referential.location.LocationLine)

clusterLocationLineToEntity

public LocationLine clusterLocationLineToEntity(ClusterLocationLine clusterLocationLine)
Description copied from interface: LocationLineDao
Converts an instance of type ClusterLocationLine to this DAO's entity.

See Also:
LocationLineDao.clusterLocationLineToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine)

clusterLocationLineToEntity

public void clusterLocationLineToEntity(ClusterLocationLine source,
                                        LocationLine target,
                                        boolean copyIfNull)
Description copied from interface: LocationLineDao
Copies the fields of ClusterLocationLine to the specified entity.

Specified by:
clusterLocationLineToEntity in interface LocationLineDao
Overrides:
clusterLocationLineToEntity in class LocationLineDaoBase
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.LocationLineDao#clusterLocationLineToEntity(fr.ifremer.allegro.referential.location.generic.cluster.ClusterLocationLine, fr.ifremer.allegro.referential.location.LocationLine)


Copyright © 2008-2010 IFREMER. All Rights Reserved.