static final class PropertyAccessorFactory.PropertyAccessorWrapperString extends PropertyAccessorFactory.PropertyAccessorWrapper implements PropertyAccessorFactory.PropertyAccessorString
| Modifier and Type | Field and Description |
|---|---|
private java.util.function.BiConsumer |
getterConsumer |
private java.util.function.BiConsumer |
setterConsumer |
private PropertyAccessorFactory.PropertyAccessorString |
stringImpl |
impl| Constructor and Description |
|---|
PropertyAccessorWrapperString(PropertyAccessor impl,
java.util.function.BiConsumer getterConsumer,
java.util.function.BiConsumer setterConsumer) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getString(java.lang.Object object)
Gets the property value as a String.
|
void |
setString(java.lang.Object object,
java.lang.String value)
Sets the property value from a String.
|
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 PropertyAccessorFactory.PropertyAccessorString stringImpl
private final java.util.function.BiConsumer getterConsumer
private final java.util.function.BiConsumer setterConsumer
public PropertyAccessorWrapperString(PropertyAccessor impl, java.util.function.BiConsumer getterConsumer, java.util.function.BiConsumer setterConsumer)
public void setString(java.lang.Object object,
java.lang.String value)
PropertyAccessorFactory.PropertyAccessorStringsetString in interface PropertyAccessorFactory.PropertyAccessorStringobject - the object to set the property onvalue - the String value to setpublic java.lang.String getString(java.lang.Object object)
PropertyAccessorFactory.PropertyAccessorStringgetString in interface PropertyAccessorFactory.PropertyAccessorStringobject - the object to get the property from