Package jadex.commons.beans
Class PropertyDescriptor
- java.lang.Object
- 
- jadex.commons.beans.FeatureDescriptor
- 
- jadex.commons.beans.PropertyDescriptor
 
 
- 
- Direct Known Subclasses:
- IndexedPropertyDescriptor
 
 public class PropertyDescriptor extends FeatureDescriptor 
- 
- 
Constructor SummaryConstructors Constructor 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)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description PropertyEditorcreatePropertyEditor(java.lang.Object bean)booleanequals(java.lang.Object object)java.lang.Class<?>getPropertyEditorClass()java.lang.Class<?>getPropertyType()java.lang.reflect.MethodgetReadMethod()java.lang.reflect.MethodgetWriteMethod()inthashCode()booleanisBound()booleanisConstrained()voidsetBound(boolean bound)voidsetConstrained(boolean constrained)voidsetPropertyEditorClass(java.lang.Class<?> propertyEditorClass)voidsetReadMethod(java.lang.reflect.Method getter)voidsetWriteMethod(java.lang.reflect.Method setter)- 
Methods inherited from class jadex.commons.beans.FeatureDescriptorattributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
- 
 
- 
- 
- 
Constructor Detail- 
PropertyDescriptorpublic PropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass, java.lang.String getterName, java.lang.String setterName) throws IntrospectionException- Throws:
- IntrospectionException
 
 - 
PropertyDescriptorpublic PropertyDescriptor(java.lang.String propertyName, java.lang.reflect.Method getter, java.lang.reflect.Method setter) throws IntrospectionException- Throws:
- IntrospectionException
 
 - 
PropertyDescriptorpublic PropertyDescriptor(java.lang.String propertyName, java.lang.Class<?> beanClass) throws IntrospectionException- Throws:
- IntrospectionException
 
 
- 
 - 
Method Detail- 
setWriteMethodpublic void setWriteMethod(java.lang.reflect.Method setter) throws IntrospectionException- Throws:
- IntrospectionException
 
 - 
setReadMethodpublic void setReadMethod(java.lang.reflect.Method getter) throws IntrospectionException- Throws:
- IntrospectionException
 
 - 
getWriteMethodpublic java.lang.reflect.Method getWriteMethod() 
 - 
getReadMethodpublic java.lang.reflect.Method getReadMethod() 
 - 
equalspublic boolean equals(java.lang.Object object) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
setPropertyEditorClasspublic void setPropertyEditorClass(java.lang.Class<?> propertyEditorClass) 
 - 
getPropertyTypepublic java.lang.Class<?> getPropertyType() 
 - 
getPropertyEditorClasspublic java.lang.Class<?> getPropertyEditorClass() 
 - 
setConstrainedpublic void setConstrained(boolean constrained) 
 - 
setBoundpublic void setBound(boolean bound) 
 - 
isConstrainedpublic boolean isConstrained() 
 - 
isBoundpublic boolean isBound() 
 - 
createPropertyEditorpublic PropertyEditor createPropertyEditor(java.lang.Object bean) 
 
- 
 
-