public class IndexedPropertyDescriptor extends PropertyDescriptor
| Constructor and Description |
|---|
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
Constructs a new instance of
IndexedPropertyDescriptor. |
IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass,
String getterName,
String setterName,
String indexedGetterName,
String indexedSetterName)
Constructs a new instance of
IndexedPropertyDescriptor. |
IndexedPropertyDescriptor(String propertyName,
Method getter,
Method setter,
Method indexedGetter,
Method indexedSetter)
Constructs a new instance of
IndexedPropertyDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Determines if this
IndexedPropertyDescriptor is equal to
the specified object. |
Class<?> |
getIndexedPropertyType()
Obtains the Class object of the indexed property type.
|
Method |
getIndexedReadMethod()
Obtains the indexed getter.
|
Method |
getIndexedWriteMethod()
Obtains the indexed setter.
|
int |
hashCode()
HashCode of the IndexedPropertyDescriptor
|
void |
setIndexedReadMethod(Method indexedGetter)
Sets the indexed getter as the specified method.
|
void |
setIndexedWriteMethod(Method indexedSetter)
Sets the indexed setter as the specified method.
|
createPropertyEditor, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethodattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValuepublic IndexedPropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName, String indexedGetterName, 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.IntrospectionExceptionpublic IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter) throws IntrospectionException
IndexedPropertyDescriptor.propertyName - the specified indexed property's name.getter - the array gettersetter - the array setterindexedGetter - the indexed getterindexedSetter - the indexed setterIntrospectionExceptionpublic IndexedPropertyDescriptor(String propertyName, Class<?> beanClass) throws IntrospectionException
IndexedPropertyDescriptor.propertyName - the specified indexed property's name.beanClass - the bean class.IntrospectionExceptionpublic void setIndexedReadMethod(Method indexedGetter) throws IntrospectionException
indexedGetter - the specified indexed getter.IntrospectionExceptionpublic void setIndexedWriteMethod(Method indexedSetter) throws IntrospectionException
indexedSetter - the specified indexed setter.IntrospectionExceptionpublic Method getIndexedWriteMethod()
public Method getIndexedReadMethod()
public boolean equals(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 PropertyDescriptorobj - public int hashCode()
hashCode in class PropertyDescriptorpublic Class<?> getIndexedPropertyType()
Copyright © 2015. All Rights Reserved.