|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.emailer.StationDataTable
public class StationDataTable
Class StationDataTable defines a table of station information blocks.
Constructor Summary | |
---|---|
StationDataTable()
|
Method Summary | |
---|---|
boolean |
add(StationDataBlock sBlock)
Adds the given StationDataBlock to the table. |
void |
clear()
Removes all station information blocks contained in the table. |
boolean |
containsKey(java.lang.String name)
Returns true if an object matching the given name exists in the table. |
java.util.Enumeration |
elements()
Returns an enumeration of the station information blocks contained in the table. |
StationDataBlock |
get(java.lang.String name)
Returns the 'StationDataBlock' object matching the given name, or null if no matching object is found. |
java.lang.String |
getDisplayString()
Returns a display string for the table. |
StationDataBlock |
remove(StationDataBlock sBlock)
Removes the given 'StationDataBlock' object. |
StationDataBlock |
remove(java.lang.String name)
Removes the 'StationDataBlock' object matching the given name. |
int |
size()
Returns the number of station information blocks contained in the table. |
boolean |
update(java.lang.String name,
StatusLevelTag statusLevel,
UsageLevelTag usageLevel,
long timeVal)
Updates the status and usage levels associated with the given station name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StationDataTable()
Method Detail |
---|
public boolean update(java.lang.String name, StatusLevelTag statusLevel, UsageLevelTag usageLevel, long timeVal)
name
- station name.statusLevel
- status level for station.usageLevel
- usage level for station.timeVal
- time value for this update.
public boolean add(StationDataBlock sBlock)
public StationDataBlock get(java.lang.String name)
public StationDataBlock remove(java.lang.String name)
public StationDataBlock remove(StationDataBlock sBlock)
public boolean containsKey(java.lang.String name)
public java.util.Enumeration elements()
public int size()
public void clear()
public java.lang.String getDisplayString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |