public class PropertyDescriptor extends Object
PropertyDescriptor
describes a particular property that a class
exports via a pair of accessor methods.Constructor and Description |
---|
PropertyDescriptor(String name) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
Class<?> |
getPropertyType() |
Method |
getReadMethod() |
Method |
getWriteMethod() |
void |
setPropertyType(Class<?> type) |
void |
setReadMethod(Method readMethod) |
void |
setWriteMethod(Method writeMethod) |
public PropertyDescriptor(String name)
public String getName()
public Method getWriteMethod()
public void setWriteMethod(Method writeMethod)
public Method getReadMethod()
public void setReadMethod(Method readMethod)
public Class<?> getPropertyType()
public void setPropertyType(Class<?> type)
Copyright © 2005–2014 QOS.ch. All rights reserved.