|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RPLParameter
| Method Summary | |
|---|---|
void |
addChildConstant(RPLParameter child)
Adds the specified RPLParameter as a child constant parameter of this RPLParameter. |
void |
addChildParameter(RPLParameter child)
Adds the specified RPLParameter as a child parameter of this RPLParameter. |
void |
addToParent(RPLParameter parent)
Adds the this RPLParameter to as a child of the specified parent RPLParameter. |
java.util.Iterator |
constantIterator()
Gets an Iterator over the child constant parameters of this RPLParameter. |
java.lang.String |
getName()
Gets the name of this RPLParameter. |
java.lang.Object |
getValue(SimModel model)
Gets the current value of this RPLParameter. |
boolean |
next()
Increments the value of this RPLParameter to the "next" value. |
java.util.Iterator |
parameterIterator()
Gets an Iterator over the child constant parameters of this RPLParameter. |
void |
reset()
Resets this RPLParameter to its initial value. |
void |
setModelParameter(SimModel model)
Sets the model parameter to the current value of this RPLParameter. |
| Method Detail |
|---|
boolean next()
java.lang.String getName()
void setModelParameter(SimModel model)
throws RepastException
model - the model whose parameter we want to set
RepastException - if there is an error setting the parametervoid addChildParameter(RPLParameter child)
child - the child RPLParametervoid addChildConstant(RPLParameter child)
child - the child RPLParameter to addvoid addToParent(RPLParameter parent)
addChildConstant
and RPLParameter that are not constants can add themselve with
addChildParameter
parent - the parent RPLParametervoid reset()
java.lang.Object getValue(SimModel model)
throws RepastException
model - the model associated with this RPLParameter
RepastException - if the value cannot be returnedjava.util.Iterator constantIterator()
java.util.Iterator parameterIterator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||