net.sf.hibernate4gwt.core.beanlib.merge
Class MergeCollectionReplicator
java.lang.Object
Hibernate3CollectionReplicator
net.sf.hibernate4gwt.core.beanlib.merge.MergeCollectionReplicator
public class MergeCollectionReplicator
- extends Hibernate3CollectionReplicator
Encapsulation of the collection replicator
- Author:
- bruno.marchesson
Field Summary |
static net.sf.hibernate4gwt.core.beanlib.merge.MergeCollectionReplicator.Factory |
factory
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
public static final net.sf.hibernate4gwt.core.beanlib.merge.MergeCollectionReplicator.Factory factory
MergeCollectionReplicator
protected MergeCollectionReplicator(BeanTransformerSpi beanTransformer)
- Constructor
- Parameters:
beanTransformer
-
newCollectionReplicatable
public static Hibernate3CollectionReplicator newCollectionReplicatable(BeanTransformerSpi beanTransformer)
getPersistenceUtil
public IPersistenceUtil getPersistenceUtil()
- Returns:
- the _persistenceUtil
setPersistenceUtil
public void setPersistenceUtil(IPersistenceUtil util)
- Parameters:
util
- the _persistenceUtil to set
replicate
protected java.lang.Object replicate(java.lang.Object from)
createToCollection
protected java.util.Collection<java.lang.Object> createToCollection(java.util.Collection<?> from)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.reflect.InvocationTargetException
- Collection creation override
- Throws:
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.SecurityException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException