com.googlecode.openbeans
Class PropertyDescriptor
java.lang.Object
com.googlecode.openbeans.FeatureDescriptor
com.googlecode.openbeans.PropertyDescriptor
- Direct Known Subclasses:
- IndexedPropertyDescriptor
public class PropertyDescriptor
- extends FeatureDescriptor
| Methods inherited from class com.googlecode.openbeans.FeatureDescriptor |
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
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
public PropertyDescriptor(String propertyName,
Class<?> beanClass)
throws IntrospectionException
- Throws:
IntrospectionException
setWriteMethod
public void setWriteMethod(Method setter)
throws IntrospectionException
- Throws:
IntrospectionException
setReadMethod
public void setReadMethod(Method getter)
throws IntrospectionException
- Throws:
IntrospectionException
getWriteMethod
public Method getWriteMethod()
getReadMethod
public Method getReadMethod()
equals
public boolean equals(Object object)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
setPropertyEditorClass
public void setPropertyEditorClass(Class<?> propertyEditorClass)
getPropertyType
public Class<?> getPropertyType()
getPropertyEditorClass
public Class<?> getPropertyEditorClass()
setConstrained
public void setConstrained(boolean constrained)
setBound
public void setBound(boolean bound)
isConstrained
public boolean isConstrained()
isBound
public boolean isBound()
createPropertyEditor
public PropertyEditor createPropertyEditor(Object bean)
Copyright © 2013. All Rights Reserved.