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, setValue
public PropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass, java.lang.String getterName, java.lang.String setterName) throws IntrospectionException
IntrospectionException
public PropertyDescriptor(java.lang.String propertyName, java.lang.reflect.Method getter, java.lang.reflect.Method setter) throws IntrospectionException
IntrospectionException
public PropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass) throws IntrospectionException
IntrospectionException
public void setWriteMethod(java.lang.reflect.Method setter) throws IntrospectionException
IntrospectionException
public void setReadMethod(java.lang.reflect.Method getter) throws IntrospectionException
IntrospectionException
public java.lang.reflect.Method getWriteMethod()
public java.lang.reflect.Method getReadMethod()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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)