com.bstek.dorado.data.entity
public abstract class BeanEntityEnhancer extends EntityEnhancer
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.lang.Boolean> |
properties |
protected java.util.Map<java.lang.reflect.Method,java.lang.String> |
readMethods |
protected java.util.Map<java.lang.reflect.Method,java.lang.String> |
writeMethods |
dataType, UNDISPOSED_VALUE
Constructor and Description |
---|
BeanEntityEnhancer(EntityDataType dataType,
java.lang.Class<?> beanType) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildReflectionCahce() |
protected java.util.Set<java.lang.String> |
doGetPropertySet(java.lang.Object entity,
boolean excludeExProperties) |
protected net.sf.cglib.beans.BeanMap |
getBeanMap(java.lang.Object entity) |
java.lang.Class<?> |
getBeanType() |
protected java.lang.Object |
internalReadProperty(java.lang.Object entity,
java.lang.String property) |
protected void |
internalWriteProperty(java.lang.Object entity,
java.lang.String property,
java.lang.Object value) |
java.lang.Object |
readProperty(java.lang.Object entity,
java.lang.String property,
boolean ignoreInterceptors) |
protected java.lang.Object |
tryConvertValue(java.lang.Class<?> propertyType,
java.lang.Object value) |
void |
writeProperty(java.lang.Object entity,
java.lang.String property,
java.lang.Object value) |
clearOldValues, disableGetterInterception, enableGetterInterception, getDataType, getEntityId, getExProperties, getExProperties, getLastTimeStamp, getOldValues, getOldValues, getPropertySet, getPropertyType, getState, getTimeStamp, hasGetterResultSkiped, interceptReadMethod, interceptWriteMethod, internalReadProperty, internalWriteProperty, isGetterInterceptionDisabled, isLoaded, isPropertyHasRead, isStateLocked, loadIfNecessary, markPropertyHasRead, newEntityId, newTimeStamp, resetHasPropertyResultSkiped, setDataType, setEntityId, setHasGetterResultSkiped, setState, setStateLocked, setTimeStamp
protected java.util.Map<java.lang.String,java.lang.Boolean> properties
protected java.util.Map<java.lang.reflect.Method,java.lang.String> readMethods
protected java.util.Map<java.lang.reflect.Method,java.lang.String> writeMethods
public BeanEntityEnhancer(EntityDataType dataType, java.lang.Class<?> beanType) throws java.lang.Exception
java.lang.Exception
public java.lang.Class<?> getBeanType()
protected void buildReflectionCahce() throws java.lang.Exception
java.lang.Exception
protected java.util.Set<java.lang.String> doGetPropertySet(java.lang.Object entity, boolean excludeExProperties)
doGetPropertySet
in class EntityEnhancer
protected net.sf.cglib.beans.BeanMap getBeanMap(java.lang.Object entity)
protected java.lang.Object internalReadProperty(java.lang.Object entity, java.lang.String property) throws java.lang.Exception
internalReadProperty
in class EntityEnhancer
java.lang.Exception
protected void internalWriteProperty(java.lang.Object entity, java.lang.String property, java.lang.Object value) throws java.lang.Exception
internalWriteProperty
in class EntityEnhancer
java.lang.Exception
protected java.lang.Object tryConvertValue(java.lang.Class<?> propertyType, java.lang.Object value)
public java.lang.Object readProperty(java.lang.Object entity, java.lang.String property, boolean ignoreInterceptors) throws java.lang.Throwable
readProperty
in class EntityEnhancer
java.lang.Throwable
public void writeProperty(java.lang.Object entity, java.lang.String property, java.lang.Object value) throws java.lang.Throwable
writeProperty
in class EntityEnhancer
java.lang.Throwable
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.