|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.params.DynamicParameter
Class DynamicParameter defines dynamic objects. These may be updated at any time from a collection agent; are held by the server; and may be passed to a GUI.
Constructor Summary | |
DynamicParameter(java.lang.String name,
java.lang.Object data)
Constructor which initializes values. |
Method Summary | |
int |
compareTo(java.lang.Object obj)
Compares this object with the specified object 'obj'. |
boolean |
dataEquals(java.lang.Object obj)
Returns true if this parameter's data object equals the given object or if both objects are null. |
java.lang.Object |
getData()
Returns data object. |
java.lang.String |
getName()
Returns parameter name. |
void |
setData(java.lang.Object obj)
Sets data object. |
java.lang.String |
toString()
Returns string representation of data object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DynamicParameter(java.lang.String name, java.lang.Object data)
name
- name of parameter.data
- data object, such as Integer, Double, String, etc.Method Detail |
public java.lang.String getName()
public java.lang.Object getData()
public void setData(java.lang.Object obj)
obj
- data object, such as Integer, Double, String, etc.public boolean dataEquals(java.lang.Object obj)
public java.lang.String toString()
public int compareTo(java.lang.Object obj)
obj
- an object to compare to.
java.lang.ClassCastException
- if the specified object's type
prevents it from being compared to this object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |