flexjson
Class BeanProperty
java.lang.Object
flexjson.BeanProperty
public class BeanProperty
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
property
protected Field property
readMethod
protected Method readMethod
writeMethod
protected Method writeMethod
writeMethods
protected Map<Class<?>,Method> writeMethods
BeanProperty
public BeanProperty(String name,
BeanAnalyzer bean)
BeanProperty
public BeanProperty(Field property,
BeanAnalyzer bean)
getName
public String getName()
getProperty
public Field getProperty()
getPropertyType
public Class getPropertyType()
getReadMethod
public Method getReadMethod()
getWriteMethod
public Method getWriteMethod()
getWriteMethods
public Collection<Method> getWriteMethods()
addWriteMethod
public void addWriteMethod(Method method)
setReadMethod
public void setReadMethod(Method method)
isAnnotated
public Boolean isAnnotated()
getValue
public Object getValue(Object instance)
throws InvocationTargetException,
IllegalAccessException
- Throws:
InvocationTargetException
IllegalAccessException
isReadable
public Boolean isReadable()
isWritable
public Boolean isWritable()
Copyright © 2010. All Rights Reserved.