public class PropertyDescriptor
extends java.lang.Object
PropertyDescriptor describes a particular property that a class
exports via a pair of accessor methods.| Constructor and Description |
|---|
PropertyDescriptor(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.Class<?> |
getPropertyType() |
java.lang.reflect.Method |
getReadMethod() |
java.lang.reflect.Method |
getWriteMethod() |
void |
setPropertyType(java.lang.Class<?> type) |
void |
setReadMethod(java.lang.reflect.Method readMethod) |
void |
setWriteMethod(java.lang.reflect.Method writeMethod) |
public java.lang.String getName()
public java.lang.reflect.Method getWriteMethod()
public void setWriteMethod(java.lang.reflect.Method writeMethod)
public java.lang.reflect.Method getReadMethod()
public void setReadMethod(java.lang.reflect.Method readMethod)
public java.lang.Class<?> getPropertyType()
public void setPropertyType(java.lang.Class<?> type)