org.argouml.uml
Class UUIDHelper

java.lang.Object
  extended byorg.argouml.uml.UUIDHelper

public class UUIDHelper
extends Object


Field Summary
private static UUIDHelper INSTANCE
           
private static Logger LOG
          The logger.
 
Constructor Summary
protected UUIDHelper()
          Deprecated. by Linus Tolke as of 0.15.4. Will be made private. Use the UUIDManager singleton instead.
 
Method Summary
static UUIDHelper getInstance()
          Return the UUIDManager singleton.
 String getNewUUID()
           
 String getUUID(Object base)
          Return the UUID of the element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Logger LOG
The logger.


INSTANCE

private static final UUIDHelper INSTANCE
Constructor Detail

UUIDHelper

protected UUIDHelper()
Deprecated. by Linus Tolke as of 0.15.4. Will be made private. Use the UUIDManager singleton instead.

Constructor for the UUIDManager. This is private to make sure that we are a proper singleton.

Method Detail

getInstance

public static UUIDHelper getInstance()
Return the UUIDManager singleton.

Returns:
an UUIDManager

getUUID

public String getUUID(Object base)
Return the UUID of the element.

Parameters:
base - base element (MBase type)
Returns:
UUID

getNewUUID

public String getNewUUID()
Returns:
a new UUID


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook