JIVE Platform
Release 0.3.1

edu.buffalo.cse.jive.sequence
Interface EventOccurrence

All Known Subinterfaces:
MessageReceive, MessageSend

public interface EventOccurrence

An occurrence of a method call, variable assignment, or any other event of interest within a program execution history. A EventOccurrence is contained within an ExecutionOccurrence and effectively encapsulates the underlying event.

See Also:
SequenceModel, ExecutionOccurrence, MessageSend

Method Summary
 void accept(SequenceModel.EventVisitor visitor, Object arg)
          Accepts the EventVisitor.
 ExecutionOccurrence containingExecution()
          Returns the ExecutionOccurrence in which the event occurrence is contained.
 Event underlyingEvent()
          Returns the underlying event in which the event occurrence encapsulates.
 

Method Detail

accept

void accept(SequenceModel.EventVisitor visitor,
            Object arg)
Accepts the EventVisitor.

Parameters:
visitor - the visitor to accept
arg - the argument of the visitor

underlyingEvent

Event underlyingEvent()
Returns the underlying event in which the event occurrence encapsulates.

Returns:
the event underlying the event occurrence

containingExecution

ExecutionOccurrence containingExecution()
Returns the ExecutionOccurrence in which the event occurrence is contained.

Returns:
the containing execution of the event occurrence

JIVE Platform
Release 0.3.1