org.nakedobjects.object.reflect
Class Value
java.lang.Object
org.nakedobjects.object.reflect.Member
org.nakedobjects.object.reflect.Field
org.nakedobjects.object.reflect.Value
- public class Value
- extends Field
| Fields inherited from class org.nakedobjects.object.reflect.Member |
DEFAULT |
|
Constructor Summary |
Value(java.lang.String name,
java.lang.Class type,
java.lang.reflect.Method get,
java.lang.reflect.Method about,
boolean isDerived)
|
|
Method Summary |
Naked |
get(NakedObject fromObject)
call the accessor method on the specified object to return the data it holds |
void |
init(NakedObject inObject,
java.lang.String setValue)
Set the data in an NakedObject. |
void |
set(NakedObject inObject,
java.lang.String setValue)
Set the data in an NakedObject. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Value
public Value(java.lang.String name,
java.lang.Class type,
java.lang.reflect.Method get,
java.lang.reflect.Method about,
boolean isDerived)
get
public Naked get(NakedObject fromObject)
- call the accessor method on the specified object to return the data it holds
- Specified by:
get in class Field
init
public void init(NakedObject inObject,
java.lang.String setValue)
- Set the data in an NakedObject. Passes in an existing object to for the EO to reference.
set
public void set(NakedObject inObject,
java.lang.String setValue)
- Set the data in an NakedObject. Passes in an existing object to for the EO to reference.
toString
public java.lang.String toString()
- Overrides:
toString in class Member