org.deckfour.xes.model.impl
Class XAttributeIDImpl
java.lang.Object
org.deckfour.xes.model.impl.XAttributeImpl
org.deckfour.xes.model.impl.XAttributeIDImpl
- All Implemented Interfaces:
- Cloneable, Comparable<XAttribute>, XAttributable, XAttribute, XAttributeID
public class XAttributeIDImpl
- extends XAttributeImpl
- implements XAttributeID
- Author:
- Eric Verbeek (h.m.w.verbeek@tue.nl)
XAttributeIDImpl
public XAttributeIDImpl(String key,
XID value)
- Creates a new instance.
- Parameters:
key
- The key of the attribute.value
- Value of the attribute.
XAttributeIDImpl
public XAttributeIDImpl(String key,
XID value,
XExtension extension)
- Creates a new instance.
- Parameters:
key
- The key of the attribute.value
- Value of the attribute.extension
- The extension of the attribute.
getValue
public XID getValue()
- Description copied from interface:
XAttributeID
- Retrieves the ID value of this attribute.
- Specified by:
getValue
in interface XAttributeID
- Returns:
- Value of this attribute.
setValue
public void setValue(XID value)
- Description copied from interface:
XAttributeID
- Assigns the ID value of this attribute.
- Specified by:
setValue
in interface XAttributeID
- Parameters:
value
- Value of the attribute.
toString
public String toString()
- Overrides:
toString
in class Object
clone
public Object clone()
- Description copied from interface:
XAttribute
- Attributes must be cloneable.
- Specified by:
clone
in interface XAttribute
- Overrides:
clone
in class XAttributeImpl
- Returns:
- A clone of this attribute.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class XAttributeImpl
compareTo
public int compareTo(XAttribute other)
- Specified by:
compareTo
in interface Comparable<XAttribute>
- Overrides:
compareTo
in class XAttributeImpl