|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the methods by which a PropertyHelper
can access
the properties of the class it provides property access to.
Method Summary | |
java.lang.Object |
get(java.lang.Object instance)
Returns the current value of the property in the instance. |
java.lang.String |
getName()
Returns the name of the property. |
java.lang.Class |
getType()
Returns the type of the property. |
boolean |
isReadable()
Returns true if a method exists to read the current value of the property. |
boolean |
isReadWrite()
Returns true if the property is readable and writable: it contains both accessor and mutator methods. |
boolean |
isWritable()
Returns true if a method exists to update the current value of the property. |
void |
set(java.lang.Object instance,
java.lang.Object value)
Sets the value of the property in the instance. |
Method Detail |
public java.lang.String getName()
public java.lang.Object get(java.lang.Object instance)
public java.lang.Class getType()
public boolean isReadable()
public boolean isReadWrite()
public boolean isWritable()
public void set(java.lang.Object instance, java.lang.Object value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |