Package org.deckfour.xes.model
Interface XAttributable
-
- All Known Subinterfaces:
XAttribute,XAttributeBoolean,XAttributeCollection,XAttributeContainer,XAttributeContinuous,XAttributeDiscrete,XAttributeID,XAttributeList,XAttributeLiteral,XAttributeTimestamp,XElement,XEvent,XLog,XTrace
- All Known Implementing Classes:
XAttributeBooleanImpl,XAttributeCollectionImpl,XAttributeContainerImpl,XAttributeContinuousImpl,XAttributeDiscreteImpl,XAttributeIDImpl,XAttributeImpl,XAttributeListImpl,XAttributeLiteralImpl,XAttributeTimestampImpl,XEventImpl,XExtendedEvent,XLogImpl,XTraceBufferedImpl,XTraceImpl
public interface XAttributableThis 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description XAttributeMapgetAttributes()Retrieves the attributes set for this element.java.util.Set<XExtension>getExtensions()Retrieves the extensions used by this element, i.e.booleanhasAttributes()Checks for the existence of attributes.voidsetAttributes(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.
-
hasAttributes
boolean hasAttributes()
Checks for the existence of attributes. This method can be a more efficient way of checking for the existance of attributes than usinggetAttributes()in certain situations.- Returns:
- whether this element has any attributes
-
getExtensions
java.util.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.
-
-