|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Encapsulation of the modification of a value. Access to this interface allows one to set a value somewhere in the NODAL data system. Moreover, since it is also an extension of the Getter interface, we can query those values and request notification of changes to a value.
| Method Summary | |
java.lang.Object |
set(java.lang.Object val)
Set the value to an Object. |
boolean |
setBoolean(boolean b)
Set the value to true/false. |
byte |
setByte(byte b)
Set the value to a byte. |
char |
setChar(char c)
Set the value to a character. |
double |
setDouble(double d)
Set the value to a double precision floating point value. |
float |
setFloat(float f)
Set the value to a single precision floating point value. |
int |
setInt(int i)
Set the value to an integer. |
Node |
setNode(Node n)
Set the value to a Node. |
short |
setShort(short s)
Set the value to a short integer.. |
java.lang.String |
setString(java.lang.String s)
Set the value to that parsed from a String. |
| Methods inherited from interface org.nodal.model.Getter |
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getNode, getShort, getString, path, type, valueEquals |
| Methods inherited from interface org.nodal.model.TxnMonitorable |
addTxnHandler, removeTxnHandler |
| Method Detail |
public java.lang.Object set(java.lang.Object val)
throws ConstraintFailure
val - the new value for the slot
ConstraintFailure
public java.lang.String setString(java.lang.String s)
throws ConstraintFailure
s - a String representing the new value for the slot
ConstraintFailure
public Node setNode(Node n)
throws ConstraintFailure
n - the new Node value for the slot
ConstraintFailure
public boolean setBoolean(boolean b)
throws ConstraintFailure
b - the new boolean value
ConstraintFailure
public char setChar(char c)
throws ConstraintFailure
c - the new character value
ConstraintFailure
public byte setByte(byte b)
throws ConstraintFailure
b - the new byte value
ConstraintFailure
public short setShort(short s)
throws ConstraintFailure
s - the new short value
ConstraintFailure
public int setInt(int i)
throws ConstraintFailure
i - the new integer value
ConstraintFailure
public float setFloat(float f)
throws ConstraintFailure
f - the new float value
ConstraintFailure
public double setDouble(double d)
throws ConstraintFailure
d - the new double value
ConstraintFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||