edu.uoc.tfc.dbmodel
Class TipusSiniestreDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by edu.uoc.tfc.dbmodel.TipusSiniestreDaoBase
              extended by edu.uoc.tfc.dbmodel.TipusSiniestreDaoImpl
All Implemented Interfaces:
TipusSiniestreDao, org.springframework.beans.factory.InitializingBean

public class TipusSiniestreDaoImpl
extends TipusSiniestreDaoBase

See Also:
TipusSiniestre

Field Summary
 
Fields inherited from interface edu.uoc.tfc.dbmodel.TipusSiniestreDao
TRANSFORM_NONE, TRANSFORM_TIPUSSINISTREVO
 
Constructor Summary
TipusSiniestreDaoImpl()
           
 
Method Summary
 TipusSiniestre tipusSinistreVOToEntity(TipusSinistreVO tipusSinistreVO)
          Converts an instance of type TipusSinistreVO to this DAO's entity.
 void tipusSinistreVOToEntity(TipusSinistreVO source, TipusSiniestre target, boolean copyIfNull)
          Copies the fields of TipusSinistreVO to the specified entity.
 TipusSinistreVO toTipusSinistreVO(TipusSiniestre entity)
          Converts this DAO's entity to an object of type TipusSinistreVO.
 void toTipusSinistreVO(TipusSiniestre source, TipusSinistreVO target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class edu.uoc.tfc.dbmodel.TipusSiniestreDaoBase
create, create, create, create, create, create, findTipusSinistreByCriteria, findTipusSinistreByCriteria, findTipusSinistreByCriteria, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, tipusSinistreVOToEntityCollection, toEntities, toTipusSinistreVOArray, toTipusSinistreVOCollection, update, update
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TipusSiniestreDaoImpl

public TipusSiniestreDaoImpl()
Method Detail

toTipusSinistreVO

public void toTipusSinistreVO(TipusSiniestre source,
                              TipusSinistreVO target)
Description copied from interface: TipusSiniestreDao
Copies the fields of the specified entity to the target value object. This method is similar to toTipusSinistreVO(), 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:
toTipusSinistreVO in interface TipusSiniestreDao
Overrides:
toTipusSinistreVO in class TipusSiniestreDaoBase
See Also:
TipusSiniestreDao.toTipusSinistreVO(edu.uoc.tfc.dbmodel.TipusSiniestre, edu.uoc.tfc.dto.TipusSinistreVO)

toTipusSinistreVO

public TipusSinistreVO toTipusSinistreVO(TipusSiniestre entity)
Description copied from interface: TipusSiniestreDao
Converts this DAO's entity to an object of type TipusSinistreVO.

Specified by:
toTipusSinistreVO in interface TipusSiniestreDao
Overrides:
toTipusSinistreVO in class TipusSiniestreDaoBase
See Also:
TipusSiniestreDao.toTipusSinistreVO(edu.uoc.tfc.dbmodel.TipusSiniestre)

tipusSinistreVOToEntity

public TipusSiniestre tipusSinistreVOToEntity(TipusSinistreVO tipusSinistreVO)
Description copied from interface: TipusSiniestreDao
Converts an instance of type TipusSinistreVO to this DAO's entity.

See Also:
TipusSiniestreDao.tipusSinistreVOToEntity(edu.uoc.tfc.dto.TipusSinistreVO)

tipusSinistreVOToEntity

public void tipusSinistreVOToEntity(TipusSinistreVO source,
                                    TipusSiniestre target,
                                    boolean copyIfNull)
Description copied from interface: TipusSiniestreDao
Copies the fields of TipusSinistreVO to the specified entity.

Specified by:
tipusSinistreVOToEntity in interface TipusSiniestreDao
Overrides:
tipusSinistreVOToEntity in class TipusSiniestreDaoBase
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:
edu.uoc.tfc.dbmodel.TipusSiniestreDao#tipusSinistreVOToEntity(edu.uoc.tfc.dto.TipusSinistreVO, edu.uoc.tfc.dbmodel.TipusSiniestre)