|
||||||||||
| 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.XSemanticExtension
public class XSemanticExtension
This extension adds semantic attributes to event log objects. These semantic attributes reference concepts, which are represented by event log objects, as unique URIs.
| Field Summary | |
|---|---|
static XAttributeLiteral |
ATTR_MODELREFERENCE
Model references attribute prototype. |
static URI |
EXTENSION_URI
Unique URI of this extension. |
static String |
KEY_MODELREFERENCE
Key for the model references attribute. |
| Fields inherited from class org.deckfour.xes.extension.XExtension |
|---|
allAttributes, eventAttributes, logAttributes, metaAttributes, name, prefix, traceAttributes, uri |
| Method Summary | |
|---|---|
void |
assignModelReferences(XAttributable target,
List<String> modelReferences)
Assigns to a log element (i.e., archive, log, trace, event, or attribute) a list of model references. |
void |
assignModelReferenceUris(XAttributable target,
List<URI> modelReferenceURIs)
Assigns to a log element (i.e., archive, log, trace, event, or attribute) a list of model references. |
List<String> |
extractModelReferences(XAttributable target)
Retrieves the list of model references which describe a log element (archive, log, trace, event, attribute). |
List<URI> |
extractModelReferenceURIs(XAttributable target)
Retrieves the list of model reference URIs which describe a log element (archive, log, trace, event, attribute). |
static XSemanticExtension |
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_MODELREFERENCE
public static XAttributeLiteral ATTR_MODELREFERENCE
| Method Detail |
|---|
public static XSemanticExtension instance()
public List<String> extractModelReferences(XAttributable target)
target - Any log element (i.e., archive, log, trace,
event, or attribute) to be queried.
public List<URI> extractModelReferenceURIs(XAttributable target)
target - Any log element (i.e., archive, log, trace,
event, or attribute) to be queried.
public void assignModelReferences(XAttributable target,
List<String> modelReferences)
target - Any log element (i.e., archive, log, trace,
event, or attribute) to be assigned references to.modelReferences - The list of model references, as a
list of strings, referred to by this element.
public void assignModelReferenceUris(XAttributable target,
List<URI> modelReferenceURIs)
target - Any log element (i.e., archive, log, trace,
event, or attribute) to be assigned references to.modelReferenceURIs - The list of model references, as a
list of URIs, referred to by this element.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||