Package lumis.portal.dao.hibernate
Class Hibernate3FieldReplicator
- java.lang.Object
-
- net.sf.beanlib.provider.replicator.ReplicatorTemplate
-
- net.sf.beanlib.provider.replicator.BeanReplicator
-
- net.sf.beanlib.hibernate3.Hibernate3JavaBeanReplicator
-
- lumis.portal.dao.hibernate.Hibernate3FieldReplicator
-
- All Implemented Interfaces:
net.sf.beanlib.spi.replicator.BeanReplicatorSpi
public class Hibernate3FieldReplicator extends net.sf.beanlib.hibernate3.Hibernate3JavaBeanReplicator
A replicator for hibernate beans, based on replicating fields directly.- Since:
- 5.0.0
- Version:
- $Revision: 10825 $ $Date: 2009-08-04 12:36:40 -0300 (Tue, 04 Aug 2009) $
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Hibernate3FieldReplicator.Factory
Factory forHibernate3FieldReplicator
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
Hibernate3FieldReplicator(net.sf.beanlib.spi.BeanTransformerSpi beanTransformer, java.util.Set<java.lang.reflect.Field> fieldsToIgnore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
populate(java.lang.Object fromObj, java.lang.Object toObj)
Populates an object's fields with values retrieved from fields of another object.protected void
populateBean(java.lang.Object fromMember, java.lang.Object toMember)
-
Methods inherited from class net.sf.beanlib.hibernate3.Hibernate3JavaBeanReplicator
createToInstance, getFactory, newBeanReplicatable, replicate, replicateBean
-
Methods inherited from class net.sf.beanlib.provider.replicator.BeanReplicator
newBeanReplicatable, replicateBean, replicateBean
-
-
-
-
Method Detail
-
populateBean
protected void populateBean(java.lang.Object fromMember, java.lang.Object toMember)
- Overrides:
populateBean
in classnet.sf.beanlib.provider.replicator.ReplicatorTemplate
-
populate
public void populate(java.lang.Object fromObj, java.lang.Object toObj)
Populates an object's fields with values retrieved from fields of another object.- Parameters:
fromObj
- the object from where the values will be read.toObj
- the object where the values will be written to.- Since:
- 5.0.0
-
-