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.


Constructor Summary
private OCLUtil()
          OCLUtil shall not be instantiated!
 
Method Summary
static java.lang.String getContextString(java.lang.Object me)
          Return a context string for the given model element.
static java.lang.Object getInnerMostEnclosingNamespace(java.lang.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
 

Constructor Detail

OCLUtil

private OCLUtil()
OCLUtil shall not be instantiated!

Method Detail

getInnerMostEnclosingNamespace

public static java.lang.Object getInnerMostEnclosingNamespace(java.lang.Object me)
Get the inner-most enclosing namespace for the model element.

Returns:
a namespace

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-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook