Class CustomGetSetPropertyDescriptor
- java.lang.Object
-
- com.github.dozermapper.core.propertydescriptor.AbstractPropertyDescriptor
-
- com.github.dozermapper.core.propertydescriptor.GetterSetterPropertyDescriptor
-
- com.github.dozermapper.core.propertydescriptor.JavaBeanPropertyDescriptor
-
- com.github.dozermapper.core.propertydescriptor.CustomGetSetPropertyDescriptor
-
- All Implemented Interfaces:
DozerPropertyDescriptor
public class CustomGetSetPropertyDescriptor extends JavaBeanPropertyDescriptor
Internal class used to read and write values for fields that have an explicitly specified getter or setter method. Only intended for internal use.
-
-
Field Summary
-
Fields inherited from class com.github.dozermapper.core.propertydescriptor.GetterSetterPropertyDescriptor
beanContainer, destBeanCreator
-
Fields inherited from class com.github.dozermapper.core.propertydescriptor.AbstractPropertyDescriptor
clazz, destDeepIndexHintContainer, fieldName, index, isIndexed, srcDeepIndexHintContainer
-
-
Constructor Summary
Constructors Constructor Description CustomGetSetPropertyDescriptor(Class<?> clazz, String fieldName, boolean isIndexed, int index, String customSetMethod, String customGetMethod, HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer, BeanContainer beanContainer, DestBeanCreator destBeanCreator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodgetReadMethod()protected StringgetSetMethodName()MethodgetWriteMethod()protected booleanisCustomSetMethod()-
Methods inherited from class com.github.dozermapper.core.propertydescriptor.GetterSetterPropertyDescriptor
genericType, getPropertyType, getPropertyValue, getWriteMethodPropertyType, invokeReadMethod, invokeWriteMethod, setPropertyValue, writeDeepDestinationValue
-
-
-
-
Constructor Detail
-
CustomGetSetPropertyDescriptor
public CustomGetSetPropertyDescriptor(Class<?> clazz, String fieldName, boolean isIndexed, int index, String customSetMethod, String customGetMethod, HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer, BeanContainer beanContainer, DestBeanCreator destBeanCreator)
-
-
Method Detail
-
getWriteMethod
public Method getWriteMethod() throws NoSuchMethodException
- Overrides:
getWriteMethodin classJavaBeanPropertyDescriptor- Throws:
NoSuchMethodException
-
getReadMethod
protected Method getReadMethod() throws NoSuchMethodException
- Overrides:
getReadMethodin classJavaBeanPropertyDescriptor- Throws:
NoSuchMethodException
-
getSetMethodName
protected String getSetMethodName() throws NoSuchMethodException
- Overrides:
getSetMethodNamein classJavaBeanPropertyDescriptor- Throws:
NoSuchMethodException
-
isCustomSetMethod
protected boolean isCustomSetMethod()
- Overrides:
isCustomSetMethodin classJavaBeanPropertyDescriptor
-
-