lumis.portal.dao.hibernate
Class Hibernate3FieldReplicator

Package class diagram package Hibernate3FieldReplicator
java.lang.Object
  extended by net.sf.beanlib.provider.replicator.ReplicatorTemplate
      extended by net.sf.beanlib.provider.replicator.BeanReplicator
          extended by net.sf.beanlib.hibernate3.Hibernate3JavaBeanReplicator
              extended by 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

Nested Class Summary
static class Hibernate3FieldReplicator.Factory
          Factory for Hibernate3FieldReplicator.
 
Field Summary
 
Fields inherited from class net.sf.beanlib.provider.replicator.ReplicatorTemplate
log
 
Constructor Summary
protected Hibernate3FieldReplicator(net.sf.beanlib.spi.BeanTransformerSpi beanTransformer, Set<Field> fieldsToIgnore)
           
 
Method Summary
 void populate(Object fromObj, Object toObj)
          Populates an object's fields with values retrieved from fields of another object.
protected  void populateBean(Object fromMember, 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
 
Methods inherited from class net.sf.beanlib.provider.replicator.ReplicatorTemplate
chooseClass, createToInstance, createToInstanceWithComparator, getTargetCloned, newInstanceAsPrivileged, putTargetCloned, replicate, replicateByBeanReplicatable, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hibernate3FieldReplicator

protected Hibernate3FieldReplicator(net.sf.beanlib.spi.BeanTransformerSpi beanTransformer,
                                    Set<Field> fieldsToIgnore)
Method Detail

populateBean

protected void populateBean(Object fromMember,
                            Object toMember)
Overrides:
populateBean in class net.sf.beanlib.provider.replicator.ReplicatorTemplate

populate

public void populate(Object fromObj,
                     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


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.