All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object
|
+----java.beans.FeatureDescriptor
|
+----java.beans.PropertyDescriptor
|
+----java.beans.IndexedPropertyDescriptor
An indexed property may also provide simple non-indexed read and write methods. If these are present, they read and write arrays of the type returned by the indexed read method.
public IndexedPropertyDescriptor(String propertyName,
Class beanClass) throws IntrospectionException
Thus if the argument name is "fred", it will assume that there is an indexed reader method "getFred", a non-indexed (array) reader method also called "getFred", an indexed writer method "setFred", and finally a non-indexed writer method "setFred".
public IndexedPropertyDescriptor(String propertyName,
Class beanClass,
String getterName,
String setterName,
String indexedGetterName,
String indexedSetterName) throws IntrospectionException
public IndexedPropertyDescriptor(String propertyName,
Method getter,
Method setter,
Method indexedGetter,
Method indexedSetter) throws IntrospectionException
public Method getIndexedReadMethod()
public Method getIndexedWriteMethod()
public Class getIndexedPropertyType()
This is the type that will be returned by the indexedReadMethod.
All Packages Class Hierarchy This Package Previous Next Index