public class PropertyDescriptor extends FeatureDescriptor
| Constructor and Description |
|---|
PropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass) |
PropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String getterName,
java.lang.String setterName) |
PropertyDescriptor(java.lang.String propertyName,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter) |
| Modifier and Type | Method and Description |
|---|---|
PropertyEditor |
createPropertyEditor(java.lang.Object bean) |
boolean |
equals(java.lang.Object object) |
java.lang.Class<?> |
getPropertyEditorClass() |
java.lang.Class<?> |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
java.lang.reflect.Method |
getWriteMethod() |
int |
hashCode() |
boolean |
isBound() |
boolean |
isConstrained() |
void |
setBound(boolean bound) |
void |
setConstrained(boolean constrained) |
void |
setPropertyEditorClass(java.lang.Class<?> propertyEditorClass) |
void |
setReadMethod(java.lang.reflect.Method getter) |
void |
setWriteMethod(java.lang.reflect.Method setter) |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValuepublic PropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass,
java.lang.String getterName,
java.lang.String setterName)
throws IntrospectionException
IntrospectionExceptionpublic PropertyDescriptor(java.lang.String propertyName,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter)
throws IntrospectionException
IntrospectionExceptionpublic PropertyDescriptor(java.lang.String propertyName,
java.lang.Class<?> beanClass)
throws IntrospectionException
IntrospectionExceptionpublic void setWriteMethod(java.lang.reflect.Method setter)
throws IntrospectionException
IntrospectionExceptionpublic void setReadMethod(java.lang.reflect.Method getter)
throws IntrospectionException
IntrospectionExceptionpublic java.lang.reflect.Method getWriteMethod()
public java.lang.reflect.Method getReadMethod()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic void setPropertyEditorClass(java.lang.Class<?> propertyEditorClass)
public java.lang.Class<?> getPropertyType()
public java.lang.Class<?> getPropertyEditorClass()
public void setConstrained(boolean constrained)
public void setBound(boolean bound)
public boolean isConstrained()
public boolean isBound()
public PropertyEditor createPropertyEditor(java.lang.Object bean)