org.apache.axis.utils
public class FieldPropertyDescriptor extends BeanPropertyDescriptor
Constructor Summary | |
---|---|
FieldPropertyDescriptor(String _name, Field _field)
Construct a BPD with a field
Both must be set |
Method Summary | |
---|---|
Object | get(Object obj)
Get the property value |
Object | get(Object obj, int i)
Get an indexed property |
Class | getActualType() |
Field | getField() |
String | getName() |
Class | getType()
Get the type of a property |
boolean | isIndexed()
Query if property is indexed.
|
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: _name is the name of the property _field is the name of the public instance field
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
Returns: true if indexed methods exist
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