public class CommonsConfigurationAccessor extends Object implements ClassAccessor
| Modifier and Type | Field and Description |
|---|---|
protected List<CommonsConfigurationEntryAccessor> |
accessors |
static String |
copyright |
| Constructor and Description |
|---|
CommonsConfigurationAccessor(Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
PropertyAccessor[] |
getKeyProperties() |
String |
getName() |
PropertyAccessor[] |
getProperties() |
PropertyAccessor |
getProperty(String propertyName) |
Class<?> |
getType()
The type of the objects this accessor can operate on.
|
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
Object |
newInstance() |
public static final String copyright
protected final List<CommonsConfigurationEntryAccessor> accessors
public CommonsConfigurationAccessor(Configuration configuration)
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 ClassAccessorpublic 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