public class BeanMethod<BeanClass,ValueType>
extends java.lang.Object
Constructor and Description |
---|
BeanMethod(java.lang.Class<?> valueType,
JavaScriptObject getter,
JavaScriptObject setter) |
Modifier and Type | Method and Description |
---|---|
protected BeanValueType.Convertability |
convertabilityFrom(java.lang.Object value) |
protected BeanValueType.Convertability |
convertabilityToString() |
protected java.lang.Object |
getProperty(BeanClass bean) |
protected java.lang.String |
getPropertyAsString(BeanClass bean) |
protected ValueType |
getPropertyFromBean(BeanClass bean) |
protected void |
setProperty(BeanClass bean,
java.lang.Object value) |
protected void |
setPropertyOnBean(BeanClass bean,
ValueType value) |
public BeanMethod(java.lang.Class<?> valueType, JavaScriptObject getter, JavaScriptObject setter)
protected BeanValueType.Convertability convertabilityFrom(java.lang.Object value)
protected BeanValueType.Convertability convertabilityToString()
protected java.lang.Object getProperty(BeanClass bean)
protected java.lang.String getPropertyAsString(BeanClass bean)
protected void setProperty(BeanClass bean, java.lang.Object value)