org.deckfour.xes.model
Interface XAttribute

All Superinterfaces:
Cloneable, Comparable<XAttribute>, XAttributable
All Known Subinterfaces:
XAttributeBoolean, XAttributeContinuous, XAttributeDiscrete, XAttributeLiteral, XAttributeTimestamp
All Known Implementing Classes:
XAttributeBooleanImpl, XAttributeContinuousImpl, XAttributeDiscreteImpl, XAttributeImpl, XAttributeLiteralImpl, XAttributeTimestampImpl

public interface XAttribute
extends XAttributable, Cloneable, Comparable<XAttribute>

This interface defines attributes used for describing meta-information about event log hierarchy elements. Attributes have a name (i.e., a key), which is string-based. The value of an attribute is strongly typed, and can be accessed and modified via sub-interface methods specified by type. Attributes may further be defined by an extension, which makes it possible to assign semantic meaning to them within a specific domain.

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

Method Summary
 Object clone()
          Attributes must be cloneable.
 XExtension getExtension()
          Retrieves the extension defining this attribute.
 String getKey()
          Retrieves the key, i.e.
 
Methods inherited from interface org.deckfour.xes.model.XAttributable
getAttributes, getExtensions, setAttributes
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getKey

String getKey()
Retrieves the key, i.e. unique identifier, of this attribute.

Returns:
The key of this attribute, as a string.

getExtension

XExtension getExtension()
Retrieves the extension defining this attribute.

Returns:
The extension of this attribute. May return null, if there is no extension defining this attribute.

clone

Object clone()
Attributes must be cloneable.

Returns:
A clone of this attribute.