net.sf.beanlib
Class PropertyInfo
java.lang.Object
net.sf.beanlib.PropertyInfo
public class PropertyInfo
- extends Object
Information about a JavaBean property.
- Author:
- Joe D. Velopar
propertyName
private final String propertyName
fromBean
private final Object fromBean
toBean
private final Object toBean
PropertyInfo
public PropertyInfo(String propertyName,
Object fromBean,
Object toBean)
getPropertyName
public String getPropertyName()
- Returns the property name.
getFromBean
public Object getFromBean()
- Returns the Java Bean from which the property is read.
getToBean
public Object getToBean()
- Returns the Java Bean to which the property is to be written.
toString
public String toString()
- Overrides:
toString
in class Object