org.deckfour.xes.id
Class XIDFactory

java.lang.Object
  extended by org.deckfour.xes.id.XIDFactory

public class XIDFactory
extends Object

This class is a factory for unique identifiers, as they are used throughout the XES model for element identification. Uses the singleton pattern.

Author:
Christian W. Guenther (christian@deckfour.org)

Method Summary
 XID createId()
          Creates a new, unique ID.
static XIDFactory instance()
          Accesses the singleton instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static XIDFactory instance()
Accesses the singleton instance.

Returns:
Singleton ID factory.

createId

public XID createId()
Creates a new, unique ID.

Returns:
Unique ID.