public interface PropertyAccessor
Implementations must be thread safe.
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructorArgumentIndex()
Returns the constructor argument index, or -1 if this property is
not a constructor argument.
|
Object |
getValue(Object bean)
Returns the property value from a bean object.
|
boolean |
isConstructorArgument()
Returns whether this property is a constructor argument.
|
void |
setValue(Object bean,
Object value)
Sets the property value on a bean object.
|
Object getValue(Object bean)
bean - the bean object to get the property fromvoid setValue(Object bean, Object value)
bean - the bean object to set the propertyvalue - the property valueboolean isConstructorArgument()
int getConstructorArgumentIndex()