public class SelfPropertyDescriptor extends Object implements DozerPropertyDescriptor
Constructor and Description |
---|
SelfPropertyDescriptor(Class<?> self) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
genericType()
Determines generic parameter type
|
Class<?> |
getPropertyType() |
Object |
getPropertyValue(Object bean) |
void |
setPropertyValue(Object bean,
Object value,
FieldMap fieldMap) |
public SelfPropertyDescriptor(Class<?> self)
public Class<?> getPropertyType() throws MappingException
getPropertyType
in interface DozerPropertyDescriptor
MappingException
public void setPropertyValue(Object bean, Object value, FieldMap fieldMap) throws MappingException
setPropertyValue
in interface DozerPropertyDescriptor
MappingException
public Class<?> genericType()
DozerPropertyDescriptor
genericType
in interface DozerPropertyDescriptor
public Object getPropertyValue(Object bean) throws MappingException
getPropertyValue
in interface DozerPropertyDescriptor
MappingException
Copyright © 2005-2014 dozer. All Rights Reserved.