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()
XFactory
public java.lang.String getDescription()
XFactory
getDescription
in interface XFactory
public java.lang.String getName()
XFactory
public java.net.URI getUri()
XFactory
public java.lang.String getVendor()
XFactory
public XAttributeMap createAttributeMap()
XFactory
createAttributeMap
in interface XFactory
public XAttributeBoolean createAttributeBoolean(java.lang.String key, boolean value, XExtension extension)
XFactory
createAttributeBoolean
in interface XFactory
key
- 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)
XFactory
createAttributeContinuous
in interface XFactory
key
- 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)
XFactory
createAttributeDiscrete
in interface XFactory
key
- 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)
XFactory
createAttributeLiteral
in interface XFactory
key
- 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)
XFactory
createAttributeTimestamp
in interface XFactory
key
- 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)
XFactory
createAttributeTimestamp
in interface XFactory
key
- 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)
XFactory
createAttributeID
in interface XFactory
key
- 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 XFactory
public XAttributeContainer createAttributeContainer(java.lang.String key, XExtension extension)
createAttributeContainer
in interface XFactory
public XOCLog createLog()
XFactory
public XOCLog createLog(XAttributeMap attributes)
XFactory
public XOCEvent createEvent()
XFactory
createEvent
in interface XFactory
public XOCEvent createEvent(XAttributeMap attributes)
XFactory
createEvent
in interface XFactory
attributes
- The attributes of the event.public XOCEvent createEvent(XID id, XAttributeMap attributes)
XFactory
createEvent
in interface XFactory
id
- the id of this new event. Only to be used in case of
deserializing!attributes
- the attributes of the event