|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.apache.axis.utils.BeanPropertyDescriptor
This class is essentially a copy of the PropertyDescriptor information, except that the values in it can be modified. Updated this to include fields that don't have getter/setters.
| Field Summary | |
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Field _field)
Construct a BPD with a field Both must be set |
|
BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Method _getter,
java.lang.reflect.Method _setter)
Construct a BPD with getter/setter methods Both must be set |
|
BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Method _getter,
java.lang.reflect.Method _setter,
java.lang.reflect.Method _getterIndexed,
java.lang.reflect.Method _setterIndexed)
Construct a BPD with getter/setter methods for an indexed property. |
|
| 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.String |
getName()
Get the name of a property |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static org.apache.commons.logging.Log log
| Constructor Detail |
public BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Method _getter,
java.lang.reflect.Method _setter)
String - _name is the name of the propertyMethod - _getter is the accessor methodMethod - _setter is the modifier method
public BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Method _getter,
java.lang.reflect.Method _setter,
java.lang.reflect.Method _getterIndexed,
java.lang.reflect.Method _setterIndexed)
String - _name is the name of the propertyMethod - _getter is the accessor methodMethod - _setter is the modifier methodMethod - _getterIndexed is the accessor methodMethod - _setterIndexed is the modifier method
public BeanPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Field _field)
String - _name is the name of the propertyField - _field is the name of the public instance field| Method Detail |
public boolean isReadable()
public boolean isWriteable()
public boolean isIndexed()
public java.lang.Object get(java.lang.Object obj)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
obj - is the object
public void set(java.lang.Object obj,
java.lang.Object newValue)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
obj - is the objectis - the new value
public java.lang.Object get(java.lang.Object obj,
int i)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
obj - is the objecti - the index
public void set(java.lang.Object obj,
int i,
java.lang.Object newValue)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
obj - is the objecti - the indexnewValue - is the new valuepublic java.lang.String getName()
public java.lang.Class getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||