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