This constructor takes the name of a simple property, and method
names for reading and writing the property, both indexed
and non-indexed.
This constructor takes the name of a simple property, and method
names for reading and writing the property, both indexed
and non-indexed.
Parameters:
-
propertyName - The programmatic name of the property.
-
beanClass - The Class object for the target bean.
-
readMethodName - The name of the method used for reading the property
values as an array. May be null if the property is write-only
or must be indexed.
-
writeMethodName - The name of the method used for writing the property
values as an array. May be null if the property is read-only
or must be indexed.
-
indexedReadMethodName - The name of the method used for reading
an indexed property value.
May be null if the property is write-only.
-
indexedWriteMethodName - The name of the method used for writing
an indexed property value.
May be null if the property is read-only.
Throws:
-
IntrospectionException - if an exception occurs during
introspection.