|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.thoughtworks.xstream.converters.javabean.BeanProperty
public class BeanProperty
Provide access to a bean property.
Field Summary | |
---|---|
protected Method |
getter
Deprecated. the getter |
Constructor Summary | |
---|---|
BeanProperty(Class memberClass,
String propertyName,
Class propertyType)
Deprecated. Creates a new BeanProperty that gets the specified property from
the specified class. |
Method Summary | |
---|---|
Object |
get(Object member)
Deprecated. Gets the value of this property for the specified Object. |
Class |
getBeanClass()
Deprecated. Gets the base class that this getter accesses. |
String |
getName()
Deprecated. Gets the name of the property that this getter extracts. |
Class |
getType()
Deprecated. Returns the property type |
boolean |
isReadable()
Deprecated. Gets whether this property can get get. |
boolean |
isWritable()
Deprecated. Gets whether this property can be set. |
Object |
set(Object member,
Object newValue)
Deprecated. Sets the value of this property for the specified Object. |
void |
setGetterMethod(Method method)
Deprecated. |
void |
setSetterMethod(Method method)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Method getter
Constructor Detail |
---|
public BeanProperty(Class memberClass, String propertyName, Class propertyType)
BeanProperty
that gets the specified property from
the specified class.
Method Detail |
---|
public Class getBeanClass()
public Class getType()
public String getName()
public boolean isReadable()
public boolean isWritable()
public Object get(Object member) throws IllegalArgumentException, IllegalAccessException
IllegalAccessException
IllegalArgumentException
public Object set(Object member, Object newValue) throws IllegalArgumentException, IllegalAccessException
IllegalAccessException
IllegalArgumentException
public void setGetterMethod(Method method)
method
- public void setSetterMethod(Method method)
method
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |