public class IndexedPropertyDescriptor extends PropertyDescriptor
Constructor and Description |
---|
IndexedPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass)
Constructs a new instance of
IndexedPropertyDescriptor . |
IndexedPropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String getterName,
java.lang.String setterName,
java.lang.String indexedGetterName,
java.lang.String indexedSetterName)
Constructs a new instance of
IndexedPropertyDescriptor . |
IndexedPropertyDescriptor(java.lang.String propertyName,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter,
java.lang.reflect.Method indexedGetter,
java.lang.reflect.Method indexedSetter)
Constructs a new instance of
IndexedPropertyDescriptor . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Determines if this
IndexedPropertyDescriptor is equal to
the specified object. |
java.lang.Class<?> |
getIndexedPropertyType()
Obtains the Class object of the indexed property type.
|
java.lang.reflect.Method |
getIndexedReadMethod()
Obtains the indexed getter.
|
java.lang.reflect.Method |
getIndexedWriteMethod()
Obtains the indexed setter.
|
int |
hashCode()
HashCode of the IndexedPropertyDescriptor
|
void |
setIndexedReadMethod(java.lang.reflect.Method indexedGetter)
Sets the indexed getter as the specified method.
|
void |
setIndexedWriteMethod(java.lang.reflect.Method indexedSetter)
Sets the indexed setter as the specified method.
|
createPropertyEditor, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
public IndexedPropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass, java.lang.String getterName, java.lang.String setterName, java.lang.String indexedGetterName, java.lang.String indexedSetterName) throws IntrospectionException
IndexedPropertyDescriptor
.propertyName
- the specified indexed property's name.beanClass
- the bean classgetterName
- the name of the array gettersetterName
- the name of the array setterindexedGetterName
- the name of the indexed getter.indexedSetterName
- the name of the indexed setter.IntrospectionException
public IndexedPropertyDescriptor(java.lang.String propertyName, java.lang.reflect.Method getter, java.lang.reflect.Method setter, java.lang.reflect.Method indexedGetter, java.lang.reflect.Method indexedSetter) throws IntrospectionException
IndexedPropertyDescriptor
.propertyName
- the specified indexed property's name.getter
- the array gettersetter
- the array setterindexedGetter
- the indexed getterindexedSetter
- the indexed setterIntrospectionException
public IndexedPropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass) throws IntrospectionException
IndexedPropertyDescriptor
.propertyName
- the specified indexed property's name.beanClass
- the bean class.IntrospectionException
public void setIndexedReadMethod(java.lang.reflect.Method indexedGetter) throws IntrospectionException
indexedGetter
- the specified indexed getter.IntrospectionException
public void setIndexedWriteMethod(java.lang.reflect.Method indexedSetter) throws IntrospectionException
indexedSetter
- the specified indexed setter.IntrospectionException
public java.lang.reflect.Method getIndexedWriteMethod()
public java.lang.reflect.Method getIndexedReadMethod()
public boolean equals(java.lang.Object obj)
IndexedPropertyDescriptor
is equal to
the specified object. Two IndexedPropertyDescriptor
s are
equal if the reader, indexed reader, writer, indexed writer, property
types, indexed property type, property editor and flags are equal.equals
in class PropertyDescriptor
obj
- public int hashCode()
hashCode
in class PropertyDescriptor
public java.lang.Class<?> getIndexedPropertyType()