public class XFactoryNaiveImpl extends java.lang.Object implements XFactory
| Constructor and Description |
|---|
XFactoryNaiveImpl() |
| Modifier and Type | Method and Description |
|---|---|
XAttributeBoolean |
createAttributeBoolean(java.lang.String key,
boolean value,
XExtension extension)
Creates a new XES attribute with boolean type (Factory method).
|
XAttributeContainer |
createAttributeContainer(java.lang.String key,
XExtension extension) |
XAttributeContinuous |
createAttributeContinuous(java.lang.String key,
double value,
XExtension extension)
Creates a new XES attribute with continuous type (Factory method).
|
XAttributeDiscrete |
createAttributeDiscrete(java.lang.String key,
long value,
XExtension extension)
Creates a new XES attribute with discrete type (Factory method).
|
XAttributeID |
createAttributeID(java.lang.String key,
XID value,
XExtension extension)
Creates a new XES attribute with id type (Factory method).
|
XAttributeList |
createAttributeList(java.lang.String key,
XExtension extension) |
XAttributeLiteral |
createAttributeLiteral(java.lang.String key,
java.lang.String value,
XExtension extension)
Creates a new XES attribute with literal type (Factory method).
|
XAttributeMap |
createAttributeMap()
Creates a new XES attribute map (Factory method).
|
XAttributeTimestamp |
createAttributeTimestamp(java.lang.String key,
java.util.Date value,
XExtension extension)
Creates a new XES attribute with timestamp type (Factory method).
|
XAttributeTimestamp |
createAttributeTimestamp(java.lang.String key,
long millis,
XExtension extension)
Creates a new XES attribute with timestamp type (Factory method).
|
XOCEvent |
createEvent()
Creates a new XES event instance (Factory method).
|
XOCEvent |
createEvent(XAttributeMap attributes)
Creates a new XES event instance (Factory method).
|
XOCEvent |
createEvent(XID id,
XAttributeMap attributes)
Creates a new XES event instance (Factory method).
|
XOCLog |
createLog()
Creates a new XES log instance (Factory method).
|
XOCLog |
createLog(XAttributeMap attributes)
Creates a new XES log instance (Factory method).
|
java.lang.String |
getAuthor()
Returns the author name of the specific factory implementation.
|
java.lang.String |
getDescription()
Returns a description of the specific factory implementation.
|
java.lang.String |
getName()
Returns the name of the specific factory implementation.
|
java.net.URI |
getUri()
Returns an URI, pointing to more information about the specific factory
implementation.
|
java.lang.String |
getVendor()
Returns the vendor of the specific factory implementation.
|
public java.lang.String getAuthor()
XFactorypublic java.lang.String getDescription()
XFactorygetDescription in interface XFactorypublic java.lang.String getName()
XFactorypublic java.net.URI getUri()
XFactorypublic java.lang.String getVendor()
XFactorypublic XAttributeMap createAttributeMap()
XFactorycreateAttributeMap in interface XFactorypublic XAttributeBoolean createAttributeBoolean(java.lang.String key, boolean value, XExtension extension)
XFactorycreateAttributeBoolean in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeContinuous createAttributeContinuous(java.lang.String key, double value, XExtension extension)
XFactorycreateAttributeContinuous in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeDiscrete createAttributeDiscrete(java.lang.String key, long value, XExtension extension)
XFactorycreateAttributeDiscrete in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeLiteral createAttributeLiteral(java.lang.String key, java.lang.String value, XExtension extension)
XFactorycreateAttributeLiteral in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeTimestamp createAttributeTimestamp(java.lang.String key, java.util.Date value, XExtension extension)
XFactorycreateAttributeTimestamp in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeTimestamp createAttributeTimestamp(java.lang.String key, long millis, XExtension extension)
XFactorycreateAttributeTimestamp in interface XFactorykey - The key of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeID createAttributeID(java.lang.String key, XID value, XExtension extension)
XFactorycreateAttributeID in interface XFactorykey - The key of the attribute.value - The value of the attribute.extension - The extension defining the attribute (set to null
, if the attribute is not associated to an extension)public XAttributeList createAttributeList(java.lang.String key, XExtension extension)
createAttributeList in interface XFactorypublic XAttributeContainer createAttributeContainer(java.lang.String key, XExtension extension)
createAttributeContainer in interface XFactorypublic XOCLog createLog()
XFactorypublic XOCLog createLog(XAttributeMap attributes)
XFactorypublic XOCEvent createEvent()
XFactorycreateEvent in interface XFactorypublic XOCEvent createEvent(XAttributeMap attributes)
XFactorycreateEvent in interface XFactoryattributes - The attributes of the event.public XOCEvent createEvent(XID id, XAttributeMap attributes)
XFactorycreateEvent in interface XFactoryid - the id of this new event. Only to be used in case of
deserializing!attributes - the attributes of the event