org.apache.axis.utils
public class BeanPropertyDescriptor extends Object
Field Summary | |
---|---|
protected static Log | log |
protected PropertyDescriptor | myPD |
protected static Object[] | noArgs |
Constructor Summary | |
---|---|
BeanPropertyDescriptor(PropertyDescriptor pd)
Constructor (takes a PropertyDescriptor)
| |
protected | BeanPropertyDescriptor()
Protected constructor for use by our children |
Method Summary | |
---|---|
Object | get(Object obj)
Get the property value |
Object | get(Object obj, int i)
Get an indexed property |
Class | getActualType() |
String | getName()
Get our property name. |
Class | getType()
Get the type of a property |
protected void | growArrayToSize(Object obj, Class componentType, int i)
Grow the array |
boolean | isArray()
Query if property is an array (excluded byte[]). |
boolean | isIndexed()
Query if property is indexed
|
boolean | isIndexedOrArray()
Query if property is indexed or if it' an array.
|
boolean | isReadable()
Query if property is readable |
boolean | isWriteable()
Query if property is writeable |
void | set(Object obj, Object newValue)
Set the property value |
void | set(Object obj, int i, Object newValue)
Set an indexed property value |
Parameters: pd
Parameters: obj is the object
Returns: the entire propery value
Parameters: obj is the object i the index
Returns: the object at the indicated index
Returns: the type of the property
Parameters: obj componentType i
Throws: InvocationTargetException IllegalAccessException
Returns: true if it's an array (excluded byte[])
Returns: true if indexed methods exist
Returns: true if indexed methods exist or if it's an array
Returns: true if readable
Returns: true if writeable
Parameters: obj is the object newValue is the new value
Parameters: obj is the object i the index newValue is the new value