public abstract class BeanValueAccessor extends ValueAccessor
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
myBean |
protected java.lang.String |
myPropertyName |
Constructor and Description |
---|
BeanValueAccessor(java.lang.Object bean,
java.lang.String propertyName) |
Modifier and Type | Method and Description |
---|---|
static BeanValueAccessor |
createAccessor(java.lang.Object bean,
java.lang.String propertyName) |
protected abstract java.lang.Object |
doGetValue() |
protected abstract void |
doSetValue(java.lang.Object value) |
java.lang.Object |
getValue() |
void |
setValue(java.lang.Object value) |
checkBoxAccessor, editorTextFieldAccessor, getType, textFieldAccessor
protected final java.lang.Object myBean
protected final java.lang.String myPropertyName
public BeanValueAccessor(java.lang.Object bean, java.lang.String propertyName)
public static BeanValueAccessor createAccessor(java.lang.Object bean, java.lang.String propertyName)
public java.lang.Object getValue()
getValue
in class ValueAccessor
public void setValue(java.lang.Object value)
setValue
in class ValueAccessor
protected abstract java.lang.Object doGetValue() throws java.lang.Exception
java.lang.Exception
protected abstract void doSetValue(java.lang.Object value) throws java.lang.Exception
java.lang.Exception