Package org.deckfour.xes.id
Class XIDFactory
- java.lang.Object
-
- org.deckfour.xes.id.XIDFactory
-
public class XIDFactory extends java.lang.ObjectThis 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XIDcreateId()Creates a new, unique ID.static XIDFactoryinstance()Accesses the singleton instance.
-
-
-
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.
-
-