public class CommonPropertyAnnotationHandler<T> extends AbstractAnnotationHandler
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
propertyNames |
annoClass, annoResourceFactory, methods| Constructor and Description |
|---|
CommonPropertyAnnotationHandler(Class annoClass,
AnnotationResourceFactory outer) |
CommonPropertyAnnotationHandler(Class annoClass,
AnnotationResourceFactory outer,
String... propNames) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
deriveDefaultValue(Object source) |
T |
get(AnnoResource res) |
T |
getDefaultValue() |
void |
set(AnnoResource res,
T newValue) |
void |
setDefaultValue(T defaultValue) |
attemptToReadProperty, attemptToSetProperty, getAnnoClass, getControllerMethods, getMethodForType, getSupportedMethods, invoke, isCompatible, parseControllerprotected final String[] propertyNames
public CommonPropertyAnnotationHandler(Class annoClass, AnnotationResourceFactory outer)
public CommonPropertyAnnotationHandler(Class annoClass, AnnotationResourceFactory outer, String... propNames)
public T get(AnnoResource res)
public void set(AnnoResource res, T newValue)
public T getDefaultValue()
public void setDefaultValue(T defaultValue)
Copyright © 2021 McEvoy Software Ltd. All rights reserved.