|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis.utils.BeanPropertyDescriptor org.apache.axis.utils.FieldPropertyDescriptor
Constructor Summary | |
FieldPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Field _field)
Construct a BPD with a field Both must be set |
Method Summary | |
java.lang.Object |
get(java.lang.Object obj)
Get the property value |
java.lang.Object |
get(java.lang.Object obj,
int i)
Get an indexed property |
java.lang.Class |
getActualType()
|
java.lang.reflect.Field |
getField()
|
java.lang.String |
getName()
Get our property name. |
java.lang.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(java.lang.Object obj,
int i,
java.lang.Object newValue)
Set an indexed property value |
void |
set(java.lang.Object obj,
java.lang.Object newValue)
Set the property value |
Methods inherited from class org.apache.axis.utils.BeanPropertyDescriptor |
isArray, isIndexedOrArray, setName |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FieldPropertyDescriptor(java.lang.String _name, java.lang.reflect.Field _field)
_name
- is the name of the property_field
- is the name of the public instance fieldMethod Detail |
public java.lang.String getName()
BeanPropertyDescriptor
getName
in class BeanPropertyDescriptor
public boolean isReadable()
isReadable
in class BeanPropertyDescriptor
public boolean isWriteable()
isWriteable
in class BeanPropertyDescriptor
public boolean isIndexed()
isIndexed
in class BeanPropertyDescriptor
public java.lang.Object get(java.lang.Object obj) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
get
in class BeanPropertyDescriptor
obj
- is the object
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public void set(java.lang.Object obj, java.lang.Object newValue) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
set
in class BeanPropertyDescriptor
obj
- is the objectnewValue
- is the new value
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public java.lang.Object get(java.lang.Object obj, int i) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
get
in class BeanPropertyDescriptor
obj
- is the objecti
- the index
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public void set(java.lang.Object obj, int i, java.lang.Object newValue) throws java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException
set
in class BeanPropertyDescriptor
obj
- is the objecti
- the indexnewValue
- is the new value
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
public java.lang.Class getType()
getType
in class BeanPropertyDescriptor
public java.lang.Class getActualType()
getActualType
in class BeanPropertyDescriptor
public java.lang.reflect.Field getField()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |