public class XesOrganizationalExtension extends XesExtensionImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP |
static java.lang.String |
RESOURCE |
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGroup(XesEvent event)
Returns the group associated with the given event, that is, the value of
the attribute with key "org:group".
|
java.lang.String |
getResource(XesEvent event)
Returns the resource associated with the given event, that is, the value
of the attribute with key "org:resource".
|
java.lang.String |
getRole(XesEvent event)
Returns the role associated with the given event, that is, the value of
the attribute with key "org:role".
|
static XesOrganizationalExtension |
instance() |
XesStringAttribute |
setGroup(XesEvent event,
java.lang.String value)
Sets the group associated with the given event, that is, the value of the
attribute with key "org:group".
|
XesStringAttribute |
setResource(XesEvent event,
java.lang.String value)
Sets the resource associated with the given event, that is, the value of
the attribute with key "org:resource".
|
XesStringAttribute |
setRole(XesEvent event,
java.lang.String value)
Sets the role associated with the given event, that is, the value of the
attribute with key "org:role".
|
addAlias, addEventAttribute, addLogAttribute, addMetaAttribute, addTraceAttribute, getAlias, getEventAttributes, getLogAttributes, getMetaAttributes, getName, getPrefix, getTraceAttributes, getURI, hasAttribute, hasEventAttribute, hasLogAttribute, hasMetaAttribute, hasTraceAttribute, setName, setPrefix, setURI, toString
public static final java.lang.String RESOURCE
public static final java.lang.String ROLE
public static final java.lang.String GROUP
public static XesOrganizationalExtension instance()
public java.lang.String getResource(XesEvent event)
event
- The given event.public XesStringAttribute setResource(XesEvent event, java.lang.String value)
event
- The given event.value
- The resource to set.public java.lang.String getRole(XesEvent event)
event
- The given event.public XesStringAttribute setRole(XesEvent event, java.lang.String value)
event
- The given event.value
- The role to set.public java.lang.String getGroup(XesEvent event)
event
- The given event.public XesStringAttribute setGroup(XesEvent event, java.lang.String value)
event
- The given event.value
- The group to set.