Public Constructor Summary
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass)
Constructs a new instance of
IndexedPropertyDescriptor . |
Public Method Summary
boolean | |
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 | |
void |
Inherited Method Summary
Public Constructors
public IndexedPropertyDescriptor (String propertyName, Class<?> beanClass, String getterName, String setterName, String indexedGetterName, String indexedSetterName)
Constructs a new instance of IndexedPropertyDescriptor
.
Parameters
propertyName | the specified indexed property's name. |
---|---|
beanClass | the bean class |
getterName | the name of the array getter |
setterName | the name of the array setter |
indexedGetterName | the name of the indexed getter. |
indexedSetterName | the name of the indexed setter. |
Throws
IntrospectionException |
---|
public IndexedPropertyDescriptor (String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter)
Constructs a new instance of IndexedPropertyDescriptor
.
Parameters
propertyName | the specified indexed property's name. |
---|---|
getter | the array getter |
setter | the array setter |
indexedGetter | the indexed getter |
indexedSetter | the indexed setter |
Throws
IntrospectionException |
---|
public IndexedPropertyDescriptor (String propertyName, Class<?> beanClass)
Constructs a new instance of IndexedPropertyDescriptor
.
Parameters
propertyName | the specified indexed property's name. |
---|---|
beanClass | the bean class. |
Throws
IntrospectionException |
---|
Public Methods
public boolean equals (Object obj)
Determines if this 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.
Returns
- true if this indexed property descriptor is equal to the specified object.
public Class<?> getIndexedPropertyType ()
Obtains the Class object of the indexed property type.
Returns
- the Class object of the indexed property type.
public int hashCode ()
HashCode of the IndexedPropertyDescriptor
Returns
- this object's hash code.
public void setIndexedReadMethod (Method indexedGetter)
Sets the indexed getter as the specified method.
Parameters
indexedGetter | the specified indexed getter. |
---|
Throws
IntrospectionException |
---|
public void setIndexedWriteMethod (Method indexedSetter)
Sets the indexed setter as the specified method.
Parameters
indexedSetter | the specified indexed setter. |
---|
Throws
IntrospectionException |
---|