edu.uoc.tfc.dbmodel
Class FacturaDaoImpl

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

public class FacturaDaoImpl
extends FacturaDaoBase

See Also:
Factura

Field Summary
 
Fields inherited from interface edu.uoc.tfc.dbmodel.FacturaDao
TRANSFORM_FACTURAVO, TRANSFORM_NONE
 
Constructor Summary
FacturaDaoImpl()
           
 
Method Summary
 Factura facturaVOToEntity(FacturaVO facturaVO)
          Converts an instance of type FacturaVO to this DAO's entity.
 void facturaVOToEntity(FacturaVO source, Factura target, boolean copyIfNull)
          Copies the fields of FacturaVO to the specified entity.
 FacturaVO toFacturaVO(Factura entity)
          Converts this DAO's entity to an object of type FacturaVO.
 void toFacturaVO(Factura source, FacturaVO target)
          Copies the fields of the specified entity to the target value object.
 
Methods inherited from class edu.uoc.tfc.dbmodel.FacturaDaoBase
create, create, create, create, create, create, create, create, facturaVOToEntityCollection, findFacturesByCriteria, findFacturesByCriteria, findFacturesByCriteria, load, load, loadAll, loadAll, loadAll, loadAll, remove, remove, remove, search, search, search, search, toEntities, toFacturaVOArray, toFacturaVOCollection, 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

FacturaDaoImpl

public FacturaDaoImpl()
Method Detail

toFacturaVO

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

toFacturaVO

public FacturaVO toFacturaVO(Factura entity)
Description copied from interface: FacturaDao
Converts this DAO's entity to an object of type FacturaVO.

Specified by:
toFacturaVO in interface FacturaDao
Overrides:
toFacturaVO in class FacturaDaoBase
See Also:
FacturaDao.toFacturaVO(edu.uoc.tfc.dbmodel.Factura)

facturaVOToEntity

public Factura facturaVOToEntity(FacturaVO facturaVO)
Description copied from interface: FacturaDao
Converts an instance of type FacturaVO to this DAO's entity.

See Also:
FacturaDao.facturaVOToEntity(edu.uoc.tfc.dto.FacturaVO)

facturaVOToEntity

public void facturaVOToEntity(FacturaVO source,
                              Factura target,
                              boolean copyIfNull)
Description copied from interface: FacturaDao
Copies the fields of FacturaVO to the specified entity.

Specified by:
facturaVOToEntity in interface FacturaDao
Overrides:
facturaVOToEntity in class FacturaDaoBase
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.FacturaDao#facturaVOToEntity(edu.uoc.tfc.dto.FacturaVO, edu.uoc.tfc.dbmodel.Factura)