public class CrudPropertyAccessor extends AbstractAnnotatedAccessor implements PropertyAccessor
Modifier and Type | Field and Description |
---|---|
static String |
copyright |
protected CrudProperty |
crudProperty |
static org.slf4j.Logger |
logger |
protected PropertyAccessor |
nestedAccessor |
annotations
Constructor and Description |
---|
CrudPropertyAccessor(CrudProperty crudProperty,
PropertyAccessor nestedAccessor,
boolean inKey) |
Modifier and Type | Method and Description |
---|---|
Object |
get(Object obj) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
CrudProperty |
getCrudProperty() |
int |
getModifiers() |
String |
getName() |
Class |
getType() |
void |
set(Object obj,
Object value) |
String |
toString() |
getDeclaredAnnotations, isAnnotationPresent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeclaredAnnotations, isAnnotationPresent
public static final String copyright
protected final CrudProperty crudProperty
protected final PropertyAccessor nestedAccessor
public static final org.slf4j.Logger logger
public CrudPropertyAccessor(@Nullable CrudProperty crudProperty, PropertyAccessor nestedAccessor, boolean inKey)
public String getName()
getName
in interface PropertyAccessor
public Class getType()
getType
in interface PropertyAccessor
public int getModifiers()
getModifiers
in interface PropertyAccessor
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation
in interface AnnotatedElement
getAnnotation
in class AbstractAnnotatedAccessor
public Annotation[] getAnnotations()
getAnnotations
in interface AnnotatedElement
getAnnotations
in class AbstractAnnotatedAccessor
public Object get(Object obj)
get
in interface PropertyAccessor
public void set(Object obj, Object value)
set
in interface PropertyAccessor
public CrudProperty getCrudProperty()