|
||||||||||
| 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 XAttributepublic XExtension getExtension()
XAttribute
getExtension in interface XAttributenull, if there is no extension
defining this attribute.public XAttributeMap getAttributes()
XAttributable
getAttributes in interface XAttributablepublic void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes in interface XAttributableattributes - A map of attributes.public Set<XExtension> getExtensions()
XAttributable
getExtensions in interface XAttributablepublic Object clone()
XAttribute
clone in interface XAttributeclone in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic 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 | |||||||||