org.argouml.ocl
Class OCLUtil

java.lang.Object
  |
  +--org.argouml.ocl.OCLUtil

public final class OCLUtil
extends java.lang.Object

Helper methods for OCL support.


Method Summary
static java.lang.String getContextString(java.lang.Object me)
          Return a context string for the given model element.
static MNamespace getInnerMostEnclosingNamespace(MModelElement me)
          Get the inner-most enclosing namespace for the model element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInnerMostEnclosingNamespace

public static MNamespace getInnerMostEnclosingNamespace(MModelElement me)
Get the inner-most enclosing namespace for the model element.


getContextString

public static java.lang.String getContextString(java.lang.Object me)
Return a context string for the given model element.

Parameters:
me - the model element for which to create a context string.
Returns:
the context string for the model element.


ArgoUML © 1996-2003 (20030919)ArgoUML Project HomeArgoUML Cookbook