org.argouml.ocl
Class OCLUtil

java.lang.Object
  extended byorg.argouml.ocl.OCLUtil

public final class OCLUtil
extends Object

Helper methods for OCL support.


Method Summary
static String getContextString(Object me)
          Return a context string for the given model element.
static Object getInnerMostEnclosingNamespace(Object 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 Object getInnerMostEnclosingNamespace(Object me)
Get the inner-most enclosing namespace for the model element.

Parameters:
me - the modelelement
Returns:
a namespace

getContextString

public static String getContextString(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-2006ArgoUML HomepageArgoUML Cookbook