|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deckfour.xes.model.impl.XEventImpl
public class XEventImpl
Implementation for the XEvent interface.
Constructor Summary | |
---|---|
XEventImpl()
Creates a new event. |
|
XEventImpl(XAttributeMap attributes)
Creates a new event. |
|
XEventImpl(XID id)
Creates a new event with a given ID. |
|
XEventImpl(XID id,
XAttributeMap attributes)
Creates a new event with the given id and attributed |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this event, i.e. |
boolean |
equals(java.lang.Object o)
Tests for equality of IDs |
XAttributeMap |
getAttributes()
Retrieves the attributes set for this element. |
java.util.Set<XExtension> |
getExtensions()
Retrieves the extensions used by this element, i.e. |
XID |
getID()
Returns the id of the event |
int |
hashCode()
Returns the hashCode of the id |
void |
setAttributes(XAttributeMap attributes)
Sets the map of attributes for this element. |
void |
setID(XID id)
Sets the ID. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XEventImpl()
public XEventImpl(XID id)
id
- the id for this eventpublic XEventImpl(XAttributeMap attributes)
attributes
- Map of attribute for the event.public XEventImpl(XID id, XAttributeMap attributes)
id
- the id for this eventattributes
- Map of attribute for the event.Method Detail |
---|
public XAttributeMap getAttributes()
XAttributable
getAttributes
in interface XAttributable
public void setAttributes(XAttributeMap attributes)
XAttributable
setAttributes
in interface XAttributable
attributes
- A map of attributes.public java.util.Set<XExtension> getExtensions()
XAttributable
getExtensions
in interface XAttributable
public java.lang.Object clone()
clone
in interface XElement
clone
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public XID getID()
XEvent
getID
in interface XEvent
public void setID(XID id)
id
- the new id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |