IndexedPropertyDescriptor

public class IndexedPropertyDescriptor extends PropertyDescriptor

Public Constructor Summary

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.
IndexedPropertyDescriptor(String propertyName, Class<?> beanClass)
Constructs a new instance of IndexedPropertyDescriptor.

Public Method Summary

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.

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.

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

public IndexedPropertyDescriptor (String propertyName, Class<?> beanClass)

Constructs a new instance of IndexedPropertyDescriptor.

Parameters
propertyName the specified indexed property's name.
beanClass the bean class.

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 Method getIndexedReadMethod ()

Obtains the indexed getter.

Returns
  • the indexed getter.

public Method getIndexedWriteMethod ()

Obtains the indexed setter.

Returns
  • the indexed setter.

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.

public void setIndexedWriteMethod (Method indexedSetter)

Sets the indexed setter as the specified method.

Parameters
indexedSetter the specified indexed setter.