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