org.dozer.propertydescriptor
Class CustomGetSetPropertyDescriptor
java.lang.Object
org.dozer.propertydescriptor.AbstractPropertyDescriptor
org.dozer.propertydescriptor.GetterSetterPropertyDescriptor
org.dozer.propertydescriptor.JavaBeanPropertyDescriptor
org.dozer.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.
- Author:
- garsombke.franz, tierney.matt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomGetSetPropertyDescriptor
public CustomGetSetPropertyDescriptor(Class<?> clazz,
String fieldName,
boolean isIndexed,
int index,
String customSetMethod,
String customGetMethod,
HintContainer srcDeepIndexHintContainer,
HintContainer destDeepIndexHintContainer)
getWriteMethod
public Method getWriteMethod()
throws NoSuchMethodException
- Overrides:
getWriteMethod in class JavaBeanPropertyDescriptor
- Throws:
NoSuchMethodException
getReadMethod
protected Method getReadMethod()
throws NoSuchMethodException
- Overrides:
getReadMethod in class JavaBeanPropertyDescriptor
- Throws:
NoSuchMethodException
getSetMethodName
protected String getSetMethodName()
throws NoSuchMethodException
- Overrides:
getSetMethodName in class JavaBeanPropertyDescriptor
- Throws:
NoSuchMethodException
isCustomSetMethod
protected boolean isCustomSetMethod()
- Overrides:
isCustomSetMethod in class JavaBeanPropertyDescriptor
Copyright © 2005-2011 dozer. All Rights Reserved.