Package com.smartgwt.client.bean

# Class BeanMethod<BeanClass,ValueType>

java.lang.Object
com.smartgwt.client.bean.BeanMethod<BeanClass,ValueType>

public class BeanMethod<BeanClass,ValueType> extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BeanMethod(Class<?> valueType, JavaScriptObject getter, JavaScriptObject setter)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected BeanValueType.Convertability`
  `convertabilityFrom(Object value)`
  `protected BeanValueType.Convertability`
  `convertabilityToString()`
  `protected Object`
  `getProperty(BeanClass bean)`
  `protected String`
  `getPropertyAsString(BeanClass bean)`
  `protected ValueType`
  `getPropertyFromBean(BeanClass bean)`
  `protected void`
  `setProperty(BeanClass bean, Object value)`
  `protected void`
  `setPropertyOnBean(BeanClass bean, ValueType value)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BeanMethod

    public BeanMethod(Class<?> valueType, JavaScriptObject getter, JavaScriptObject setter)

- ## Method Details

  - ### convertabilityFrom

    protected BeanValueType.Convertability convertabilityFrom(Object value)

  - ### convertabilityToString

    protected BeanValueType.Convertability convertabilityToString()

  - ### getPropertyFromBean

    protected ValueType getPropertyFromBean(BeanClass bean)

  - ### setPropertyOnBean

    protected void setPropertyOnBean(BeanClass bean, ValueType value)

  - ### getProperty

    protected Object getProperty(BeanClass bean)

  - ### getPropertyAsString

    protected String getPropertyAsString(BeanClass bean)

  - ### setProperty

    protected void setProperty(BeanClass bean, Object value)