|
|||||||||
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.ContextState
Context states in the CO-OPN semantics.
Constructor Summary | |
ContextState(CoopnModuleName context)
|
Method Summary | |
void |
addObjectState(ObjectState state)
Add a new object state to the context. |
java.lang.Object |
clone()
Cloning method. |
CoopnModuleName |
context()
Get the context. |
boolean |
equals(java.lang.Object o)
Equality method. |
int |
hashCode()
Hashcode method. |
ScenarioElement |
interpret(CoopnSubstitution sigma)
Interpretation of this element according to a substitution. |
java.util.Set |
objects()
Get the set of all objects enclosed in this context. |
ObjectState |
stateOf(CoopnTerm oid)
Return the state of an enclosed object. |
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 ContextState(CoopnModuleName context)
Method Detail |
public CoopnModuleName context()
public void addObjectState(ObjectState state)
public ScenarioElement interpret(CoopnSubstitution sigma)
interpret
in class ScenarioElement
sigma
- the substitution; cannot be nullpublic boolean equals(java.lang.Object o)
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 ObjectState stateOf(CoopnTerm oid)
oid
- the object identifier, as a CoopnTermpublic java.util.Set objects()
public java.lang.Object clone()
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 |