public final class XUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static org.deckfour.xes.model.XAttribute |
cloneAttributeWithChangedKey(org.deckfour.xes.model.XAttribute oldAttribute,
java.lang.String newKey)
Creates a deep clone of the
XAttribute with the same value, but a
changed key. |
static org.deckfour.xes.model.XAttribute |
cloneAttributeWithChangedKeyWithFactory(org.deckfour.xes.model.XAttribute oldAttribute,
java.lang.String newKey,
org.deckfour.xes.factory.XFactory factory)
Creates a deep clone of the
XAttribute with the same value, but a
changed key. |
static java.lang.Class<?> |
getAttributeClass(org.deckfour.xes.model.XAttribute attribute)
Returns the Java class of the
XAttribute value. |
static java.lang.String |
getConceptName(org.deckfour.xes.model.XAttributable element)
Returns the event name.
|
static java.util.Set<java.lang.String> |
getEventAttributeKeys(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces) |
static java.util.Map<java.lang.String,java.lang.Class<?>> |
getEventAttributeTypes(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces) |
static java.util.Set<java.lang.String> |
getTraceAttributeKeys(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces) |
static java.util.Map<java.lang.String,java.lang.Class<?>> |
getTraceAttributeTypes(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces) |
public static java.lang.String getConceptName(org.deckfour.xes.model.XAttributable element)
element
- public static org.deckfour.xes.model.XAttribute cloneAttributeWithChangedKey(org.deckfour.xes.model.XAttribute oldAttribute, java.lang.String newKey)
XAttribute
with the same value, but a
changed key.oldAttribute
- newKey
- public static org.deckfour.xes.model.XAttribute cloneAttributeWithChangedKeyWithFactory(org.deckfour.xes.model.XAttribute oldAttribute, java.lang.String newKey, org.deckfour.xes.factory.XFactory factory)
XAttribute
with the same value, but a
changed key.oldAttribute
- newKey
- factory
- public static java.lang.Class<?> getAttributeClass(org.deckfour.xes.model.XAttribute attribute)
XAttribute
value.attribute
- public static java.util.Set<java.lang.String> getEventAttributeKeys(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces)
public static java.util.Map<java.lang.String,java.lang.Class<?>> getEventAttributeTypes(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces)
public static java.util.Set<java.lang.String> getTraceAttributeKeys(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces)
public static java.util.Map<java.lang.String,java.lang.Class<?>> getTraceAttributeTypes(java.lang.Iterable<org.deckfour.xes.model.XTrace> traces)