public class ClassAccessorDecorator extends AbstractAnnotatedAccessor implements ClassAccessor
| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
annotations| Modifier | Constructor and Description |
|---|---|
protected |
ClassAccessorDecorator(ClassAccessor delegate) |
|
ClassAccessorDecorator(ClassAccessor delegate,
ClassAccessor decoratorAccessor) |
|
ClassAccessorDecorator(ClassAccessor delegate,
ClassAccessor decoratorAccessor,
Object decorator) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassAccessor |
getDecoratorAccessor() |
PropertyAccessor[] |
getKeyProperties() |
String |
getName() |
PropertyAccessor[] |
getProperties() |
PropertyAccessor |
getProperty(String propertyName) |
Class<?> |
getType()
The type of the objects this accessor can operate on.
|
Object |
newInstance() |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresentpublic static final String copyright
protected ClassAccessorDecorator(ClassAccessor delegate)
public ClassAccessorDecorator(ClassAccessor delegate, ClassAccessor decoratorAccessor, @Nullable Object decorator)
public ClassAccessorDecorator(ClassAccessor delegate, ClassAccessor decoratorAccessor)
protected ClassAccessor getDecoratorAccessor()
public String getName()
getName in interface ClassAccessorpublic PropertyAccessor getProperty(String propertyName) throws NoSuchFieldException
getProperty in interface ClassAccessorNoSuchFieldExceptionpublic PropertyAccessor[] getProperties()
getProperties in interface ClassAccessorpublic PropertyAccessor[] getKeyProperties()
getKeyProperties in interface ClassAccessorpublic Object newInstance()
newInstance in interface ClassAccessorpublic Class<?> getType()
ClassAccessorgetType in interface ClassAccessor