T - the type of the object containing the propertystatic final class PropertyAccessorFactory.FunctionAccessorInteger<T> extends FunctionAccessor<T> implements PropertyAccessorFactory.PropertyAccessorInteger
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.Function<T,java.lang.Integer> |
getterFunc |
private java.util.function.BiConsumer<T,java.lang.Integer> |
setterFunc |
exceptionHandler, getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
FunctionAccessorInteger(java.lang.String name,
java.util.function.Function<T,java.lang.Integer> getterFunc,
java.util.function.BiConsumer<T,java.lang.Integer> setterFunc) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getInteger(java.lang.Object object) |
void |
setInteger(java.lang.Object object,
java.lang.Integer 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, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setObject, setShortValuesetBooleanValuename, propertyClass, propertyType, supportGet, supportSetprivate final java.util.function.Function<T,java.lang.Integer> getterFunc
private final java.util.function.BiConsumer<T,java.lang.Integer> setterFunc
public java.lang.Integer getInteger(java.lang.Object object)
getInteger in interface PropertyAccessorFactory.PropertyAccessorIntegerpublic void setInteger(java.lang.Object object,
java.lang.Integer value)
setInteger in interface PropertyAccessorFactory.PropertyAccessorInteger