|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nodal.util.GetterFilter
| Field Summary | |
protected Getter |
getter
|
| Constructor Summary | |
protected |
GetterFilter(Getter g)
|
| Method Summary | |
void |
addTxnHandler(TxnHandler handler)
Add a TxnHandler to be invoked when this object changes. |
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. |
void |
removeTxnHandler(TxnHandler handler)
Remove a previously added TxnHandler. |
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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Getter getter
| Constructor Detail |
protected GetterFilter(Getter g)
| Method Detail |
public Path path()
GetterNode.path() extended with the
property name.
path in interface Getterpublic Type type()
Getter
type in interface Getter
public java.lang.Object get()
throws PropertyConstraintFailure
Getter
get in interface GetterPropertyConstraintFailure
public java.lang.String getString()
throws PropertyConstraintFailure
Getter
getString in interface GetterPropertyConstraintFailure
public Node getNode()
throws PropertyConstraintFailure
Getter
getNode in interface GetterPropertyConstraintFailure
public boolean getBoolean()
throws PropertyConstraintFailure
Getter
getBoolean in interface GetterPropertyConstraintFailure
public char getChar()
throws PropertyConstraintFailure
Getter
getChar in interface GetterPropertyConstraintFailure
public byte getByte()
throws PropertyConstraintFailure
Getter
getByte in interface GetterPropertyConstraintFailure
public short getShort()
throws PropertyConstraintFailure
Getter
getShort in interface GetterPropertyConstraintFailure
public int getInt()
throws PropertyConstraintFailure
Getter
getInt in interface GetterPropertyConstraintFailure
public long getLong()
throws PropertyConstraintFailure
Getter
getLong in interface GetterPropertyConstraintFailure
public float getFloat()
throws PropertyConstraintFailure
Getter
getFloat in interface GetterPropertyConstraintFailure
public double getDouble()
throws PropertyConstraintFailure
Getter
getDouble in interface GetterPropertyConstraintFailure
public boolean valueEquals(java.lang.Object v)
throws PropertyConstraintFailure
GetterCheck 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.
valueEquals in interface GetterPropertyConstraintFailurepublic void addTxnHandler(TxnHandler handler)
TxnMonitorable
addTxnHandler in interface TxnMonitorablehandler - a TxnHandler whose notify methods will be invoked
when this object changes.public void removeTxnHandler(TxnHandler handler)
TxnMonitorable
removeTxnHandler in interface TxnMonitorablehandler - a TxnHandler that has previously been added.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||