|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectgestIT.TmpExp
gestIT.ComplexTmpExp
public class ComplexTmpExp
Subclass of TmpExp that represent a complex building block. A complex building block represent the operator of OrderIndipendence
Field Summary | |
---|---|
java.util.Vector<java.lang.Boolean> |
completion
Vector of flags for the operand (true if the operand is completed, false otherwise) |
java.util.Vector<TmpExp> |
operands
Vector of all the operands |
TmpOperator |
operator
The current operator (always OrderIndipendence) |
Fields inherited from class gestIT.TmpExp |
---|
Completed, Error, Iterative, Optional, Parent, Performing, state, type |
Constructor Summary | |
---|---|
ComplexTmpExp()
Constructor that return a new empty ComplexTmpExp |
Method Summary | |
---|---|
void |
AddOperand(TmpExp oper)
Add a new operand to the complex building block |
TmpExp |
GetOperand(int i)
Return the operand at position i |
java.util.Iterator<TmpExp> |
GetOperands()
Return an Iterator object that can be used to access all the TmpExp object in a ComplexTmpExp object |
void |
RemoveOperand(TmpExp oper)
Remove an operand from the complex building block |
void |
SetExecState(ExecState st,
Token tk)
Method for changing the execution state of a building block |
Methods inherited from class gestIT.TmpExp |
---|
addCompletedListener, addErrorListener, addOnStateChangedListener, addPerformingListener, getState, removeCompletedListener, removeErrorListener, removeOnStateChangedListener, removePerformingListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TmpOperator operator
public java.util.Vector<TmpExp> operands
public java.util.Vector<java.lang.Boolean> completion
Constructor Detail |
---|
public ComplexTmpExp()
Method Detail |
---|
public void AddOperand(TmpExp oper)
oper
- The operand to be addedpublic void RemoveOperand(TmpExp oper)
oper
- The operand to be removedpublic TmpExp GetOperand(int i)
i
- The position of the requested operand
public java.util.Iterator<TmpExp> GetOperands()
public void SetExecState(ExecState st, Token tk)
TmpExp
SetExecState
in class TmpExp
st
- The new state for the building blocktk
- The token that must be passed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |