public class AggregateClassAccessor.PropertyAccessorWrapper extends Object implements PropertyAccessor
| Modifier and Type | Field and Description |
|---|---|
protected ClassAccessor |
classAccessor |
protected PropertyAccessor |
delegate |
protected int |
index |
copyright| Constructor and Description |
|---|
AggregateClassAccessor.PropertyAccessorWrapper(ClassAccessor accessor,
PropertyAccessor propertyAccessor,
int index) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
int |
getModifiers() |
String |
getName() |
protected Object |
getObject(Object collection) |
Class |
getType() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
void |
set(Object obj,
Object value) |
protected final ClassAccessor classAccessor
protected final PropertyAccessor delegate
protected final int index
public AggregateClassAccessor.PropertyAccessorWrapper(ClassAccessor accessor, PropertyAccessor propertyAccessor, int index)
public String getName()
getName in interface PropertyAccessorpublic Class getType()
getType in interface PropertyAccessorpublic int getModifiers()
getModifiers in interface PropertyAccessorpublic Object get(Object obj)
get in interface PropertyAccessorpublic void set(Object obj, Object value)
set in interface PropertyAccessorpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementpublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElement