com.isti.trinetwatch.collectionAgentSim
Class StationDynamicParam

java.lang.Object
  extended bycom.isti.trinetwatch.collectionAgentSim.StationDynamicParam

public class StationDynamicParam
extends java.lang.Object

This class creates a data structrue to hold dynamic parameter information.


Constructor Summary
StationDynamicParam(java.lang.String name, java.lang.String data)
          Creates a new object instance of StationDynamicParam.
 
Method Summary
 java.lang.String getData()
          Use this method to get the parameters' data.
 java.lang.String getName()
          Use this method to get the name of the parameter.
 boolean setData(java.lang.String dataStr)
          Use this method to set the data object.
 boolean setName(java.lang.String name)
          Use this method to set the name of the dynamic parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StationDynamicParam

public StationDynamicParam(java.lang.String name,
                           java.lang.String data)
Creates a new object instance of StationDynamicParam.

Parameters:
name - A string holding the name of the dynamic parameter.
data - A string holding the data for this parameter.
Method Detail

setName

public boolean setName(java.lang.String name)
Use this method to set the name of the dynamic parameter.

Parameters:
name - A string contianing the new name of the parameter.
Returns:
True if successful; false if the parameter is null or length 0.

setData

public boolean setData(java.lang.String dataStr)
Use this method to set the data object.

Parameters:
dataStr - A string containing the data
Returns:
true if successful; false if the parameter is null.

getName

public java.lang.String getName()
Use this method to get the name of the parameter.

Returns:
A string containing the name of the parameter.

getData

public java.lang.String getData()
Use this method to get the parameters' data.

Returns:
A string containing the data of the parameter.