public class MutablePropertyAccessor extends AbstractAnnotatedAccessor implements PropertyAccessor
Modifier and Type | Field and Description |
---|---|
protected int |
modifiers |
protected String |
name |
protected Class |
type |
annotations
copyright
Constructor and Description |
---|
MutablePropertyAccessor(String name,
Class type) |
Modifier and Type | Method and Description |
---|---|
MutablePropertyAccessor |
configureAnnotation(Annotation annotation) |
Object |
get(Object obj) |
int |
getModifiers() |
String |
getName() |
Class |
getType() |
void |
set(Object obj,
Object value) |
void |
setModifiers(int modifiers) |
void |
setName(String name) |
void |
setType(Class type) |
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, getDeclaredAnnotations, isAnnotationPresent
public String getName()
getName
in interface PropertyAccessor
public void setName(String name)
public Class getType()
getType
in interface PropertyAccessor
public void setType(Class type)
public int getModifiers()
getModifiers
in interface PropertyAccessor
public void setModifiers(int modifiers)
public Object get(Object obj)
get
in interface PropertyAccessor
public void set(Object obj, Object value)
set
in interface PropertyAccessor
public MutablePropertyAccessor configureAnnotation(Annotation annotation)