static class ExtendedBeanInfo.SimplePropertyDescriptor
extends java.beans.PropertyDescriptor
PropertyDescriptor
.Modifier and Type | Field and Description |
---|---|
private java.lang.Class<?> |
propertyEditorClass |
private java.lang.Class<?> |
propertyType |
private java.lang.reflect.Method |
readMethod |
private java.lang.reflect.Method |
writeMethod |
Constructor and Description |
---|
SimplePropertyDescriptor(java.beans.PropertyDescriptor original) |
SimplePropertyDescriptor(java.lang.String propertyName,
java.lang.reflect.Method readMethod,
java.lang.reflect.Method writeMethod) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
java.lang.Class<?> |
getPropertyEditorClass() |
java.lang.Class<?> |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
java.lang.reflect.Method |
getWriteMethod() |
int |
hashCode() |
void |
setPropertyEditorClass(java.lang.Class<?> propertyEditorClass) |
void |
setReadMethod(java.lang.reflect.Method readMethod) |
void |
setWriteMethod(java.lang.reflect.Method writeMethod) |
java.lang.String |
toString() |
createPropertyEditor, isBound, isConstrained, setBound, setConstrained
@Nullable private java.lang.reflect.Method readMethod
@Nullable private java.lang.reflect.Method writeMethod
@Nullable private java.lang.Class<?> propertyType
@Nullable private java.lang.Class<?> propertyEditorClass
public SimplePropertyDescriptor(java.beans.PropertyDescriptor original) throws java.beans.IntrospectionException
java.beans.IntrospectionException
public SimplePropertyDescriptor(java.lang.String propertyName, @Nullable java.lang.reflect.Method readMethod, java.lang.reflect.Method writeMethod) throws java.beans.IntrospectionException
java.beans.IntrospectionException
@Nullable public java.lang.reflect.Method getReadMethod()
getReadMethod
in class java.beans.PropertyDescriptor
public void setReadMethod(@Nullable java.lang.reflect.Method readMethod)
setReadMethod
in class java.beans.PropertyDescriptor
@Nullable public java.lang.reflect.Method getWriteMethod()
getWriteMethod
in class java.beans.PropertyDescriptor
public void setWriteMethod(@Nullable java.lang.reflect.Method writeMethod)
setWriteMethod
in class java.beans.PropertyDescriptor
public java.lang.Class<?> getPropertyType()
getPropertyType
in class java.beans.PropertyDescriptor
@Nullable public java.lang.Class<?> getPropertyEditorClass()
getPropertyEditorClass
in class java.beans.PropertyDescriptor
public void setPropertyEditorClass(@Nullable java.lang.Class<?> propertyEditorClass)
setPropertyEditorClass
in class java.beans.PropertyDescriptor
public boolean equals(java.lang.Object other)
equals
in class java.beans.PropertyDescriptor
public int hashCode()
hashCode
in class java.beans.PropertyDescriptor
public java.lang.String toString()
toString
in class java.beans.FeatureDescriptor