org.apache.axis.utils
public class FieldPropertyDescriptor extends BeanPropertyDescriptor
log, myPD, noArgs| Constructor and Description |
|---|
FieldPropertyDescriptor(java.lang.String _name,
java.lang.reflect.Field _field)
Construct a BPD with a field
Both must be set
|
| Modifier and Type | Method and Description |
|---|---|
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
|
growArrayToSize, isArray, isIndexedOrArraypublic 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 fieldpublic java.lang.String getName()
BeanPropertyDescriptorgetName in class BeanPropertyDescriptorpublic boolean isReadable()
isReadable in class BeanPropertyDescriptorpublic boolean isWriteable()
isWriteable in class BeanPropertyDescriptorpublic boolean isIndexed()
isIndexed in class BeanPropertyDescriptorpublic java.lang.Object get(java.lang.Object obj)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
get in class BeanPropertyDescriptorobj - is the objectjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic void set(java.lang.Object obj,
java.lang.Object newValue)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
set in class BeanPropertyDescriptorobj - is the objectnewValue - is the new valuejava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic java.lang.Object get(java.lang.Object obj,
int i)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
get in class BeanPropertyDescriptorobj - is the objecti - the indexjava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic void set(java.lang.Object obj,
int i,
java.lang.Object newValue)
throws java.lang.reflect.InvocationTargetException,
java.lang.IllegalAccessException
set in class BeanPropertyDescriptorobj - is the objecti - the indexnewValue - is the new valuejava.lang.reflect.InvocationTargetExceptionjava.lang.IllegalAccessExceptionpublic java.lang.Class getType()
getType in class BeanPropertyDescriptorpublic java.lang.Class getActualType()
getActualType in class BeanPropertyDescriptorpublic java.lang.reflect.Field getField()
Copyright ? 2005 Apache Web Services Project. All Rights Reserved.