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, writeDeepDestinationValue
public 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 GetterSetterPropertyDescriptor
NoSuchMethodException
public void setPropertyValue(Object bean, Object value, FieldMap fieldMap)
setPropertyValue
in interface DozerPropertyDescriptor
setPropertyValue
in class GetterSetterPropertyDescriptor
protected Method getReadMethod() throws NoSuchMethodException
getReadMethod
in class GetterSetterPropertyDescriptor
NoSuchMethodException
protected String getSetMethodName() throws NoSuchMethodException
getSetMethodName
in class GetterSetterPropertyDescriptor
NoSuchMethodException
protected boolean isCustomSetMethod()
isCustomSetMethod
in class GetterSetterPropertyDescriptor
protected void invokeWriteMethod(Object target, Object value)
invokeWriteMethod
in class GetterSetterPropertyDescriptor
protected Object invokeReadMethod(Object target)
invokeReadMethod
in class GetterSetterPropertyDescriptor
Copyright © 2005-2014 dozer. All Rights Reserved.