|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstory.dbcore.parameters.ParameterSet
public class ParameterSet
A set of Parameters.
Note that unlike most other classes in
dbcore, ParameterSet is meant to be instantiated outside a
DBCoreInterface (as opposed to requiring a command to a DBCoreInterface
to be created). It does not deal with "real data," only data in
the abstract.
Pass one of these on to the DBCoreInterface or a NodeInstancing
object to make use of it, e.g., find all nodes or combinations of
nodes that satisfy the ParameterSet.
Constructor Summary | |
---|---|
ParameterSet()
Constructor with no initial parameters. |
|
ParameterSet(Parameter param0)
Constructor with an initial parameter. |
|
ParameterSet(Parameter param0,
Parameter param1)
Constructor with two initial parameters. |
|
ParameterSet(Parameter param0,
Parameter param1,
Parameter param2)
Constructor with three initial parameters. |
|
ParameterSet(Parameter param0,
Parameter param1,
Parameter param2,
Parameter param3)
Constructor with four initial parameters. |
|
ParameterSet(ParameterSet parentSet)
Constructor for making a ParameterSet that is a nested set inside another ParameterSet. |
Method Summary | |
---|---|
void |
addParameter(Parameter parameter)
Add a parameter. |
void |
addParameterSet(ParameterSet otherParameters)
Copy to the end of this ParameterSet all the Parameters from another ParameterSet |
NodeAddressSet |
assumedNodes()
Return a list of all the nodes assumed to exist among all the parameters. |
void |
finalize()
Finalize this ParameterSet. |
java.util.Enumeration |
getParameters()
Get an Enumeration of the Parameters. |
boolean |
isFinalized()
Determine whether this ParameterSet is finalized. |
SymbolTable |
newReferenceTable()
Create a new SymbolTable with the declarations implied by the ParameterSet's parameters. |
int |
numParameters()
Return the number of Parameters in the Set. |
Parameter |
parameterAt(int index)
Return a specific Parameter. |
java.lang.StringBuffer |
render()
Render the ParameterSet as a StringBuffer suitable for interpretation by the command interpeter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParameterSet()
public ParameterSet(ParameterSet parentSet) throws Scheherexception
Scheherexception
public ParameterSet(Parameter param0) throws Scheherexception
Scheherexception
public ParameterSet(Parameter param0, Parameter param1) throws Scheherexception
Scheherexception
public ParameterSet(Parameter param0, Parameter param1, Parameter param2) throws Scheherexception
Scheherexception
public ParameterSet(Parameter param0, Parameter param1, Parameter param2, Parameter param3) throws Scheherexception
Scheherexception
Method Detail |
---|
public boolean isFinalized()
public void finalize()
finalize
in class java.lang.Object
public void addParameter(Parameter parameter) throws Scheherexception
Scheherexception
public void addParameterSet(ParameterSet otherParameters) throws Scheherexception
Scheherexception
public java.util.Enumeration getParameters()
public SymbolTable newReferenceTable()
public java.lang.StringBuffer render() throws Scheherexception
Scheherexception
public int numParameters()
public Parameter parameterAt(int index) throws Scheherexception
Scheherexception
public NodeAddressSet assumedNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |