net.sf.gilead.core.beanlib.clone
Class CloneBeanPopulatable
java.lang.Object
net.sf.gilead.core.beanlib.clone.CloneBeanPopulatable
public class CloneBeanPopulatable
- extends java.lang.Object
Populatable for Hibernate lazy handling
- Author:
- bruno.marchesson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloneBeanPopulatable
public CloneBeanPopulatable(IPersistenceUtil persistenceUtil,
IProxyStore proxyStore)
- Constructor
getPersistenceUtil
public IPersistenceUtil getPersistenceUtil()
- Returns:
- the persistence Util implementation to use
setPersistenceUtil
public void setPersistenceUtil(IPersistenceUtil util)
- Parameters:
util
- the persistenceUtil to set
getProxyStore
public IProxyStore getProxyStore()
- Returns:
- the used proxy Store
setProxyStore
public void setProxyStore(IProxyStore store)
- Parameters:
store
- the proxy 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)