Package javaa.beans
Class PropertyDescriptor
java.lang.Object
javaa.beans.FeatureDescriptor
javaa.beans.PropertyDescriptor
- Direct Known Subclasses:
IndexedPropertyDescriptor
-
Constructor Summary
ConstructorsConstructorDescriptionPropertyDescriptor(String propertyName, Class<?> beanClass) PropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName) PropertyDescriptor(String propertyName, Method getter, Method setter) -
Method Summary
Modifier and TypeMethodDescriptioncreatePropertyEditor(Object bean) booleanClass<?>Class<?>inthashCode()booleanisBound()booleanvoidsetBound(boolean bound) voidsetConstrained(boolean constrained) voidsetPropertyEditorClass(Class<?> propertyEditorClass) voidsetReadMethod(Method getter) voidsetWriteMethod(Method setter) Methods inherited from class javaa.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName) throws IntrospectionException - Throws:
IntrospectionException
-
PropertyDescriptor
public PropertyDescriptor(String propertyName, Method getter, Method setter) throws IntrospectionException - Throws:
IntrospectionException
-
PropertyDescriptor
- Throws:
IntrospectionException
-
-
Method Details
-
setWriteMethod
- Throws:
IntrospectionException
-
setReadMethod
- Throws:
IntrospectionException
-
getWriteMethod
-
getReadMethod
-
equals
-
hashCode
public int hashCode() -
setPropertyEditorClass
-
getPropertyType
-
getPropertyEditorClass
-
setConstrained
public void setConstrained(boolean constrained) -
setBound
public void setBound(boolean bound) -
isConstrained
public boolean isConstrained() -
isBound
public boolean isBound() -
createPropertyEditor
-