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, isAnnotationPresent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
public 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 ClassAccessor
public PropertyAccessor getProperty(String propertyName) throws NoSuchFieldException
getProperty
in interface ClassAccessor
NoSuchFieldException
public PropertyAccessor[] getProperties()
getProperties
in interface ClassAccessor
public PropertyAccessor[] getKeyProperties()
getKeyProperties
in interface ClassAccessor
public Object newInstance()
newInstance
in interface ClassAccessor
public Class<?> getType()
ClassAccessor
getType
in interface ClassAccessor