org.dozer.propertydescriptor
Class SelfPropertyDescriptor
java.lang.Object
org.dozer.propertydescriptor.SelfPropertyDescriptor
- All Implemented Interfaces:
- DozerPropertyDescriptor
public class SelfPropertyDescriptor
- extends Object
- implements DozerPropertyDescriptor
Internal class used for copy by reference mappings. Only intended for internal use.
- Author:
- garsombke.franz
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SelfPropertyDescriptor
public SelfPropertyDescriptor(Class<?> self)
getPropertyType
public Class<?> getPropertyType()
throws MappingException
- Specified by:
getPropertyType in interface DozerPropertyDescriptor
- Throws:
MappingException
setPropertyValue
public void setPropertyValue(Object bean,
Object value,
FieldMap fieldMap)
throws MappingException
- Specified by:
setPropertyValue in interface DozerPropertyDescriptor
- Throws:
MappingException
genericType
public Class<?> genericType()
- Description copied from interface:
DozerPropertyDescriptor
- Determines generic parameter type
- Specified by:
genericType in interface DozerPropertyDescriptor
- Returns:
- For Type returns Parameter class.
getPropertyValue
public Object getPropertyValue(Object bean)
throws MappingException
- Specified by:
getPropertyValue in interface DozerPropertyDescriptor
- Throws:
MappingException
Copyright © 2005-2011 dozer. All Rights Reserved.