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