org.deckfour.xes.model
Interface XAttributable

All Known Subinterfaces:
XAttribute, XAttributeBoolean, XAttributeContinuous, XAttributeDiscrete, XAttributeLiteral, XAttributeTimestamp, XElement, XEvent, XLog, XTrace
All Known Implementing Classes:
XAttributeBooleanImpl, XAttributeContinuousImpl, XAttributeDiscreteImpl, XAttributeImpl, XAttributeLiteralImpl, XAttributeTimestampImpl, XEventImpl, XExtendedEvent, XLogImpl, XTraceBufferedImpl, XTraceImpl

public interface XAttributable

This interface is implemented by all elements of the log hierarchy, which can be equipped with attributes.

Author:
Christian W. Guenther (christian@deckfour.org)

Method Summary
 XAttributeMap getAttributes()
          Retrieves the attributes set for this element.
 Set<XExtension> getExtensions()
          Retrieves the extensions used by this element, i.e.
 void setAttributes(XAttributeMap attributes)
          Sets the map of attributes for this element.
 

Method Detail

getAttributes

XAttributeMap getAttributes()
Retrieves the attributes set for this element.

Returns:
A map of attributes.

setAttributes

void setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element.

Parameters:
attributes - A map of attributes.

getExtensions

Set<XExtension> getExtensions()
Retrieves the extensions used by this element, i.e. the extensions used by all attributes of this element, and the element itself.

Returns:
A set of extensions.