public class OutputEvent extends AbstractEvent
Modifier and Type | Field and Description |
---|---|
protected InputEvent |
inputEvent
the input event this output event is consequence of
|
Constructor and Description |
---|
OutputEvent(InputEvent ev) |
Modifier and Type | Method and Description |
---|---|
InputEvent |
getInputEvent() |
boolean |
isInput()
Tests if it is an input event
|
boolean |
isInternal()
Tests if it is an internal event
|
boolean |
isLinking() |
boolean |
isOutput()
Tests if it is an output event
|
void |
setIsLinking(boolean flag) |
java.lang.String |
toString() |
getEventProp, getReactingTC, getSimpleTCEvent, getSource, getTarget, getTime, getTuple, setReactingTC, setSimpleTCEvent, setSource, setTarget
protected final InputEvent inputEvent
public OutputEvent(InputEvent ev)
ev
- the input event this output event refers topublic InputEvent getInputEvent()
public boolean isInput()
AbstractEvent
isInput
in class AbstractEvent
public boolean isInternal()
AbstractEvent
isInternal
in class AbstractEvent
public boolean isLinking()
public boolean isOutput()
AbstractEvent
isOutput
in class AbstractEvent
public void setIsLinking(boolean flag)
flag
- wether this event is a linking eventpublic java.lang.String toString()
toString
in class AbstractEvent