public class PropertyAccessor extends java.lang.Object implements PropertyAwareAccessor
| 构造器和说明 |
|---|
PropertyAccessor(java.lang.String propertyName,
java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 CategoryAwarepublic boolean isExcludedByAnnotation()
isExcludedByAnnotation 在接口中 ExclusionAwarepublic java.lang.String getPropertyName()
getPropertyName 在接口中 PropertyAwareAccessorpublic java.util.Set<java.lang.annotation.Annotation> getFieldAnnotations()
getFieldAnnotations 在接口中 PropertyAwareAccessorpublic <T extends java.lang.annotation.Annotation> T getFieldAnnotation(java.lang.Class<T> annotationClass)
getFieldAnnotation 在接口中 PropertyAwareAccessorpublic java.util.Set<java.lang.annotation.Annotation> getReadMethodAnnotations()
getReadMethodAnnotations 在接口中 PropertyAwareAccessorpublic <T extends java.lang.annotation.Annotation> T getReadMethodAnnotation(java.lang.Class<T> annotationClass)
getReadMethodAnnotation 在接口中 PropertyAwareAccessorpublic BeanPropertyElementSelector getElementSelector()
getElementSelector 在接口中 Accessorpublic java.lang.Class<?> getType()
getType 在接口中 TypeAwareAccessorpublic java.lang.String toString()
toString 在类中 java.lang.Object