|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nodal.util.GetterFilter
org.nodal.util.AtomicSetterUtil
Field Summary | |
protected java.lang.String |
typeName
|
Fields inherited from class org.nodal.util.GetterFilter |
getter |
Constructor Summary | |
AtomicSetterUtil(GetterUtil g,
java.lang.String nm)
|
Method Summary | |
Path |
path()
A Path to this Getter. |
java.lang.Object |
set(java.lang.Object obj)
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. |
long |
setLong(long l)
|
Node |
setNode(Node n)
Set the value to a Node. |
protected abstract java.lang.Object |
setObject(java.lang.Object v)
|
short |
setShort(short s)
Set the value to a short integer.. |
abstract java.lang.String |
setString(java.lang.String s)
Set the value to that parsed from a String. |
Methods inherited from class org.nodal.util.GetterFilter |
addTxnHandler, get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getNode, getShort, getString, removeTxnHandler, type, valueEquals |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.nodal.model.Getter |
get, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getNode, getShort, getString, type, valueEquals |
Methods inherited from interface org.nodal.model.TxnMonitorable |
addTxnHandler, removeTxnHandler |
Field Detail |
protected final java.lang.String typeName
Constructor Detail |
public AtomicSetterUtil(GetterUtil g, java.lang.String nm)
Method Detail |
public Path path()
Getter
Node.path()
extended with the
property name.
path
in interface Getter
path
in class GetterFilter
public final java.lang.Object set(java.lang.Object obj) throws ConstraintFailure
Setter
set
in interface Setter
obj
- the new value for the slot
ConstraintFailure
protected abstract java.lang.Object setObject(java.lang.Object v) throws ConstraintFailure
ConstraintFailure
public abstract java.lang.String setString(java.lang.String s) throws ConstraintFailure
Setter
setString
in interface Setter
s
- a String representing the new value for the slot
ConstraintFailure
public final Node setNode(Node n) throws ConstraintFailure
Setter
setNode
in interface Setter
n
- the new Node value for the slot
ConstraintFailure
public boolean setBoolean(boolean b) throws ConstraintFailure
Setter
setBoolean
in interface Setter
b
- the new boolean value
ConstraintFailure
public char setChar(char c) throws ConstraintFailure
Setter
setChar
in interface Setter
c
- the new character value
ConstraintFailure
public byte setByte(byte b) throws ConstraintFailure
Setter
setByte
in interface Setter
b
- the new byte value
ConstraintFailure
public short setShort(short s) throws ConstraintFailure
Setter
setShort
in interface Setter
s
- the new short value
ConstraintFailure
public int setInt(int i) throws ConstraintFailure
Setter
setInt
in interface Setter
i
- the new integer value
ConstraintFailure
public long setLong(long l) throws ConstraintFailure
ConstraintFailure
public float setFloat(float f) throws ConstraintFailure
Setter
setFloat
in interface Setter
f
- the new float value
ConstraintFailure
public double setDouble(double d) throws ConstraintFailure
Setter
setDouble
in interface Setter
d
- the new double value
ConstraintFailure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |