org.argouml.uml
Class UUIDManager

java.lang.Object
  |
  +--org.argouml.uml.UUIDManager

public class UUIDManager
extends java.lang.Object


Field Summary
protected static java.net.InetAddress _address
           
protected static Logger cat
          Deprecated. by Linus Tolke as of 0.15.4. Create your own logger in your class instead. You should probably not inherit this class anyway.
private static Logger LOG
          The logger.
static UUIDManager SINGLETON
          Deprecated. by Linus Tolke as of 0.15.4. Use getInstance() instead.
 
Constructor Summary
protected UUIDManager()
          Deprecated. by Linus Tolke as of 0.15.4. Will be made private. Use the UUIDManager singleton instead.
 
Method Summary
 void createModelUUIDS(java.lang.Object model)
          Deprecated. by Linus Tolke as of 0.15.4. I assume that the person that wrote the "temporary method" info message meant temporary method in the sense that it was implemented to temporarily solve a problem in the code and that it would eventually be removed when that problem was solved in some other way. By deprecating it I am moving this knowledge to compile time where it belongs, instead of having it in the log file at run time.

If this assumption is wrong, then please explain what temporary method means.

static UUIDManager getInstance()
          Return the UUIDManager.
 java.lang.String getNewUUID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cat

protected static Logger cat
Deprecated. by Linus Tolke as of 0.15.4. Create your own logger in your class instead. You should probably not inherit this class anyway.


LOG

private static Logger LOG
The logger.


SINGLETON

public static UUIDManager SINGLETON
Deprecated. by Linus Tolke as of 0.15.4. Use getInstance() instead.


_address

protected static java.net.InetAddress _address
Constructor Detail

UUIDManager

protected UUIDManager()
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 UUIDManager getInstance()
Return the UUIDManager.

Returns:
an UUIDManager

getNewUUID

public java.lang.String getNewUUID()

createModelUUIDS

public void createModelUUIDS(java.lang.Object model)
Deprecated. by Linus Tolke as of 0.15.4. I assume that the person that wrote the "temporary method" info message meant temporary method in the sense that it was implemented to temporarily solve a problem in the code and that it would eventually be removed when that problem was solved in some other way. By deprecating it I am moving this knowledge to compile time where it belongs, instead of having it in the log file at run time.

If this assumption is wrong, then please explain what temporary method means.

Parameters:
model - is the model that we operate on.


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