PropertyDescriptor

public class PropertyDescriptor extends FeatureDescriptor
Known Direct Subclasses

Describes one Java Bean property. NOTE: PropertyEditor support is not available in j2objc, since it depends on core AWT classes.

Public Constructor Summary

PropertyDescriptor(String propertyName, Class<?> beanClass, String getterName, String setterName)
PropertyDescriptor(String propertyName, Method getter, Method setter)
PropertyDescriptor(String propertyName, Class<?> beanClass)

Public Method Summary

boolean
equals(Object object)
Class<?>
Method
Method
int
boolean
boolean
void
setBound(boolean bound)
void
setConstrained(boolean constrained)
void
setReadMethod(Method getter)
void
setWriteMethod(Method setter)

Inherited Method Summary

Public Constructors

public PropertyDescriptor (String propertyName, Class<?> beanClass, String getterName, String setterName)

Parameters
propertyName
beanClass
getterName
setterName

public PropertyDescriptor (String propertyName, Method getter, Method setter)

Parameters
propertyName
getter
setter

public PropertyDescriptor (String propertyName, Class<?> beanClass)

Parameters
propertyName
beanClass

Public Methods

public boolean equals (Object object)

Parameters
object

public Class<?> getPropertyType ()

public Method getReadMethod ()

public Method getWriteMethod ()

public int hashCode ()

public boolean isBound ()

public boolean isConstrained ()

public void setBound (boolean bound)

Parameters
bound

public void setConstrained (boolean constrained)

Parameters
constrained

public void setReadMethod (Method getter)

Parameters
getter

public void setWriteMethod (Method setter)

Parameters
setter