org.nakedobjects.object.reflect
Class Value

java.lang.Object
  extended byorg.nakedobjects.object.reflect.Member
      extended byorg.nakedobjects.object.reflect.Field
          extended byorg.nakedobjects.object.reflect.Value

public class Value
extends Field


Nested Class Summary
 
Nested classes inherited from class org.nakedobjects.object.reflect.Member
Member.DefaultAbout
 
Field Summary
 
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 org.nakedobjects.object.reflect.Field
getAbout, getLabel, getType, isAggregate, isDerived, isValue
 
Methods inherited from class org.nakedobjects.object.reflect.Member
getAboutMethod, getMemberMethod, getName, getObjectStore, hasAbout, init, isDistributed, isProxied
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Value

public Value(java.lang.String name,
             java.lang.Class type,
             java.lang.reflect.Method get,
             java.lang.reflect.Method about,
             boolean isDerived)
Method Detail

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