Class KeyedPropertyDescriptor


public class KeyedPropertyDescriptor
extends java.beans.PropertyDescriptor

A special kind of PropertyDescriptor provided by BeanAnaliyzer. Keyed properties are named "[]" and may accept any type of key. A keyed property is usually signified by the following method signature: public <propertyType> get(<keyType>);. Arrays, Strings and Lists always have keyed properties with a key type of int.

5 , 9/07/00
Brian S O'Neill

Method Summary
 java.lang.Class getKeyedPropertyType()
 java.lang.reflect.Method[] getKeyedReadMethods()
          A null element indicates that an array lookup should be performed.
Methods inherited from class java.beans.PropertyDescriptor
getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Detail


public java.lang.reflect.Method[] getKeyedReadMethods()
A null element indicates that an array lookup should be performed.


public java.lang.Class getKeyedPropertyType()