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, setValue
public PropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName) throws IntrospectionException
IntrospectionException
public PropertyDescriptor(String propertyName, Method getter, Method setter) throws IntrospectionException
IntrospectionException
public PropertyDescriptor(String propertyName, Class<?> beanClass) throws IntrospectionException
IntrospectionException
public void setWriteMethod(Method setter) throws IntrospectionException
IntrospectionException
public void setReadMethod(Method getter) throws IntrospectionException
IntrospectionException
public 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.