public class PropertyAccessor extends java.lang.Object implements PropertyAwareAccessor
| Constructor and Description |
|---|
PropertyAccessor(java.lang.String propertyName,
java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
get(java.lang.Object target) |
java.util.Set<java.lang.String> |
getCategoriesFromAnnotation() |
BeanPropertyElementSelector |
getElementSelector() |
<T extends java.lang.annotation.Annotation> |
getFieldAnnotation(java.lang.Class<T> annotationClass) |
java.util.Set<java.lang.annotation.Annotation> |
getFieldAnnotations() |
java.lang.String |
getPropertyName() |
<T extends java.lang.annotation.Annotation> |
getReadMethodAnnotation(java.lang.Class<T> annotationClass) |
java.util.Set<java.lang.annotation.Annotation> |
getReadMethodAnnotations() |
java.lang.Class<?> |
getType() |
boolean |
isExcludedByAnnotation() |
void |
set(java.lang.Object target,
java.lang.Object value) |
java.lang.String |
toString() |
void |
unset(java.lang.Object target) |
public PropertyAccessor(java.lang.String propertyName,
java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod)
public final java.util.Set<java.lang.String> getCategoriesFromAnnotation()
getCategoriesFromAnnotation in interface CategoryAwarepublic boolean isExcludedByAnnotation()
isExcludedByAnnotation in interface ExclusionAwarepublic java.lang.String getPropertyName()
getPropertyName in interface PropertyAwareAccessorpublic java.util.Set<java.lang.annotation.Annotation> getFieldAnnotations()
getFieldAnnotations in interface PropertyAwareAccessorpublic <T extends java.lang.annotation.Annotation> T getFieldAnnotation(java.lang.Class<T> annotationClass)
getFieldAnnotation in interface PropertyAwareAccessorpublic java.util.Set<java.lang.annotation.Annotation> getReadMethodAnnotations()
getReadMethodAnnotations in interface PropertyAwareAccessorpublic <T extends java.lang.annotation.Annotation> T getReadMethodAnnotation(java.lang.Class<T> annotationClass)
getReadMethodAnnotation in interface PropertyAwareAccessorpublic BeanPropertyElementSelector getElementSelector()
getElementSelector in interface Accessorpublic void set(java.lang.Object target,
java.lang.Object value)
public java.lang.Class<?> getType()
getType in interface TypeAwareAccessorpublic java.lang.String toString()
toString in class java.lang.Object