public class XFactoryExternalImpl
extends java.lang.Object
implements org.deckfour.xes.factory.XFactory
XAttributable XES objects in a,
possibly external, ExternalAttributeStore. This implementation stores
attributes of XEvent, XTrace objects in a MapDBStore.DiskStore
on the file system using MapDB as storage provider. Attributes are stored
together in a single BTreeMap.
PLEASE NOTE: Attributes are immutable in this implementation, as they may be
serialized and re-created at any time. Trying to change the value of an
attribute will result in an UnsupportedOperationException.
| Modifier and Type | Class and Description |
|---|---|
static class |
XFactoryExternalImpl.MapDBDiskImpl |
| Modifier | Constructor and Description |
|---|---|
protected |
XFactoryExternalImpl(ExternalAttributeStore store) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
org.deckfour.xes.model.XAttributeBoolean |
createAttributeBoolean(java.lang.String key,
boolean value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeContainer |
createAttributeContainer(java.lang.String key,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeContinuous |
createAttributeContinuous(java.lang.String key,
double value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeDiscrete |
createAttributeDiscrete(java.lang.String key,
long value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeID |
createAttributeID(java.lang.String key,
org.deckfour.xes.id.XID value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeList |
createAttributeList(java.lang.String key,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeLiteral |
createAttributeLiteral(java.lang.String key,
java.lang.String value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeMap |
createAttributeMap() |
org.deckfour.xes.model.XAttributeTimestamp |
createAttributeTimestamp(java.lang.String key,
java.util.Date value,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XAttributeTimestamp |
createAttributeTimestamp(java.lang.String key,
long millis,
org.deckfour.xes.extension.XExtension extension) |
org.deckfour.xes.model.XEvent |
createEvent() |
org.deckfour.xes.model.XEvent |
createEvent(org.deckfour.xes.model.XAttributeMap attributes) |
org.deckfour.xes.model.XEvent |
createEvent(org.deckfour.xes.id.XID id,
org.deckfour.xes.model.XAttributeMap attributes) |
org.deckfour.xes.model.XLog |
createLog() |
org.deckfour.xes.model.XLog |
createLog(org.deckfour.xes.model.XAttributeMap attributes) |
org.deckfour.xes.model.XTrace |
createTrace() |
org.deckfour.xes.model.XTrace |
createTrace(org.deckfour.xes.model.XAttributeMap attributes) |
java.lang.String |
getAuthor() |
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.net.URI |
getUri() |
java.lang.String |
getVendor() |
protected XFactoryExternalImpl(ExternalAttributeStore store)
public java.lang.String getName()
getName in interface org.deckfour.xes.factory.XFactorypublic java.lang.String getAuthor()
getAuthor in interface org.deckfour.xes.factory.XFactorypublic java.net.URI getUri()
getUri in interface org.deckfour.xes.factory.XFactorypublic java.lang.String getVendor()
getVendor in interface org.deckfour.xes.factory.XFactorypublic java.lang.String getDescription()
getDescription in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XLog createLog()
createLog in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XLog createLog(org.deckfour.xes.model.XAttributeMap attributes)
createLog in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XTrace createTrace()
createTrace in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XTrace createTrace(org.deckfour.xes.model.XAttributeMap attributes)
createTrace in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XEvent createEvent()
createEvent in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XEvent createEvent(org.deckfour.xes.model.XAttributeMap attributes)
createEvent in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XEvent createEvent(org.deckfour.xes.id.XID id,
org.deckfour.xes.model.XAttributeMap attributes)
createEvent in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeMap createAttributeMap()
createAttributeMap in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeBoolean createAttributeBoolean(java.lang.String key,
boolean value,
org.deckfour.xes.extension.XExtension extension)
createAttributeBoolean in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeContinuous createAttributeContinuous(java.lang.String key,
double value,
org.deckfour.xes.extension.XExtension extension)
createAttributeContinuous in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeDiscrete createAttributeDiscrete(java.lang.String key,
long value,
org.deckfour.xes.extension.XExtension extension)
createAttributeDiscrete in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeLiteral createAttributeLiteral(java.lang.String key,
java.lang.String value,
org.deckfour.xes.extension.XExtension extension)
createAttributeLiteral in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeTimestamp createAttributeTimestamp(java.lang.String key,
java.util.Date value,
org.deckfour.xes.extension.XExtension extension)
createAttributeTimestamp in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeTimestamp createAttributeTimestamp(java.lang.String key,
long millis,
org.deckfour.xes.extension.XExtension extension)
createAttributeTimestamp in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeID createAttributeID(java.lang.String key,
org.deckfour.xes.id.XID value,
org.deckfour.xes.extension.XExtension extension)
createAttributeID in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeContainer createAttributeContainer(java.lang.String key,
org.deckfour.xes.extension.XExtension extension)
createAttributeContainer in interface org.deckfour.xes.factory.XFactorypublic org.deckfour.xes.model.XAttributeList createAttributeList(java.lang.String key,
org.deckfour.xes.extension.XExtension extension)
createAttributeList in interface org.deckfour.xes.factory.XFactorypublic void commit()