|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.controlAgentSim.StationInfo
This method holds the information about a given station for the sim agents.
Constructor Summary | |
StationInfo(java.lang.String stationName)
Creates an instance of type StationInfo. |
|
StationInfo(java.lang.String stationName,
java.lang.String stationType)
Creates an instance of type StationInfo |
Method Summary | |
java.lang.String |
getName()
Used to get the Name of the station. |
java.lang.String |
getType()
Used to get the station type. |
java.lang.String |
setName(java.lang.String newName)
Use this method to set the name of the station. |
java.lang.String |
setType(java.lang.String newType)
Use this method to set the type of the station. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StationInfo(java.lang.String stationName)
stationName
- A string containing the name of the station.public StationInfo(java.lang.String stationName, java.lang.String stationType)
stationName
- A string containing the name of the station.stationType
- A string containing the type of the station.Method Detail |
public java.lang.String getName()
public java.lang.String getType()
public java.lang.String setName(java.lang.String newName)
newName
- A string containing the new name of the station
public java.lang.String setType(java.lang.String newType)
newType
- A string containing the new station type for this station.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |