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