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$ $Date$
    • 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, 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
      • 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,
                                            java.util.Set<java.lang.reflect.Field> fieldsToIgnore)
    • Method Detail

      • populateBean

        protected void populateBean​(java.lang.Object fromMember,
                                    java.lang.Object toMember)
        Overrides:
        populateBean in class net.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