|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.openbeans.FeatureDescriptor
com.googlecode.openbeans.PropertyDescriptor
com.googlecode.openbeans.IndexedPropertyDescriptor
public class IndexedPropertyDescriptor
| Constructor Summary | |
|---|---|
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. |
|
| 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. |
| Methods inherited from class com.googlecode.openbeans.PropertyDescriptor |
|---|
createPropertyEditor, getPropertyEditorClass, getPropertyType, getReadMethod, getWriteMethod, isBound, isConstrained, setBound, setConstrained, setPropertyEditorClass, setReadMethod, setWriteMethod |
| Methods inherited from class com.googlecode.openbeans.FeatureDescriptor |
|---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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.
IntrospectionException
public 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 setter
IntrospectionException
public IndexedPropertyDescriptor(String propertyName,
Class<?> beanClass)
throws IntrospectionException
IndexedPropertyDescriptor.
propertyName - the specified indexed property's name.beanClass - the bean class.
IntrospectionException| Method Detail |
|---|
public void setIndexedReadMethod(Method indexedGetter)
throws IntrospectionException
indexedGetter - the specified indexed getter.
IntrospectionException
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||