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) boolean
Class
<?> Class
<?> int
hashCode()
boolean
isBound()
boolean
void
setBound
(boolean bound) void
setConstrained
(boolean constrained) void
setPropertyEditorClass
(Class<?> propertyEditorClass) void
setReadMethod
(Method getter) void
setWriteMethod
(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
-