T - the type of the object containing the propertystatic final class PropertyAccessorFactory.FunctionAccessorBoolean<T> extends FunctionAccessor<T> implements PropertyAccessorFactory.PropertyAccessorBoolean
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<T,java.lang.Boolean> |
getterFunc |
private java.util.function.BiConsumer<T,java.lang.Boolean> |
setterFunc |
exceptionHandler, getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
FunctionAccessorBoolean(java.lang.String name,
java.util.function.Function<T,java.lang.Boolean> getterFunc,
java.util.function.BiConsumer<T,java.lang.Boolean> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBoolean(java.lang.Object object) |
void |
setBoolean(java.lang.Object object,
java.lang.Boolean value) |
errorForGet, errorForSet, name, propertyClass, propertyType, supportGet, supportSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getObject, getShortValue, setObjectsetBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValuename, propertyClass, propertyType, supportGet, supportSetprivate final java.util.function.Function<T,java.lang.Boolean> getterFunc
private final java.util.function.BiConsumer<T,java.lang.Boolean> setterFunc
public FunctionAccessorBoolean(java.lang.String name,
java.util.function.Function<T,java.lang.Boolean> getterFunc,
java.util.function.BiConsumer<T,java.lang.Boolean> setterFunc,
java.util.function.BiFunction<PropertyAccessor,java.lang.Throwable,java.lang.RuntimeException> exceptionHandler)
public java.lang.Boolean getBoolean(java.lang.Object object)
getBoolean in interface PropertyAccessorFactory.PropertyAccessorBooleanpublic void setBoolean(java.lang.Object object,
java.lang.Boolean value)
setBoolean in interface PropertyAccessorFactory.PropertyAccessorBoolean