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 ru.novosoft.uml.foundation.core.MNamespace getInnerMostEnclosingNamespace(ru.novosoft.uml.foundation.core.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 ru.novosoft.uml.foundation.core.MNamespace getInnerMostEnclosingNamespace(ru.novosoft.uml.foundation.core.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 (c) 1996-2002
ArgoUML Project Home
ArgoUML Cookbook