com.banda.serverbase.persistence
Class HibernateCustomReplicator.BeanTransformerWithoutInit

java.lang.Object
  extended by com.banda.serverbase.persistence.HibernateCustomReplicator.BeanTransformerWithoutInit
All Implemented Interfaces:
net.sf.beanlib.spi.CustomBeanTransformerSpi, net.sf.beanlib.spi.Transformable
Enclosing class:
HibernateCustomReplicator

public static class HibernateCustomReplicator.BeanTransformerWithoutInit
extends Object
implements net.sf.beanlib.spi.CustomBeanTransformerSpi

Custom bean transformer that ignores not initialized properties/associations


Nested Class Summary
 
Nested classes/interfaces inherited from interface net.sf.beanlib.spi.CustomBeanTransformerSpi
net.sf.beanlib.spi.CustomBeanTransformerSpi.Factory
 
Constructor Summary
HibernateCustomReplicator.BeanTransformerWithoutInit()
           
 
Method Summary
 boolean isTransformable(Object from, Class<?> toClass, net.sf.beanlib.PropertyInfo propertyInfo)
           
<T> T
transform(Object in, Class<T> toClass, net.sf.beanlib.PropertyInfo propertyInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateCustomReplicator.BeanTransformerWithoutInit

public HibernateCustomReplicator.BeanTransformerWithoutInit()
Method Detail

isTransformable

public boolean isTransformable(Object from,
                               Class<?> toClass,
                               net.sf.beanlib.PropertyInfo propertyInfo)
Specified by:
isTransformable in interface net.sf.beanlib.spi.CustomBeanTransformerSpi
See Also:
CustomBeanTransformerSpi.isTransformable(java.lang.Object, java.lang.Class, net.sf.beanlib.PropertyInfo)

transform

public <T> T transform(Object in,
                       Class<T> toClass,
                       net.sf.beanlib.PropertyInfo propertyInfo)
Specified by:
transform in interface net.sf.beanlib.spi.Transformable
See Also:
Transformable.transform(java.lang.Object, java.lang.Class, net.sf.beanlib.PropertyInfo)


Copyright © 2013. All Rights Reserved.