| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Generic functions for interacting with a property of a java object.
| Method Summary | |
 java.lang.String | 
getName()
Get the display name of the property.  | 
 java.lang.Class | 
getPropertyClass()
Gets the Class associated with the property  | 
 java.lang.Object | 
getValue(java.lang.Object bean)
Gets the current value of the property on the given bean.  | 
 boolean | 
isReadable()
Checks to see if the property may be readable.  | 
 boolean | 
isReadableOn(java.lang.Object bean)
Checks to see if the property is readable on the given bean.  | 
 boolean | 
isWritable()
Checks to see if the property may be settable.  | 
 boolean | 
isWritableOn(java.lang.Object bean)
Checks to see if the property is writable on the given bean.  | 
 void | 
setValue(java.lang.Object bean,
         java.lang.Object value)
Sets a specific property of the passed bean to the given value.  | 
| Method Detail | 
public java.lang.String getName()
public java.lang.Class getPropertyClass()
public boolean isReadable()
true if there exists some instances
 that allow this property to be read.public boolean isWritable()
true if there exists some instances
 that allow this property to be set.
public void setValue(java.lang.Object bean,
                     java.lang.Object value)
bean - The java object to set the property specified by this
     PropertyInterfacer instance of.value - The new value for the property
InapplicablePropertyException
PropertyAccessExceptionpublic java.lang.Object getValue(java.lang.Object bean)
bean - 
InapplicablePropertyException
PropertyAccessExceptionpublic boolean isWritableOn(java.lang.Object bean)
bean - The bean to check
true if the bean's property may be written
InapplicablePropertyExceptionpublic boolean isReadableOn(java.lang.Object bean)
bean - The bean to check
true if the bean's property may be read
InapplicablePropertyException
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||