|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.problets.domain.model.implement.Behavior
public class Behavior
Class meant to reduce the number of parameters passed among explainProcess() methods - encapsulates explanation, errors, output, dataTrace, controlTrace
Constructor Summary | |
---|---|
Behavior()
|
Method Summary | |
---|---|
void |
addDataTraceItem(AbstractVarModel dataObject,
int lineNumber,
java.lang.String template)
Adds a new data trace item to the dataTrace vector and sets its previous tell if the item is an ask item |
java.util.Vector |
backupNarration()
Backs up the narration so far, and returns a fresh narration vector for use by client |
static java.util.Vector |
getCleanClone(java.util.Vector dataTrace)
This method returns a clean clone of a given data trace. |
java.util.Vector |
getControlTrace()
Returns a reference to the controlTrace |
java.util.Vector |
getDataTrace()
Returns a reference to the dataTrace |
java.util.Vector |
getDataTraceCleanClone()
Returns a clean clone of the dataTrace where ask items are blanked out. |
java.util.Vector |
getErrors()
Returns a reference to the errors |
java.util.Vector |
getNarration()
Returns a reference to the narration |
java.util.Vector |
getOutput()
Returns a reference to the output |
static void |
main(java.lang.String[] args)
|
void |
print()
|
java.util.Vector |
restoreNarration()
Pops the top of the narration stack. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Behavior()
Method Detail |
---|
public java.util.Vector getNarration()
public java.util.Vector getErrors()
public java.util.Vector getOutput()
public java.util.Vector getDataTrace()
public java.util.Vector getDataTraceCleanClone()
public static java.util.Vector getCleanClone(java.util.Vector dataTrace)
public java.util.Vector getControlTrace()
public void addDataTraceItem(AbstractVarModel dataObject, int lineNumber, java.lang.String template)
public java.util.Vector backupNarration()
public java.util.Vector restoreNarration()
public void print()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |