org.apache.axis2.databinding.beans
Class BeanPropertyDescriptor

java.lang.Object
  extended byorg.apache.axis2.databinding.beans.BeanPropertyDescriptor
All Implemented Interfaces:
FieldAccessor, IndexedFieldAccessor

public class BeanPropertyDescriptor
extends Object
implements FieldAccessor, IndexedFieldAccessor

BeanPropertyDescriptor


Constructor Summary
BeanPropertyDescriptor()
           
 
Method Summary
 Method getIndexedReadMethod()
           
 Object getIndexedValue(Object targetObject, int index)
           
 Method getIndexedWriteMethod()
           
 Method getReadMethod()
           
 Object getValue(Object targetObject)
           
 Method getWriteMethod()
           
 void setIndexedReadMethod(Method indexedReadMethod)
           
 void setIndexedValue(Object targetObject, Object value, int index)
           
 void setIndexedWriteMethod(Method indexedWriteMethod)
           
 void setReadMethod(Method readMethod)
           
 void setValue(Object targetObject, Object value)
           
 void setWriteMethod(Method writeMethod)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyDescriptor

public BeanPropertyDescriptor()
Method Detail

getReadMethod

public Method getReadMethod()

setReadMethod

public void setReadMethod(Method readMethod)

getWriteMethod

public Method getWriteMethod()

setWriteMethod

public void setWriteMethod(Method writeMethod)

getIndexedReadMethod

public Method getIndexedReadMethod()

setIndexedReadMethod

public void setIndexedReadMethod(Method indexedReadMethod)

getIndexedWriteMethod

public Method getIndexedWriteMethod()

setIndexedWriteMethod

public void setIndexedWriteMethod(Method indexedWriteMethod)

getValue

public Object getValue(Object targetObject)
                throws Exception
Specified by:
getValue in interface FieldAccessor
Throws:
Exception

setValue

public void setValue(Object targetObject,
                     Object value)
              throws Exception
Specified by:
setValue in interface FieldAccessor
Throws:
Exception

getIndexedValue

public Object getIndexedValue(Object targetObject,
                              int index)
                       throws Exception
Specified by:
getIndexedValue in interface IndexedFieldAccessor
Throws:
Exception

setIndexedValue

public void setIndexedValue(Object targetObject,
                            Object value,
                            int index)
                     throws Exception
Specified by:
setIndexedValue in interface IndexedFieldAccessor
Throws:
Exception