T - the type of the object containing the propertystatic final class PropertyAccessorFactory.FunctionAccessorLongValue<T> extends FunctionAccessor<T> implements PropertyAccessorFactory.PropertyAccessorLongValue
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.ToLongFunction<T> |
getterFunc |
private java.util.function.ObjLongConsumer<T> |
setterFunc |
exceptionHandler, getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
FunctionAccessorLongValue(java.lang.String name,
java.util.function.ToLongFunction<T> getterFunc,
java.util.function.ObjLongConsumer<T> setterFunc) |
| Modifier and Type | Method and Description |
|---|---|
long |
getLongValue(java.lang.Object object)
Gets the property value as a long.
|
void |
setLongValue(java.lang.Object object,
long value)
Sets the property value from a long.
|
errorForGet, errorForSet, name, propertyClass, propertyType, supportGet, supportSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBooleanValue, getByteValue, getCharValue, getDoubleValue, getFloatValue, getIntValue, getObject, getShortValue, setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setObject, setShortValuename, propertyClass, propertyType, supportGet, supportSetprivate final java.util.function.ToLongFunction<T> getterFunc
private final java.util.function.ObjLongConsumer<T> setterFunc
public long getLongValue(java.lang.Object object)
PropertyAccessorgetLongValue in interface PropertyAccessorobject - the object to get the property frompublic void setLongValue(java.lang.Object object,
long value)
PropertyAccessorsetLongValue in interface PropertyAccessorobject - the object to set the property onvalue - the long value to set