|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.tuberlin.cs.cis.ocl.env.Scope
the scope of a name within the OCL-context.
Constructor Summary | |
Scope(de.tuberlin.cs.cis.ocl.parser.node.PConstraint constraint)
Constructs the specified constraint as scope. |
|
Scope(de.tuberlin.cs.cis.ocl.parser.node.PContextBodypart bodypart)
Constructs the specified context bodypart as scope. |
|
Scope(de.tuberlin.cs.cis.ocl.parser.node.PPropertyCall propertyCall)
Constructs the specified property call as scope. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
boolean |
includes(de.tuberlin.cs.cis.ocl.parser.node.Node node)
Determines if this scope completly includes the specified node. |
boolean |
includes(Scope scope)
Determines if this scope completly includes the specified scope. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Scope(de.tuberlin.cs.cis.ocl.parser.node.PPropertyCall propertyCall)
propertyCall
- a property call.public Scope(de.tuberlin.cs.cis.ocl.parser.node.PContextBodypart bodypart)
bodypart
- an OCL bodypart (to be specific an invariant, a
postcondition or a precondition.)public Scope(de.tuberlin.cs.cis.ocl.parser.node.PConstraint constraint)
constraint
- an OCL context.Method Detail |
public boolean includes(Scope scope)
scope
- a scope (!= null)
true
if every token in the specified
scope is a token of this scope, false
otherwise.public boolean includes(de.tuberlin.cs.cis.ocl.parser.node.Node node)
node
- a node (!= null)
true
if every token of the specified
node is a token of this scope, false
otherwise.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |