|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dracoware.module.RspGraphReturnData
public class RspGraphReturnData
This class contains the data that corresponds to the related graph data generated by an RSP module.
Field Summary | |
---|---|
static int |
GRAPH_BIGSIZE
Large sized data (gigabytes, terabytes, etc). |
static int |
GRAPH_BOOL
True or false (0 or 1). |
static int |
GRAPH_MISC
Of a type other than those listed. |
static int |
GRAPH_NONE
Graph data has no type. |
static int |
GRAPH_PERCENT
Percentage (float value between 0 and 1). |
static int |
GRAPH_SMALLSIZE
Small sized data (bytes, kilobytes, etc). |
static int |
GRAPH_SMALLTIME
Small amount of time (milliseconds, microseconds, etc). |
static int |
GRAPH_TIME
Time value. |
Constructor Summary | |
---|---|
RspGraphReturnData(int type,
java.lang.String key,
java.lang.String data)
Constructs a RspGraphReturnData object with the given parameters |
Method Summary | |
---|---|
java.lang.String |
getData()
Returns this RspGraphReturnData 's data. |
java.lang.String |
getKey()
Returns this RspGraphReturnData 's key. |
int |
getType()
Returns this RspGraphReturnData 's type. |
void |
setData(java.lang.String data)
Sets this RspGraphReturnData 's data. |
void |
setKey(java.lang.String key)
Sets this RspGraphReturnData 's key. |
void |
setType(int type)
Sets this RspGraphReturnData 's type. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int GRAPH_NONE
public static int GRAPH_TIME
public static int GRAPH_SMALLTIME
public static int GRAPH_BIGSIZE
public static int GRAPH_SMALLSIZE
public static int GRAPH_PERCENT
public static int GRAPH_BOOL
public static int GRAPH_MISC
Constructor Detail |
---|
public RspGraphReturnData(int type, java.lang.String key, java.lang.String data)
RspGraphReturnData
object with the given parameters
type
- Type of graph data.key
- Name of the key of this data.data
- Data associated with the given key.Method Detail |
---|
public int getType()
RspGraphReturnData
's type.
public void setType(int type)
RspGraphReturnData
's type.
type
- The type of this object (one of GRAPH_NONE, GRAPH_TIME, GRAPH_SMALLTIME, GRAPH_BIGSIZE, GRAPH_SMALLSIZE, GRAPH_PERCENT, GRAPH_BOOL, GRAPH_MISC)public java.lang.String getKey()
RspGraphReturnData
's key.
public void setKey(java.lang.String key)
RspGraphReturnData
's key.
key
- The key to store in this object.public java.lang.String getData()
RspGraphReturnData
's data.
public void setData(java.lang.String data)
RspGraphReturnData
's data.
data
- The data to store in this object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |