|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface PropertyAccessor
A PropertyAccessor provides access to a bean property.
Implementations must be thread safe.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
Object getValue(Object bean)
bean - the bean object to get the property from
void setValue(Object bean,
Object value)
bean - the bean object to set the propertyvalue - the property valueboolean isConstructorArgument()
int getConstructorArgumentIndex()
|
BeanIO 2.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||