|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.parameter.Parameter
public abstract class Parameter
Abstract base class for batch run parameters.
| Field Summary | |
|---|---|
static int |
CONSTANT
|
static int |
INCREMENT
|
protected Incrementer |
incrementer
|
protected java.util.Vector |
list
|
static int |
LIST
|
protected int |
listIndex
|
protected java.lang.String |
name
|
protected long |
numRuns
|
protected long |
numRunsIndex
|
protected Parameter |
parent
|
protected java.util.Vector |
subParams
|
protected long |
subRuns
|
| Constructor Summary | |
|---|---|
Parameter()
|
|
| Method Summary | |
|---|---|
void |
addChild(Parameter subParam)
Adds a Parameter to this parameter as a child. |
java.util.Vector |
getChildren()
Gets the children of this parameter. |
abstract java.lang.Object |
getEnd()
|
abstract java.lang.Object |
getIncr()
|
java.util.Vector |
getList()
|
java.lang.String |
getName()
Gets the name of this parameter. |
long |
getNumRuns()
Gets the number of runs associated with this Parameter. |
int |
getParameterType()
|
Parameter |
getParent()
Gets the parent parameter of this parameter |
abstract java.lang.Object |
getStart()
|
abstract java.lang.String |
getStringValue()
Gets the current value of this parameter as a string. |
long |
getSubRuns()
|
java.lang.String |
getValAsParameterSet()
|
abstract java.lang.Object |
getValue()
Gets the current value of this parameter as an Object. |
boolean |
hasChildren()
Does this Parameter have any children. |
abstract boolean |
increment()
Increments the parameter. |
abstract boolean |
isComplete()
Does this parameter have all its necessary values assigned. |
boolean |
isConstant()
|
boolean |
isIncrement()
|
boolean |
isInput()
If true it is input, output otherwise |
boolean |
isList()
|
void |
removeChild(Parameter p)
Removes the specified Parameter from this Parameter's list of children. |
void |
setConstVal(java.lang.Object o)
|
abstract void |
setEnd(java.lang.Object o)
|
abstract void |
setIncr(java.lang.Object o)
|
void |
setInput(boolean isInput)
|
void |
setList(java.util.Vector v)
|
void |
setName(java.lang.String name)
Sets the name of this to the specified name. |
void |
setNumRuns(long runs)
Sets the number of runs associated with this parameter. |
void |
setParameterType(int parameterType)
|
void |
setParent(Parameter p)
Sets the parent parameter of this parameter |
abstract void |
setStart(java.lang.Object o)
|
void |
setSubRuns(long runs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INCREMENT
public static final int CONSTANT
public static final int LIST
protected java.lang.String name
protected Parameter parent
protected java.util.Vector list
protected int listIndex
protected java.util.Vector subParams
protected long numRunsIndex
protected long subRuns
protected long numRuns
protected Incrementer incrementer
| Constructor Detail |
|---|
public Parameter()
| Method Detail |
|---|
public void setParent(Parameter p)
public Parameter getParent()
public void setSubRuns(long runs)
public long getSubRuns()
public void setName(java.lang.String name)
name - the name of the parameterpublic java.lang.String getName()
public abstract boolean isComplete()
public void addChild(Parameter subParam)
subParam - the parameter to addpublic java.util.Vector getChildren()
public boolean hasChildren()
public void removeChild(Parameter p)
public void setNumRuns(long runs)
public long getNumRuns()
public void setList(java.util.Vector v)
public java.util.Vector getList()
public void setConstVal(java.lang.Object o)
public java.lang.String getValAsParameterSet()
public abstract boolean increment()
public abstract java.lang.String getStringValue()
public abstract java.lang.Object getValue()
public boolean isConstant()
public boolean isList()
public boolean isIncrement()
public abstract void setStart(java.lang.Object o)
public abstract void setEnd(java.lang.Object o)
public abstract void setIncr(java.lang.Object o)
public abstract java.lang.Object getStart()
public abstract java.lang.Object getEnd()
public abstract java.lang.Object getIncr()
public boolean isInput()
public void setInput(boolean isInput)
isInput - The isInput to set.public int getParameterType()
public void setParameterType(int parameterType)
parameterType - The parameterType to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||