|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nodal.util.TxnMonitorableUtil org.nodal.util.GetterUtil org.nodal.util.IntGetterUtil
Field Summary |
Fields inherited from class org.nodal.util.GetterUtil |
getterType |
Fields inherited from class org.nodal.util.TxnMonitorableUtil |
handlers |
Constructor Summary | |
protected |
IntGetterUtil(Type t)
|
Method Summary | |
java.lang.Object |
get()
Recover the value of this Getter as an Object. |
boolean |
getBoolean()
Return the value of this Getter as a boolean if possible |
byte |
getByte()
Return the value of this Getter as a byte if possible |
char |
getChar()
Return the value of this Getter as a char if possible |
double |
getDouble()
Return the value of this Getter as a double if possible |
float |
getFloat()
Return the value of this Getter as a float if possible |
abstract int |
getInt()
Return the value of this Getter as an int if possible |
long |
getLong()
Return the value of this Getter as a long if possible |
short |
getShort()
Return the value of this Getter as a short if possible |
java.lang.String |
getString()
Return the value of this Getter as a String. |
boolean |
valueEquals(java.lang.Object v)
Compare this value with the argument. |
Methods inherited from class org.nodal.util.GetterUtil |
createPath, getNode, path, type |
Methods inherited from class org.nodal.util.TxnMonitorableUtil |
addNotifier, addTxnHandler, notifyInsertAfter, notifyInsertBefore, notifyRemoveKey, notifyRemoveRange, notifyReplaceRange, notifySetValue, removeNotifier, removeTxnHandler |
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.TxnMonitorable |
addTxnHandler, removeTxnHandler |
Constructor Detail |
protected IntGetterUtil(Type t)
Method Detail |
public java.lang.Object get()
GetterUtil
Must override to implement.
get
in interface Getter
get
in class GetterUtil
public java.lang.String getString()
GetterUtil
Unlike the other type-specific get methods, this must always succeed.
getString
in interface Getter
getString
in class GetterUtil
public boolean getBoolean() throws PropertyTypeMismatch
GetterUtil
getBoolean
in interface Getter
getBoolean
in class GetterUtil
PropertyTypeMismatch
public char getChar() throws PropertyTypeMismatch
GetterUtil
getChar
in interface Getter
getChar
in class GetterUtil
PropertyTypeMismatch
public byte getByte() throws PropertyTypeMismatch
GetterUtil
getByte
in interface Getter
getByte
in class GetterUtil
PropertyTypeMismatch
public short getShort() throws PropertyTypeMismatch
GetterUtil
getShort
in interface Getter
getShort
in class GetterUtil
PropertyTypeMismatch
public abstract int getInt()
GetterUtil
getInt
in interface Getter
getInt
in class GetterUtil
public long getLong()
GetterUtil
getLong
in interface Getter
getLong
in class GetterUtil
public float getFloat()
GetterUtil
getFloat
in interface Getter
getFloat
in class GetterUtil
public double getDouble()
GetterUtil
getDouble
in interface Getter
getDouble
in class GetterUtil
public boolean valueEquals(java.lang.Object v)
GetterUtil
This method is provided so that comparison can be done without the overhead of a full get in some cases. This should thus be overriden with a more efficient implementation when possible.
valueEquals
in interface Getter
valueEquals
in class GetterUtil
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |