net.sf.beanlib
Class PropertyInfo

java.lang.Object
  extended by net.sf.beanlib.PropertyInfo

public class PropertyInfo
extends Object

Information about a JavaBean property.

Author:
Joe D. Velopar

Field Summary
private  Object fromBean
           
private  String propertyName
           
private  Object toBean
           
 
Constructor Summary
PropertyInfo(String propertyName, Object fromBean, Object toBean)
           
 
Method Summary
 Object getFromBean()
          Returns the Java Bean from which the property is read.
 String getPropertyName()
          Returns the property name.
 Object getToBean()
          Returns the Java Bean to which the property is to be written.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyName

private final String propertyName

fromBean

private final Object fromBean

toBean

private final Object toBean
Constructor Detail

PropertyInfo

public PropertyInfo(String propertyName,
                    Object fromBean,
                    Object toBean)
Method Detail

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