|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.model.impl.XAttributeImpl
public abstract class XAttributeImpl
This class implements the abstract base class for strongly-typed attributes.
Constructor Summary | |
---|---|
protected |
XAttributeImpl(String key)
Creates a new, empty attribute. |
protected |
XAttributeImpl(String key,
XExtension extension)
Creates a new attribute. |
Method Summary | |
---|---|
Object |
clone()
Attributes must be cloneable. |
int |
compareTo(XAttribute o)
|
boolean |
equals(Object obj)
|
XAttributeMap |
getAttributes()
Retrieves the attributes set for this element. |
XExtension |
getExtension()
Retrieves the extension defining this attribute. |
Set<XExtension> |
getExtensions()
Retrieves the extensions used by this element, i.e. |
String |
getKey()
Retrieves the key, i.e. |
int |
hashCode()
|
void |
setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected XAttributeImpl(String key)
key
- The key, i.e. unique name identifier, of this attribute.protected XAttributeImpl(String key, XExtension extension)
key
- The key, i.e. unique name identifier, of this attribute.extension
- The extension used for defining this attribute.Method Detail |
---|
public String getKey()
XAttribute
getKey
in interface XAttribute
public XExtension getExtension()
XAttribute
getExtension
in interface XAttribute
null
, if there is no extension
defining this attribute.public XAttributeMap getAttributes()
XAttributable
getAttributes
in interface XAttributable
public void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes
in interface XAttributable
attributes
- A map of attributes.public Set<XExtension> getExtensions()
XAttributable
getExtensions
in interface XAttributable
public Object clone()
XAttribute
clone
in interface XAttribute
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int compareTo(XAttribute o)
compareTo
in interface Comparable<XAttribute>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |