Class Event
- java.lang.Object
-
- io.ciera.runtime.summit.statemachine.Event
-
- All Implemented Interfaces:
IEvent,Comparable<IEvent>
public abstract class Event extends Object implements IEvent, Comparable<IEvent>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEvent.EventAttributeChangedDeltastatic classEvent.EventCreatedDeltastatic classEvent.EventDeletedDelta
-
Constructor Summary
Constructors Constructor Description Event(IRunContext runContext, int populationId)Event(IRunContext runContext, int populationId, Object... data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(IEvent e)booleanequals(Object o)Objectget(int index)EventHandlegetEventHandle()StringgetName()intgetPopulationId()IEventTargetgetTarget()inthashCode()voidto(EventHandle e, IEventTarget target)EventHandleto(IEventTarget target)booleantoSelf()EventHandletoSelf(IEventTarget target)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.ciera.runtime.summit.statemachine.IEvent
getClassName, getId
-
-
-
-
Constructor Detail
-
Event
public Event(IRunContext runContext, int populationId)
-
Event
public Event(IRunContext runContext, int populationId, Object... data)
-
-
Method Detail
-
get
public Object get(int index) throws XtumlException
- Specified by:
getin interfaceIEvent- Throws:
XtumlException
-
getEventHandle
public EventHandle getEventHandle()
- Specified by:
getEventHandlein interfaceIEvent
-
getPopulationId
public int getPopulationId()
- Specified by:
getPopulationIdin interfaceIEvent
-
getTarget
public IEventTarget getTarget()
-
to
public EventHandle to(IEventTarget target)
-
toSelf
public EventHandle toSelf(IEventTarget target)
-
to
public void to(EventHandle e, IEventTarget target)
-
compareTo
public int compareTo(IEvent e)
- Specified by:
compareToin interfaceComparable<IEvent>
-
-