com.dracoware.rsplib
Class RspParseLine

java.lang.Object
  extended by com.dracoware.rsplib.RspParseLine

public class RspParseLine
extends java.lang.Object

The RspParseLine object contains internal information related to a particular incident stored in an archive of RSP history data.


Constructor Summary
RspParseLine(java.util.Date time, java.lang.String data, java.lang.String graphData, int type)
          Construct a new RspParseLine with the specified information.
 
Method Summary
 java.lang.String getData()
          Returns the data reported by the named module.
 java.lang.String getGraphData()
          Returns the parseable graph data reported by the named module.
 java.util.Date getTime()
          Returns the time the event took place.
 int getType()
          Returns the graph data type.
 void setData(java.lang.String data)
          Sets the data reported by the named module.
 void setGraphData(java.lang.String graphData)
          Sets the parseable graph data reported by the named module.
 void setTime(java.util.Date time)
          Sets the time when the event took place.
 void setType(int type)
          Sets the graph data type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RspParseLine

public RspParseLine(java.util.Date time,
                    java.lang.String data,
                    java.lang.String graphData,
                    int type)
Construct a new RspParseLine with the specified information.

Parameters:
time - The time the event took place.
data - The data reported by the named module.
graphData - Parseable data detailing the graph information.
type - Graph type.
Method Detail

getTime

public java.util.Date getTime()
Returns the time the event took place.

Returns:
the time the event took place.

setTime

public void setTime(java.util.Date time)
Sets the time when the event took place.

Parameters:
time - The time when the event took place.

getData

public java.lang.String getData()
Returns the data reported by the named module.

Returns:
The data reported by the named module.

setData

public void setData(java.lang.String data)
Sets the data reported by the named module.

Parameters:
data - The data reported by the named module

getGraphData

public java.lang.String getGraphData()
Returns the parseable graph data reported by the named module.

Returns:
The parseable graph data reported by the named module.

setGraphData

public void setGraphData(java.lang.String graphData)
Sets the parseable graph data reported by the named module.

Parameters:
graphData - The parseable graph data reported by the named module.

getType

public int getType()
Returns the graph data type.

Returns:
The graph data type.

setType

public void setType(int type)
Sets the graph data type.

Parameters:
type - The type of the graph data.