|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nodal.util.TxnMonitorableUtil
org.nodal.util.GetterUtil
org.nodal.util.ShortGetterUtil
Field Summary |
Fields inherited from class org.nodal.util.GetterUtil |
getterType |
Fields inherited from class org.nodal.util.TxnMonitorableUtil |
handlers |
Constructor Summary | |
protected |
ShortGetterUtil(Type t)
|
Method Summary | |
java.lang.Object |
get()
Recover the value of this Getter as an Object. |
byte |
getByte()
Return the value of this Getter as a byte 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 |
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 |
abstract 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, getBoolean, getChar, 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 ShortGetterUtil(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 byte getByte() throws PropertyTypeMismatch
GetterUtil
getByte
in interface Getter
getByte
in class GetterUtil
PropertyTypeMismatch
public abstract short getShort()
GetterUtil
getShort
in interface Getter
getShort
in class GetterUtil
public 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 |