| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Basic interface for accessing values (an accessor). The Getter represents a promise to be able obtain the current value of a resource whenever the get() method is called. Moreover, since this is an extension of the Monitored interface, we can register for notification of changes to the value of this resource.
| Method Summary | |
 java.lang.Object | 
get()
Obtain the current value of the resource as an Object.  | 
 boolean | 
getBoolean()
Obtain a boolean depiction of the current value of the resource if possible.  | 
 byte | 
getByte()
Obtain a byte depiction of the current value of the resource if possible.  | 
 char | 
getChar()
Obtain a char depiction of the current value of the resource if possible.  | 
 double | 
getDouble()
Obtain a double depiction of the current value of the resource if possible.  | 
 float | 
getFloat()
Obtain a float depiction of the current value of the resource if possible.  | 
 int | 
getInt()
Obtain an int depiction of the current value of the resource if possible.  | 
 long | 
getLong()
Obtain a long depiction of the current value of the resource if possible.  | 
 Node | 
getNode()
Obtain a Node interface for the current value of the resource.  | 
 short | 
getShort()
Obtain a short depiction of the current value of the resource if possible.  | 
 java.lang.String | 
getString()
Obtain a String depiction of the current value of the resource.  | 
 Path | 
path()
A Path to this Getter.  | 
 Type | 
type()
The type of the value returned by this Getter.  | 
 boolean | 
valueEquals(java.lang.Object v)
Check equality of the value that would be returned against the argument.  | 
| Methods inherited from interface org.nodal.model.TxnMonitorable | 
addTxnHandler, removeTxnHandler | 
| Method Detail | 
public Path path()
Node.path() extended with the
 property name.
public Type type()
public java.lang.Object get()
public java.lang.String getString()
public Node getNode()
public boolean getBoolean()
public char getChar()
public byte getByte()
public short getShort()
public int getInt()
public long getLong()
public float getFloat()
public double getDouble()
public boolean valueEquals(java.lang.Object v)
Check equality of the value that would be returned against the argument.
This is especially useful to avoid extraneous copies when we only need to test equality.
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||