java.beans.IndexedPropertyDescriptor (JDK 1.1)
An IndexedPropertyDescriptor object is a type of PropertyDescriptor that describes a Java bean property that is (or behaves like) an array. The BeanInfo class for a Java bean optionally creates and initializes IndexedPropertyDescriptor objects to describe the indexed properties that the bean supports. Typically, only application builders and similar tools use the descriptor objects to obtain indexed property description information.
You create an IndexedPropertyDescriptor by specifying the name of the indexed property and the Class object for the bean. If you have not followed the standard "design patterns" for accessor method naming, you may also specify the accessor methods for the property, either as method names or as java.lang.reflect.Method objects. Once you have created an IndexedPropertyDescriptor object, you can use the methods of PropertyDescriptor and FeatureDescriptor to provide additional information about the indexed property.
public classIndexedPropertyDescriptorextends PropertyDescriptor { //Public ConstructorspublicIndexedPropertyDescriptor(StringpropertyName, ClassbeanClass) throws IntrospectionException; publicIndexedPropertyDescriptor(StringpropertyName, ClassbeanClass, StringgetterName, publicIndexedPropertyDescriptor'u'StringsetterName, StringindexedGetterName, publicIndexedPropertyDescriptor'u'StringindexedSetterName) throws IntrospectionException; publicIndexedPropertyDescriptor(StringpropertyName, Methodgetter, Methodsetter, MethodindexedGetter, publicIndexedPropertyDescriptor'u'MethodindexedSetter) throws IntrospectionException; //Public Instance Methodspublic ClassgetIndexedPropertyType(); public MethodgetIndexedReadMethod(); public MethodgetIndexedWriteMethod(); }
Hierarchy:
Object->FeatureDescriptor->PropertyDescriptor->IndexedPropertyDescriptor