|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.isti.trinetwatch.ruleset.RuleSetTable
public class RuleSetTable
Class RuleSetTable manages a table of RuleSet objects (each object is associated with a station-template name).
Constructor Summary | |
---|---|
RuleSetTable()
|
Method Summary | |
---|---|
boolean |
add(java.lang.String name,
RuleSet rSetObj)
Adds a station-template-name / rule-set pair to the table. |
boolean |
containsKey(java.lang.String name)
Tests if the specified station-template-name exists in the table of rule-sets. |
java.util.Enumeration |
elements()
Returns an enumeration of rule-set hash table values. |
RuleSet |
get(java.lang.String name)
Returns RuleSet object associated with the given station-template-name. |
java.lang.Object |
getThreadSyncObj()
Returns the thread-synchronization object for this table. |
java.util.Enumeration |
keys()
Returns an enumeration of rule-set hash table keys. |
void |
replaceTableData(RuleSetTable srcTableObj)
Replaces the data in this table with data from the given table. |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RuleSetTable()
Method Detail |
---|
public boolean add(java.lang.String name, RuleSet rSetObj)
name
- station-template-name string.rSetObj
- rule-set object.
public RuleSet get(java.lang.String name)
public boolean containsKey(java.lang.String name)
public java.util.Enumeration keys()
public java.util.Enumeration elements()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object getThreadSyncObj()
public void replaceTableData(RuleSetTable srcTableObj)
srcTableObj
- source table to read from.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |