org.ocleditor.parser.model
Interface IOclContext

All Superinterfaces:
IOclElement
All Known Implementing Classes:
OclContext

public interface IOclContext
extends IOclElement

Represents an OCL context.


Method Summary
 java.lang.String getMethodName()
          Returns the method name.
 java.lang.String getTypeName()
          Returns the type name.
 boolean isMethod()
          Returns whether the context represents a method.
 boolean isType()
          Returns whether the context represents a type.
 
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

isMethod

public boolean isMethod()
Returns whether the context represents a method.


isType

public boolean isType()
Returns whether the context represents a type.


getTypeName

public java.lang.String getTypeName()
Returns the type name.


getMethodName

public java.lang.String getMethodName()
Returns the method name.