org.argouml.ocl
Class OCLUtil
java.lang.Object
org.argouml.ocl.OCLUtil
- public final class OCLUtil
- extends Object
Helper methods for OCL support.
Constructor Summary |
private |
OCLUtil()
OCLUtil shall not be instantiated! |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCLUtil
private OCLUtil()
- OCLUtil shall not be instantiated!
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.