public class PropertyAccessor extends AbstractAccessor implements TypeAwareAccessor
Constructor and Description |
---|
PropertyAccessor(String propertyName,
Method readMethod,
Method writeMethod) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object target) |
Element |
getPathElement() |
String |
getPropertyName() |
<T extends Annotation> |
getReadMethodAnnotation(Class<T> annotationClass) |
Set<Annotation> |
getReadMethodAnnotations() |
Class<?> |
getType() |
void |
set(Object target,
Object value) |
String |
toString() |
void |
unset(Object target) |
getCategories, isEqualsOnly, isIgnored, setCategories, setEqualsOnly, setIgnored
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getCategories, isEqualsOnly, isIgnored
public Class<?> getType()
getType
in interface TypeAwareAccessor
public String getPropertyName()
public Element getPathElement()
getPathElement
in interface PropertyDescriptor
public Set<Annotation> getReadMethodAnnotations()
public <T extends Annotation> T getReadMethodAnnotation(Class<T> annotationClass)
Copyright © 2013. All Rights Reserved.