public class RuleSetTable
extends java.lang.Object
Constructor and Description |
---|
RuleSetTable() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.