public abstract class GetterSetterPropertyDescriptor extends AbstractPropertyDescriptor
clazz, destDeepIndexHintContainer, fieldName, index, isIndexed, srcDeepIndexHintContainer| Constructor and Description |
|---|
GetterSetterPropertyDescriptor(Class<?> clazz,
String fieldName,
boolean isIndexed,
int index,
HintContainer srcDeepIndexHintContainer,
HintContainer destDeepIndexHintContainer) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
genericType()
Determines generic parameter type
|
Class<?> |
getPropertyType() |
Object |
getPropertyValue(Object bean) |
protected abstract Method |
getReadMethod() |
protected abstract String |
getSetMethodName() |
protected abstract Method |
getWriteMethod() |
Class<?> |
getWriteMethodPropertyType() |
protected Object |
invokeReadMethod(Object target) |
protected void |
invokeWriteMethod(Object target,
Object value) |
protected abstract boolean |
isCustomSetMethod() |
void |
setPropertyValue(Object bean,
Object value,
FieldMap fieldMap) |
protected void |
writeDeepDestinationValue(Object destObj,
Object destFieldValue,
FieldMap fieldMap) |
public GetterSetterPropertyDescriptor(Class<?> clazz, String fieldName, boolean isIndexed, int index, HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer)
protected abstract Method getWriteMethod() throws NoSuchMethodException
NoSuchMethodExceptionprotected abstract Method getReadMethod() throws NoSuchMethodException
NoSuchMethodExceptionprotected abstract String getSetMethodName() throws NoSuchMethodException
NoSuchMethodExceptionprotected abstract boolean isCustomSetMethod()
public Class<?> getWriteMethodPropertyType()
public Class<?> getPropertyType()
protected void writeDeepDestinationValue(Object destObj, Object destFieldValue, FieldMap fieldMap)
public Class<?> genericType()
DozerPropertyDescriptorCopyright © 2005-2014 dozer. All Rights Reserved.