org.argouml.profile.internal.ocl
Class ContextApplicable
java.lang.Object
DepthFirstAdapter
org.argouml.profile.internal.ocl.ContextApplicable
public class ContextApplicable
- extends DepthFirstAdapter
Checks the context clause of the OCL expression to verify if it is applicable
to the given model element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextApplicable
public ContextApplicable(java.lang.Object element)
- Constructor.
- Parameters:
element
- the model element
isApplicable
public boolean isApplicable()
- Returns:
- Returns the applicable.
caseAClassifierContext
public void caseAClassifierContext(AClassifierContext node)
- Parameters:
node
- the node visited- See Also:
tudresden.ocl.parser.analysis.DepthFirstAdapter#caseAClassifierContext(tudresden.ocl.parser.node.AClassifierContext)
inAPreStereotype
public void inAPreStereotype(APreStereotype node)
- Parameters:
node
- the node visited- See Also:
tudresden.ocl.parser.analysis.DepthFirstAdapter#inAPreStereotype(tudresden.ocl.parser.node.APreStereotype)
inAPostStereotype
public void inAPostStereotype(APostStereotype node)
- Parameters:
node
- the node visited- See Also:
tudresden.ocl.parser.analysis.DepthFirstAdapter#inAPostStereotype(tudresden.ocl.parser.node.APostStereotype)