|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deckfour.xes.extension.XExtension
org.deckfour.xes.extension.std.XOrganizationalExtension
public class XOrganizationalExtension
This extension adds the organizational perspective to event logs. It defines for events three attributes, referring to:
| Field Summary | |
|---|---|
static XAttributeLiteral |
ATTR_GROUP
Group attribute prototype. |
static XAttributeLiteral |
ATTR_RESOURCE
Resource attribute prototype. |
static XAttributeLiteral |
ATTR_ROLE
Role attribute prototype. |
static URI |
EXTENSION_URI
Unique URI of this extension. |
static String |
KEY_GROUP
Key for the group attribute. |
static String |
KEY_RESOURCE
Key for the resource attribute. |
static String |
KEY_ROLE
Key for the role attribute. |
| Fields inherited from class org.deckfour.xes.extension.XExtension |
|---|
allAttributes, eventAttributes, logAttributes, metaAttributes, name, prefix, traceAttributes, uri |
| Method Summary | |
|---|---|
void |
assignGroup(XEvent event,
String group)
Assigns the group attribute value for a given event. |
void |
assignResource(XEvent event,
String resource)
Assigns the resource attribute value for a given event. |
void |
assignRole(XEvent event,
String role)
Assigns the role attribute value for a given event. |
String |
extractGroup(XEvent event)
Extracts the group attribute string from an event. |
String |
extractResource(XEvent event)
Extracts the resource attribute string from an event. |
String |
extractRole(XEvent event)
Extracts the role attribute string from an event. |
static XOrganizationalExtension |
instance()
Provides access to the singleton instance. |
| Methods inherited from class org.deckfour.xes.extension.XExtension |
|---|
equals, getDefinedAttributes, getEventAttributes, getLogAttributes, getMetaAttributes, getName, getPrefix, getTraceAttributes, getUri, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final URI EXTENSION_URI
public static final String KEY_RESOURCE
public static final String KEY_ROLE
public static final String KEY_GROUP
public static XAttributeLiteral ATTR_RESOURCE
public static XAttributeLiteral ATTR_ROLE
public static XAttributeLiteral ATTR_GROUP
| Method Detail |
|---|
public static XOrganizationalExtension instance()
public String extractResource(XEvent event)
event - Event to be queried.
null if not defined)
public void assignResource(XEvent event,
String resource)
event - Event to be modified.resource - Resource string to be assigned.public String extractRole(XEvent event)
event - Event to be queried.
null if not defined)
public void assignRole(XEvent event,
String role)
event - Event to be modified.resource - Role string to be assigned.public String extractGroup(XEvent event)
event - Event to be queried.
null if not defined)
public void assignGroup(XEvent event,
String group)
event - Event to be modified.resource - Group string to be assigned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||