Class 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) $
    • Field Summary

      • Fields inherited from class net.sf.beanlib.provider.replicator.ReplicatorTemplate

        log
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Hibernate3FieldReplicator​(net.sf.beanlib.spi.BeanTransformerSpi beanTransformer, Set<Field> fieldsToIgnore)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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