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