Package org.deckfour.xes.model
Interface XAttribute
-
- All Superinterfaces:
java.lang.Cloneable,java.lang.Comparable<XAttribute>,java.io.Serializable,XAttributable
- All Known Subinterfaces:
XAttributeBoolean,XAttributeCollection,XAttributeContainer,XAttributeContinuous,XAttributeDiscrete,XAttributeID,XAttributeList,XAttributeLiteral,XAttributeTimestamp
- All Known Implementing Classes:
XAttributeBooleanImpl,XAttributeCollectionImpl,XAttributeContainerImpl,XAttributeContinuousImpl,XAttributeDiscreteImpl,XAttributeIDImpl,XAttributeImpl,XAttributeListImpl,XAttributeLiteralImpl,XAttributeTimestampImpl
public interface XAttribute extends XAttributable, java.lang.Cloneable, java.lang.Comparable<XAttribute>, java.io.Serializable
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(XVisitor visitor, XAttributable attributable)java.lang.Objectclone()Attributes must be cloneable.XExtensiongetExtension()Retrieves the extension defining this attribute.java.lang.StringgetKey()Retrieves the key, i.e.java.lang.StringtoString()String representation of the value.-
Methods inherited from interface org.deckfour.xes.model.XAttributable
getAttributes, getExtensions, hasAttributes, setAttributes
-
-
-
-
Method Detail
-
getKey
java.lang.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
java.lang.Object clone()
Attributes must be cloneable.- Returns:
- A clone of this attribute.
-
toString
java.lang.String toString()
String representation of the value.- Overrides:
toStringin classjava.lang.Object- Returns:
- Returns the String representation of the value.
-
accept
void accept(XVisitor visitor, XAttributable attributable)
-
-