|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XFactory
Factory interface, providing factory methods for creating all element classes of the XES model type hierarchy.
Method Summary | |
---|---|
XAttributeBoolean |
createAttributeBoolean(java.lang.String key,
boolean value,
XExtension extension)
Creates a new XES attribute with boolean type (Factory method). |
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). |
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). |
XEvent |
createEvent()
Creates a new XES event instance (Factory method). |
XEvent |
createEvent(XAttributeMap attributes)
Creates a new XES event instance (Factory method). |
XEvent |
createEvent(XID id,
XAttributeMap attributes)
Creates a new XES event instance (Factory method). |
XLog |
createLog()
Creates a new XES log instance (Factory method). |
XLog |
createLog(XAttributeMap attributes)
Creates a new XES log instance (Factory method). |
XTrace |
createTrace()
Creates a new XES trace instance (Factory method). |
XTrace |
createTrace(XAttributeMap attributes)
Creates a new XES trace 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. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getAuthor()
java.lang.String getVendor()
java.lang.String getDescription()
java.net.URI getUri()
XLog createLog()
XLog createLog(XAttributeMap attributes)
attributes
- The attributes of the log.
XTrace createTrace()
XTrace createTrace(XAttributeMap attributes)
attributes
- The attributes of the trace.
XEvent createEvent()
XEvent createEvent(XAttributeMap attributes)
attributes
- The attributes of the event.
XEvent createEvent(XID id, XAttributeMap attributes)
id
- the id of this new event. Only to be used in case of
deserializing!attributes
- the attributes of the event
XAttributeMap createAttributeMap()
XAttributeBoolean createAttributeBoolean(java.lang.String key, boolean value, XExtension extension)
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)
XAttributeContinuous createAttributeContinuous(java.lang.String key, double value, XExtension extension)
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)
XAttributeDiscrete createAttributeDiscrete(java.lang.String key, long value, XExtension extension)
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)
XAttributeLiteral createAttributeLiteral(java.lang.String key, java.lang.String value, XExtension extension)
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)
XAttributeTimestamp createAttributeTimestamp(java.lang.String key, java.util.Date value, XExtension extension)
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)
XAttributeTimestamp createAttributeTimestamp(java.lang.String key, long millis, XExtension extension)
key
- The key of the attribute.value
- The value of the attribute, in milliseconds since 01/01/1970
0:00 GMT.extension
- The extension defining the attribute (set to null
, if the attribute is not associated to an extension)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |