org.argouml.profile.internal.ocl
Class ContextApplicable

java.lang.Object
  extended by DepthFirstAdapter
      extended by 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.


Constructor Summary
ContextApplicable(java.lang.Object element)
          Constructor.
 
Method Summary
 void caseAClassifierContext(AClassifierContext node)
           
 void inAPostStereotype(APostStereotype node)
           
 void inAPreStereotype(APreStereotype node)
           
 boolean isApplicable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextApplicable

public ContextApplicable(java.lang.Object element)
Constructor.

Parameters:
element - the model element
Method Detail

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)


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook