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