Package org.processmining.extension
Class XDataExtension
- java.lang.Object
-
- org.deckfour.xes.extension.XExtension
-
- org.processmining.extension.XDataExtension
-
- All Implemented Interfaces:
java.io.Serializable
public class XDataExtension extends org.deckfour.xes.extension.XExtensionThis extension provides input attributes and output attributes for logs, traces and events It defines two attributes: - data:input: whose nested attributes are input attributes read by logs, traces or events - data:output: whose nested attributes are output attributes written by logs, traces or events- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.deckfour.xes.model.XAttributeLiteralATTR_INPUTAttribute prototypesstatic org.deckfour.xes.model.XAttributeLiteralATTR_OUTPUTstatic java.net.URIEXTENSION_URIUnique URI of this extension.static java.lang.StringKEY_INPUTKeys for the attributesstatic java.lang.StringKEY_OUTPUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassignInputAttributes(org.deckfour.xes.model.XEvent event, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to an eventvoidassignInputAttributes(org.deckfour.xes.model.XLog log, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to a logvoidassignInputAttributes(org.deckfour.xes.model.XTrace trace, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to a tracevoidassignOutputAttributes(org.deckfour.xes.model.XEvent event, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to an eventvoidassignOutputAttributes(org.deckfour.xes.model.XLog log, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to a logvoidassignOutputAttributes(org.deckfour.xes.model.XTrace trace, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to a tracevoidclearInputAttributes(org.deckfour.xes.model.XEvent e)voidclearOutputAttributes(org.deckfour.xes.model.XEvent e)org.deckfour.xes.model.XAttributeMapextractInputAttributes(org.deckfour.xes.model.XEvent event)Retrieves all input attributes of an event as a XAttributeMaporg.deckfour.xes.model.XAttributeMapextractInputAttributes(org.deckfour.xes.model.XLog log)Retrieves all input attributes of a log as a XAttributeMaporg.deckfour.xes.model.XAttributeMapextractInputAttributes(org.deckfour.xes.model.XTrace trace)Retrieves all input attributes of a trace as a XAttributeMaporg.deckfour.xes.model.XAttributeMapextractOutputAttributes(org.deckfour.xes.model.XEvent event)Retrieves all output attributes of an event as a XAttributeMaporg.deckfour.xes.model.XAttributeMapextractOutputAttributes(org.deckfour.xes.model.XLog log)Retrieves all output attributes of a log as a XAttributeMaporg.deckfour.xes.model.XAttributeMapextractOutputAttributes(org.deckfour.xes.model.XTrace trace)Retrieves all output attributes of a trace as a XAttributeMapstatic XDataExtensioninstance()Provides access to the singleton instance.
-
-
-
Field Detail
-
EXTENSION_URI
public static final java.net.URI EXTENSION_URI
Unique URI of this extension.
-
KEY_INPUT
public static final java.lang.String KEY_INPUT
Keys for the attributes- See Also:
- Constant Field Values
-
KEY_OUTPUT
public static final java.lang.String KEY_OUTPUT
- See Also:
- Constant Field Values
-
ATTR_INPUT
public static org.deckfour.xes.model.XAttributeLiteral ATTR_INPUT
Attribute prototypes
-
ATTR_OUTPUT
public static org.deckfour.xes.model.XAttributeLiteral ATTR_OUTPUT
-
-
Method Detail
-
instance
public static XDataExtension instance()
Provides access to the singleton instance.- Returns:
- Singleton extension.
-
extractInputAttributes
public org.deckfour.xes.model.XAttributeMap extractInputAttributes(org.deckfour.xes.model.XLog log)
Retrieves all input attributes of a log as a XAttributeMap- Parameters:
log- Log to retrieve input attributes for.- Returns:
- The XAttributeMap containing input attributes.
-
extractInputAttributes
public org.deckfour.xes.model.XAttributeMap extractInputAttributes(org.deckfour.xes.model.XTrace trace)
Retrieves all input attributes of a trace as a XAttributeMap- Parameters:
trace- Trace to retrieve input attributes for.- Returns:
- The XAttributeMap containing input attributes.
-
extractInputAttributes
public org.deckfour.xes.model.XAttributeMap extractInputAttributes(org.deckfour.xes.model.XEvent event)
Retrieves all input attributes of an event as a XAttributeMap- Parameters:
event- Event to retrieve input attributes for.- Returns:
- The XAttributeMap containing input attributes.
-
extractOutputAttributes
public org.deckfour.xes.model.XAttributeMap extractOutputAttributes(org.deckfour.xes.model.XLog log)
Retrieves all output attributes of a log as a XAttributeMap- Parameters:
log- Log to retrieve output attributes for.- Returns:
- The XAttributeMap containing output attributes.
-
extractOutputAttributes
public org.deckfour.xes.model.XAttributeMap extractOutputAttributes(org.deckfour.xes.model.XTrace trace)
Retrieves all output attributes of a trace as a XAttributeMap- Parameters:
trace- Trace to retrieve output attributes for.- Returns:
- The XAttributeMap containing output attributes.
-
extractOutputAttributes
public org.deckfour.xes.model.XAttributeMap extractOutputAttributes(org.deckfour.xes.model.XEvent event)
Retrieves all output attributes of an event as a XAttributeMap- Parameters:
event- Event to retrieve output attributes for.- Returns:
- The XAttributeMap containing output attributes.
-
clearInputAttributes
public void clearInputAttributes(org.deckfour.xes.model.XEvent e)
-
clearOutputAttributes
public void clearOutputAttributes(org.deckfour.xes.model.XEvent e)
-
assignInputAttributes
public void assignInputAttributes(org.deckfour.xes.model.XLog log, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to a log- Parameters:
log- Log to add the input attribute to.attribute- The input attribute to be added.
-
assignInputAttributes
public void assignInputAttributes(org.deckfour.xes.model.XTrace trace, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to a trace- Parameters:
trace- Trace to add the input attribute to.attribute- The input attribute to be added.
-
assignInputAttributes
public void assignInputAttributes(org.deckfour.xes.model.XEvent event, org.deckfour.xes.model.XAttribute attribute)Add an input attribute to an event- Parameters:
event- Event to add the input attribute to.attribute- The input attribute to be added.
-
assignOutputAttributes
public void assignOutputAttributes(org.deckfour.xes.model.XLog log, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to a log- Parameters:
log- Log to add the output attribute to.attribute- The output attribute to be added.
-
assignOutputAttributes
public void assignOutputAttributes(org.deckfour.xes.model.XTrace trace, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to a trace- Parameters:
trace- Trace to add the output attribute to.attribute- The output attribute to be added.
-
assignOutputAttributes
public void assignOutputAttributes(org.deckfour.xes.model.XEvent event, org.deckfour.xes.model.XAttribute attribute)Add an output attribute to an event- Parameters:
event- Event to add the output attribute to.attribute- The output attribute to be added.
-
-