static final class PropertyAccessorFactory.MethodAccessorObject extends MethodAccessor implements PropertyAccessorFactory.PropertyAccessorObject
getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
MethodAccessorObject(java.lang.String name,
java.lang.reflect.Type propertyType,
java.lang.Class<?> propertyClass,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getObject(java.lang.Object object)
Gets the property value as an Object.
|
void |
setObject(java.lang.Object object,
java.lang.Object value)
Sets the property value from an Object.
|
errorForGet, errorForSet, name, propertyClass, propertyType, supportGet, supportSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getShortValue, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValuename, propertyClass, propertyType, supportGet, supportSetpublic MethodAccessorObject(java.lang.String name,
java.lang.reflect.Type propertyType,
java.lang.Class<?> propertyClass,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
public java.lang.Object getObject(java.lang.Object object)
PropertyAccessorgetObject in interface PropertyAccessorobject - the object to get the property frompublic void setObject(java.lang.Object object,
java.lang.Object value)
PropertyAccessorsetObject in interface PropertyAccessorobject - the object to set the property onvalue - the value to set