|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<XEvent>
org.deckfour.xes.model.impl.XTraceImpl
public class XTraceImpl
Memory-based implementation for the XTrace interface.
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
XTraceImpl(XAttributeMap attributeMap)
Creates a new trace. |
Method Summary | |
---|---|
void |
accept(XVisitor visitor,
XLog log)
|
Object |
clone()
Creates a clone, i.e. |
XAttributeMap |
getAttributes()
Retrieves the attributes set for this element. |
Set<XExtension> |
getExtensions()
Retrieves the extensions used by this element, i.e. |
boolean |
hasAttributes()
Checks for the existence of attributes. |
int |
insertOrdered(XEvent event)
Insert the event in an ordered manner, if timestamp information is available in this trace. |
void |
setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Constructor Detail |
---|
public XTraceImpl(XAttributeMap attributeMap)
attributeMap
- Attribute map used to store this trace's attributes.Method Detail |
---|
public XAttributeMap getAttributes()
XAttributable
getAttributes
in interface XAttributable
public Set<XExtension> getExtensions()
XAttributable
getExtensions
in interface XAttributable
public void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes
in interface XAttributable
attributes
- A map of attributes.public boolean hasAttributes()
XAttributable
XAttributable.getAttributes()
in certain situations.
hasAttributes
in interface XAttributable
public Object clone()
clone
in interface XElement
clone
in class ArrayList<XEvent>
public int insertOrdered(XEvent event)
XTrace
insertOrdered
in interface XTrace
event
- the event to be inserted.
public void accept(XVisitor visitor, XLog log)
accept
in interface XTrace
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |