|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement | +--ConForM.CoopnTools.CoKer.ScenarioMgr.State | +--ConForM.CoopnTools.CoKer.ScenarioMgr.StateVariable
State VARIABLE.
Constructor Summary | |
StateVariable(java.lang.String name)
Simple constructor. |
Method Summary | |
java.lang.Object |
clone()
Cloning method. |
java.lang.String |
compactString()
Return a compact identifier for the state, perhaps based on hashCode. |
boolean |
equals(java.lang.Object obj)
Equality method. |
int |
hashCode()
Hashcode method. |
ScenarioElement |
interpret(CoopnSubstitution sigma)
Interpretation of this element according to a substitution. |
java.lang.String |
toCompleteString(CoopnEnv env,
int indent)
String conversion method. |
java.lang.String |
toString(CoopnEnv env,
int indent)
String conversion method. |
Methods inherited from class ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement |
cloneScenarioElement, toCompleteString, toCompleteString, toCompleteString, toString, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StateVariable(java.lang.String name) throws java.lang.IllegalArgumentException
Method Detail |
public ScenarioElement interpret(CoopnSubstitution sigma)
ScenarioElement
interpret
in class ScenarioElement
ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement
sigma
- the substitution; cannot be nullpublic java.lang.String compactString()
compactString
in class State
public boolean equals(java.lang.Object obj)
ScenarioElement
equals
in class ScenarioElement
ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement
obj
- the object to comparepublic int hashCode()
ScenarioElement
hashCode
in class ScenarioElement
ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement
public java.lang.String toString(CoopnEnv env, int indent)
ScenarioElement
toString
in class ScenarioElement
ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement
env
- the environment deciding the form of the displayindent
- the identation factorpublic java.lang.String toCompleteString(CoopnEnv env, int indent)
CoopnSyntacticElement
toCompleteString
in class ScenarioElement
ConForM.CoopnTools.CoKer.CoopnSyntacticElement
env
- the environment deciding the form of the display. A null
values indicates a default form.indent
- the identation factor. A zero value indicates no
indentation at all.public java.lang.Object clone()
ScenarioElement
clone
in class ScenarioElement
ConForM.CoopnTools.CoKer.ScenarioMgr.ScenarioElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |