public class XesExtensionImpl extends java.lang.Object implements XesExtension
| Constructor and Description |
|---|
XesExtensionImpl() |
XesExtensionImpl(boolean isStandard) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(XesAttribute attribute,
java.lang.String mapping,
java.lang.String alias) |
void |
addEventAttribute(XesAttribute attribute)
Adds an event attribute to the extension.
|
void |
addLogAttribute(XesAttribute attribute)
Adds a log attribute to the extension.
|
void |
addMetaAttribute(XesAttribute attribute)
Adds a meta attribute to the extension.
|
void |
addTraceAttribute(XesAttribute attribute)
Adds a trace attribute to the extension.
|
java.lang.String |
getAlias(XesAttribute attribute,
java.lang.String mapping) |
java.util.List<XesAttribute> |
getEventAttributes() |
java.util.List<XesAttribute> |
getLogAttributes() |
java.util.List<XesAttribute> |
getMetaAttributes() |
java.lang.String |
getName() |
java.lang.String |
getPrefix() |
java.util.List<XesAttribute> |
getTraceAttributes() |
java.net.URI |
getURI() |
protected boolean |
hasAttribute(java.util.List<XesAttribute> attributes,
java.lang.String key) |
boolean |
hasEventAttribute(java.lang.String key)
Returns whether this extension supports the given event attribute key.
|
boolean |
hasLogAttribute(java.lang.String key)
Returns whether this extension supports the given log attribute key.
|
boolean |
hasMetaAttribute(java.lang.String key)
Returns whether this extension supports the given meta attribute key.
|
boolean |
hasTraceAttribute(java.lang.String key)
Returns whether this extension supports the given trace attribute key.
|
void |
setName(java.lang.String name)
Sets the name for the extension.
|
void |
setPrefix(java.lang.String prefix)
Sets the prefix for the extension.
|
void |
setURI(java.net.URI uri)
Sets the URI for the extension.
|
java.lang.String |
toString() |
public XesExtensionImpl(boolean isStandard)
public XesExtensionImpl()
public void setName(java.lang.String name)
XesExtensionsetName in interface XesExtensionname - The name to set.public java.lang.String getName()
getName in interface XesExtensionpublic void setPrefix(java.lang.String prefix)
XesExtensionsetPrefix in interface XesExtensionprefix - The prefix to set.public java.lang.String getPrefix()
getPrefix in interface XesExtensionpublic void setURI(java.net.URI uri)
XesExtensionsetURI in interface XesExtensionuri - The URI set for the extension.public java.net.URI getURI()
getURI in interface XesExtensionpublic void addLogAttribute(XesAttribute attribute)
XesExtensionaddLogAttribute in interface XesExtensionattribute - The log attribute to add.public java.util.List<XesAttribute> getLogAttributes()
getLogAttributes in interface XesExtensionpublic void addTraceAttribute(XesAttribute attribute)
XesExtensionaddTraceAttribute in interface XesExtensionattribute - The trace attribute to add.public java.util.List<XesAttribute> getTraceAttributes()
getTraceAttributes in interface XesExtensionpublic void addEventAttribute(XesAttribute attribute)
XesExtensionaddEventAttribute in interface XesExtensionattribute - The event attribute to add.public java.util.List<XesAttribute> getEventAttributes()
getEventAttributes in interface XesExtensionpublic void addMetaAttribute(XesAttribute attribute)
XesExtensionaddMetaAttribute in interface XesExtensionattribute - The meta attribute to add.public java.util.List<XesAttribute> getMetaAttributes()
getMetaAttributes in interface XesExtensionpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean hasLogAttribute(java.lang.String key)
XesExtensionhasLogAttribute in interface XesExtensionkey - The given attribute key.public boolean hasTraceAttribute(java.lang.String key)
XesExtensionhasTraceAttribute in interface XesExtensionkey - The given attribute key.public boolean hasEventAttribute(java.lang.String key)
XesExtensionhasEventAttribute in interface XesExtensionkey - The given attribute key.public boolean hasMetaAttribute(java.lang.String key)
XesExtensionhasMetaAttribute in interface XesExtensionkey - The given attribute key.protected boolean hasAttribute(java.util.List<XesAttribute> attributes, java.lang.String key)
public void addAlias(XesAttribute attribute, java.lang.String mapping, java.lang.String alias)
addAlias in interface XesExtensionpublic java.lang.String getAlias(XesAttribute attribute, java.lang.String mapping)
getAlias in interface XesExtension