net.sf.hibernate4gwt.core.beanlib.clone
Class CloneBeanPopulatable

java.lang.Object
  extended by net.sf.hibernate4gwt.core.beanlib.clone.CloneBeanPopulatable

public class CloneBeanPopulatable
extends java.lang.Object

Populatable for Hibernate lazy handling

Author:
bruno.marchesson

Constructor Summary
CloneBeanPopulatable(IPersistenceUtil persistenceUtil, IPojoStore pojoStore)
          Constructor
 
Method Summary
 IPersistenceUtil getPersistenceUtil()
           
 IPojoStore getPojoStore()
           
 void setPersistenceUtil(IPersistenceUtil util)
           
 void setPojoStore(IPojoStore store)
           
 boolean shouldPopulate(java.lang.String propertyName, java.lang.Object fromBean, java.lang.reflect.Method readerMethod, java.lang.Object toBean, java.lang.reflect.Method setterMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneBeanPopulatable

public CloneBeanPopulatable(IPersistenceUtil persistenceUtil,
                            IPojoStore pojoStore)
Constructor

Method Detail

getPersistenceUtil

public IPersistenceUtil getPersistenceUtil()
Returns:
the persistence Util implementation to use

setPersistenceUtil

public void setPersistenceUtil(IPersistenceUtil util)
Parameters:
util - the persistenceUtil to set

getPojoStore

public IPojoStore getPojoStore()
Returns:
the used pojo Store

setPojoStore

public void setPojoStore(IPojoStore store)
Parameters:
store - the pojo store to set

shouldPopulate

public boolean shouldPopulate(java.lang.String propertyName,
                              java.lang.Object fromBean,
                              java.lang.reflect.Method readerMethod,
                              java.lang.Object toBean,
                              java.lang.reflect.Method setterMethod)