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, getEqualsOnlyValueProviderMethod, hasEqualsOnlyValueProviderMethod, isEqualsOnly, isIgnored, setCategories, setEqualsOnly, setEqualsOnlyValueProviderMethod, setIgnoredclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCategories, getEqualsOnlyValueProviderMethod, hasEqualsOnlyValueProviderMethod, isEqualsOnly, isIgnoredpublic Class<?> getType()
getType in interface TypeAwareAccessorpublic String getPropertyName()
public Element getPathElement()
getPathElement in interface PropertyDescriptorpublic Set<Annotation> getReadMethodAnnotations()
public <T extends Annotation> T getReadMethodAnnotation(Class<T> annotationClass)
Copyright © 2013. All Rights Reserved.