org.ocleditor.parser.model
Interface IOclPackage

All Superinterfaces:
IOclElement
All Known Implementing Classes:
OclPackage

public interface IOclPackage
extends IOclElement

Author:
Stefan

Method Summary
 IOclContext getContext(java.lang.String typeName, java.lang.String methodName)
          Returns the context with the given typeName and methodName.
 
Methods inherited from interface org.ocleditor.parser.model.IOclElement
accept, addChild, getChildren, getColumn, getEndColumn, getEndLine, getLength, getLine, getName, getParent, hasChildren, setColumn, setEndColumn, setEndLine, setLine
 

Method Detail

getContext

public IOclContext getContext(java.lang.String typeName,
                              java.lang.String methodName)
Returns the context with the given typeName and methodName.

Parameters:
typeName - name of the type (class/interface).
methodName - can be null if you only want to search for a type context.
Returns:
null if no context could be found.