org.progressmining.xeslite.external
Interface XExternalAttributeStore

All Known Implementing Classes:
XMapDBStore, XMapDBStore.DirectMemoryStore, XMapDBStore.DiskStore

public interface XExternalAttributeStore

Interface representing a storage of multiple XAttributeMap references by a long.

Author:
F. Mannhardt

Method Summary
 void commit()
          Commits all pending changes to the underlying storage
 org.deckfour.xes.model.XAttributeMap getAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)
           
 boolean hasAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)
           
 org.deckfour.xes.model.XAttributeMap removeAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)
           
 void setAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable, org.deckfour.xes.model.XAttributeMap attributes)
           
 

Method Detail

getAttributes

org.deckfour.xes.model.XAttributeMap getAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)
Parameters:
id - of the XAttributeMap
Returns:
the XAttributeMap associated with this id, possibly empty

setAttributes

void setAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable,
                   org.deckfour.xes.model.XAttributeMap attributes)
Parameters:
id - of the XAttributeMap
attributes - the XAttributeMap that replaces all existing attributes for this id

removeAttributes

org.deckfour.xes.model.XAttributeMap removeAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)
Parameters:
id - of the XAttributeMap
Returns:
a XAttributeMap with the previous values, possibly empty

hasAttributes

boolean hasAttributes(org.progressmining.xeslite.external.XExternalAttributable attributable)

commit

void commit()
Commits all pending changes to the underlying storage