org.xerial.util.bean.impl
Class Setter
java.lang.Object
org.xerial.util.bean.impl.Setter
- All Implemented Interfaces:
- BeanBinder, BeanUpdator
public class Setter
- extends Object
- implements BeanUpdator
Setter
public Setter(Method method,
String parameterName,
Class valueType)
getInputType
public Class getInputType()
- Specified by:
getInputType in interface BeanUpdator
getType
public BeanUpdatorType getType()
- Specified by:
getType in interface BeanUpdator
getMethod
public Method getMethod()
- Specified by:
getMethod in interface BeanBinder
setMethod
public void setMethod(Method method)
- Specified by:
setMethod in interface BeanBinder
toString
public String toString()
- Specified by:
toString in interface BeanBinder- Overrides:
toString in class Object
getParameterName
public String getParameterName()
- Specified by:
getParameterName in interface BeanBinder
setParameterName
public void setParameterName(String parameterName)
- Specified by:
setParameterName in interface BeanBinder
getJSONArray
public static JSONArray getJSONArray(Object json,
String key)
constractableTest
public static void constractableTest(Class c)
throws BeanException
- Throws:
BeanException
invokeMethod
protected void invokeMethod(Object bean,
Object[] args)
throws BeanException
- Invoke a method of the bean object, then handle some exceptions if they
occur
- Parameters:
bean - args -
- Throws:
BeanException

This work is licensed under a Creative Commons Attribution-ShareAlike 2.1 Japan License.