static final class PropertyAccessorFactory.MethodAccessorString extends MethodAccessor implements PropertyAccessorFactory.PropertyAccessorString
getter, name, propertyClass, propertyType, setter| Constructor and Description |
|---|
MethodAccessorString(java.lang.String name,
java.lang.reflect.Type propertyType,
java.lang.Class<?> propertyClass,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter) |
| 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.
|
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, supportSetpublic MethodAccessorString(java.lang.String name,
java.lang.reflect.Type propertyType,
java.lang.Class<?> propertyClass,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
public java.lang.String getString(java.lang.Object object)
PropertyAccessorFactory.PropertyAccessorStringgetString in interface PropertyAccessorFactory.PropertyAccessorStringobject - the object to get the property frompublic 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 set