org.progressmining.xeslite.external.store
Interface XAttributeStore
- All Known Implementing Classes:
- XAttributeMapDBStore, XAttributeMapDBStore.DirectMemoryStore, XAttributeMapDBStore.DiskStore
public interface XAttributeStore
Interface representing a storage of multiple XAttributeMap references
by a long.
- Author:
- F. Mannhardt
getAttributes
org.deckfour.xes.model.XAttributeMap getAttributes(XExternalAttributable attributable)
- Parameters:
id - of the XAttributeMap
- Returns:
- the XAttributeMap associated with this id, possibly empty
setAttributes
void setAttributes(XExternalAttributable attributable,
org.deckfour.xes.model.XAttributeMap attributes)
- Parameters:
id - of the XAttributeMapattributes - the XAttributeMap that replaces all existing attributes for
this id
removeAttributes
org.deckfour.xes.model.XAttributeMap removeAttributes(XExternalAttributable attributable)
- Parameters:
id - of the XAttributeMap
- Returns:
- a XAttributeMap with the previous values, possibly empty
hasAttributes
boolean hasAttributes(XExternalAttributable attributable)
commit
void commit()
- Commits all pending changes to the underlying storage