|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.collectionAgentSim.StationInfo
This method creates a data structure that holds information about a given station.
Field Summary | |
boolean |
sendDPsFlag
|
Constructor Summary | |
StationInfo(java.lang.String stationName)
Creates an instance of type StationInfo. |
Method Summary | |
boolean |
addStaticParam(StationStaticParam sParam)
Used to add a new static parameter to this station. |
boolean |
addStaticParam(java.lang.String name,
java.lang.String data)
Used to add a new static parameter to this station. |
StationDynamicParam |
getDynamicParam(java.lang.String paramName)
Use this method to get a handle on the requested dynamic parameters object. |
java.util.Enumeration |
getDynamicParamsEnum()
Use this method to get an enumeration of all the dynamic parameters for this station. |
java.lang.String |
getName()
Used to get the Name of the station. |
StationStaticParam |
getStaticParam(java.lang.String paramName)
Use this method to get a handle to the given static parameter |
java.util.Enumeration |
getStaticParamsEnum()
Use this method to get an enumeration of all the static parameters in this station. |
boolean |
updateDynamicParam(java.lang.String name,
java.lang.String data)
Used to create and update a given dynamic parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public boolean sendDPsFlag
Constructor Detail |
public StationInfo(java.lang.String stationName)
stationName
- A string containing the name of the station.Method Detail |
public boolean addStaticParam(java.lang.String name, java.lang.String data)
name
- A string containing the name of the parameter.data
- A string containing the data for the parameter.
public boolean addStaticParam(StationStaticParam sParam)
sParam
- A StationStaticParam object.
public StationStaticParam getStaticParam(java.lang.String paramName)
paramName
- The name of the desired static parameter.
public java.util.Enumeration getStaticParamsEnum()
public java.lang.String getName()
public boolean updateDynamicParam(java.lang.String name, java.lang.String data)
name
- A string containing the name of the parameter.data
- A java object containing the parameters' data.
public StationDynamicParam getDynamicParam(java.lang.String paramName)
paramName
- A string holding the name of the parameter
public java.util.Enumeration getDynamicParamsEnum()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |