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 CategoryAware
public boolean isExcludedByAnnotation()
isExcludedByAnnotation
in interface ExclusionAware
public String getPropertyName()
getPropertyName
in interface PropertyAwareAccessor
public Set<Annotation> getFieldAnnotations()
getFieldAnnotations
in interface PropertyAwareAccessor
public <T extends Annotation> T getFieldAnnotation(Class<T> annotationClass)
getFieldAnnotation
in interface PropertyAwareAccessor
public Set<Annotation> getReadMethodAnnotations()
getReadMethodAnnotations
in interface PropertyAwareAccessor
public <T extends Annotation> T getReadMethodAnnotation(Class<T> annotationClass)
getReadMethodAnnotation
in interface PropertyAwareAccessor
public BeanPropertyElementSelector getElementSelector()
getElementSelector
in interface Accessor
public Class<?> getType()
getType
in interface TypeAwareAccessor
Copyright © 2016. All rights reserved.