com.googlecode.openbeans
Class PropertyDescriptor

java.lang.Object
  extended by com.googlecode.openbeans.FeatureDescriptor
      extended by com.googlecode.openbeans.PropertyDescriptor
Direct Known Subclasses:
IndexedPropertyDescriptor

public class PropertyDescriptor
extends FeatureDescriptor


Constructor Summary
PropertyDescriptor(String propertyName, Class<?> beanClass)
           
PropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName)
           
PropertyDescriptor(String propertyName, Method getter, Method setter)
           
 
Method Summary
 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)
           
 
Methods inherited from class com.googlecode.openbeans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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
Method Detail

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.