public class MapPropertyDescriptor extends GetterSetterPropertyDescriptor
clazz, destDeepIndexHintContainer, fieldName, index, isIndexed, srcDeepIndexHintContainer| Constructor and Description |
|---|
MapPropertyDescriptor(Class<?> clazz,
String fieldName,
boolean isIndexed,
int index,
String setMethod,
String getMethod,
String key,
HintContainer srcDeepIndexHintContainer,
HintContainer destDeepIndexHintContainer) |
| Modifier and Type | Method and Description |
|---|---|
protected Method |
getReadMethod() |
protected String |
getSetMethodName() |
Method |
getWriteMethod() |
protected Object |
invokeReadMethod(Object target) |
protected void |
invokeWriteMethod(Object target,
Object value) |
protected boolean |
isCustomSetMethod() |
void |
setPropertyValue(Object bean,
Object value,
FieldMap fieldMap) |
genericType, getPropertyType, getPropertyValue, getWriteMethodPropertyType, writeDeepDestinationValuepublic MapPropertyDescriptor(Class<?> clazz, String fieldName, boolean isIndexed, int index, String setMethod, String getMethod, String key, HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer)
public Method getWriteMethod() throws NoSuchMethodException
getWriteMethod in class GetterSetterPropertyDescriptorNoSuchMethodExceptionpublic void setPropertyValue(Object bean, Object value, FieldMap fieldMap)
setPropertyValue in interface DozerPropertyDescriptorsetPropertyValue in class GetterSetterPropertyDescriptorprotected Method getReadMethod() throws NoSuchMethodException
getReadMethod in class GetterSetterPropertyDescriptorNoSuchMethodExceptionprotected String getSetMethodName() throws NoSuchMethodException
getSetMethodName in class GetterSetterPropertyDescriptorNoSuchMethodExceptionprotected boolean isCustomSetMethod()
isCustomSetMethod in class GetterSetterPropertyDescriptorprotected void invokeWriteMethod(Object target, Object value)
invokeWriteMethod in class GetterSetterPropertyDescriptorprotected Object invokeReadMethod(Object target)
invokeReadMethod in class GetterSetterPropertyDescriptorCopyright © 2005-2014 dozer. All Rights Reserved.