|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnSync | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCohercion | +--ConForM.CoopnTools.CoKer.CoopnMgr.CoopnContextPortCohercion
Coopn cohercion on a context port.
CoopnElement
, Serialized FormConstructor Summary | |
CoopnContextPortCohercion(CoopnContextPortSymbol symbol,
CoopnTermAgg params)
Simple constructor. |
|
CoopnContextPortCohercion(CoopnContextPortSymbol symbol,
CoopnTermAgg params,
CoopnTypeRelation rel)
Simple constructor. |
Method Summary | |
java.lang.Object |
clone()
Cloning method. |
boolean |
equals(java.lang.Object obj)
Equality method. |
boolean |
generatesCreation()
Test if this sync generates an object creation ?. return true iff this sync generates an object creation. |
boolean |
generatesDestruction()
Test if this sync generates an object destruction?. return true iff this sync generates an object destruction. |
int |
hashCode()
Hashcode method. |
boolean |
hasParameters()
Has parameters ?. return true iff this event has parameters. |
CoopnElement |
interpret(CoopnSubstitution sigma)
Interpretation of this element according to a substitution. |
boolean |
isGate()
Is this event based on a context gate ?. return true iff this event is based on a class gate. |
boolean |
isMethod()
Is this sync based on a context method ?. return true iff this sync is based on a class method. |
boolean |
isProvide()
Is this cohercion based on a provide port ?. return true iff this cohercion is based on a provide port. |
boolean |
isRequire()
Is this cohercion based on a require port ?. return true iff this cohercion is based on a require port. |
boolean |
isStaticSync()
Test if this sync is static ?. return true iff this sync is static. |
CoopnTermAgg |
parameters()
Get the parameters of this event. |
CoopnContextPortSymbol |
port()
Get the port associated to this sync. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement |
toCoco(CoopnSymbolTable table)
CoCo conversion method. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement |
toCompleteText(CoopnSymbolTable table)
Complete textual elements conversion method. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextTerm |
toCompleteTextTerm(CoopnSymbolTable table)
Get the complete textual event representing the event. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement |
toText()
Textual elements conversion method. |
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextTerm |
toTextTerm()
Get the textual event representing the event. |
java.lang.Object |
unmodifiableCopy()
Copy the element into an unmodifiable structure. |
Methods inherited from class ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement |
cloneCoopnElement, pureCOIL, pureCOOPN, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteString, toCompleteText, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toCompleteTokens, toString, toString, toString, toTokens, toTokens, toTokens |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CoopnContextPortCohercion(CoopnContextPortSymbol symbol, CoopnTermAgg params) throws java.lang.IllegalArgumentException, CoopnTypingProblemException, CoopnArityProblemException
public CoopnContextPortCohercion(CoopnContextPortSymbol symbol, CoopnTermAgg params, CoopnTypeRelation rel) throws java.lang.IllegalArgumentException, CoopnTypingProblemException, CoopnArityProblemException
Method Detail |
public CoopnElement interpret(CoopnSubstitution sigma)
CoopnElement
interpret
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
sigma
- the substitution; cannot be nullpublic boolean isProvide()
isProvide
in class CoopnCohercion
public boolean isRequire()
isRequire
in class CoopnCohercion
public boolean isGate()
public boolean isMethod()
public boolean isStaticSync()
isStaticSync
in class CoopnSync
public boolean generatesCreation()
generatesCreation
in class CoopnSync
public boolean generatesDestruction()
generatesDestruction
in class CoopnSync
public boolean hasParameters()
public CoopnContextPortSymbol port() throws java.lang.IllegalArgumentException
public CoopnTermAgg parameters()
public boolean equals(java.lang.Object obj)
CoopnElement
equals
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
obj
- the object to comparepublic int hashCode()
CoopnElement
hashCode
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextTerm toTextTerm()
java.lang.IllegalArgumentException
- This event cannot be converted to a textual
representation, for example because of an
arity problem.public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toText()
CoopnElement
toText
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextTerm toCompleteTextTerm(CoopnSymbolTable table) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- This event cannot be converted to a textual
representation, for example because of an
arity problem.public ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement toCompleteText(CoopnSymbolTable table)
CoopnElement
toCompleteText
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
table
- the symbol table used to generate symbol referencespublic ConForM.CoopnTools.CoKer.CoopnMgr.CoopnCocoMgr.CoopnCocoElement toCoco(CoopnSymbolTable table) throws java.lang.IllegalArgumentException
CoopnElement
toCoco
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
origin
- the module which generated the Coco conversiontable
- the symbol table used to generate symbol referencesjava.lang.IllegalArgumentException
- A used symbol is not in the symbol table.public java.lang.Object unmodifiableCopy()
CoopnElement
unmodifiableCopy
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
public java.lang.Object clone()
CoopnElement
clone
in class CoopnElement
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnElement
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |