public abstract class BeanProperty<BeanClass>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
BeanProperty.NoSetterException |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name |
Constructor and Description |
---|
BeanProperty(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected abstract BeanMethod<BeanClass,?> |
defaultGetter() |
java.lang.String |
getName() |
java.lang.Object |
getProperty(BeanClass bean) |
java.lang.String |
getPropertyAsString(BeanClass bean) |
protected abstract BeanMethod<BeanClass,?> |
getterForString() |
void |
setProperty(BeanClass bean,
java.lang.Object value) |
protected abstract BeanMethod<BeanClass,?> |
setterForValue(java.lang.Object value) |
public java.lang.String getName()
protected abstract BeanMethod<BeanClass,?> defaultGetter()
protected abstract BeanMethod<BeanClass,?> getterForString()
protected abstract BeanMethod<BeanClass,?> setterForValue(java.lang.Object value)
public java.lang.Object getProperty(BeanClass bean)
public java.lang.String getPropertyAsString(BeanClass bean)
public void setProperty(BeanClass bean, java.lang.Object value) throws BeanProperty.NoSetterException
BeanProperty.NoSetterException