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