net.sourceforge.jabm.report
Class SimEventReport

java.lang.Object
  extended by net.sourceforge.jabm.report.SimEventReport
All Implemented Interfaces:
EventListener, Report

public class SimEventReport
extends java.lang.Object
implements Report

 

Field Summary
protected  SimEvent eventPrototype
           
protected  ReportVariables reportVariables
           
 
Constructor Summary
SimEventReport()
           
 
Method Summary
 void eventOccurred(SimEvent event)
           
 SimEvent getEventPrototype()
           
 java.lang.String getName()
           
 ReportVariables getReportVariables()
           
 java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
          Get the values calculated by this report.
 void onEventPrototype(SimEvent event)
           
 void onSimulationFinished(SimEvent event)
           
 void onSimulationStarting(SimEvent event)
           
 void setEventPrototype(SimEvent eventPrototype)
           
 void setReportVariables(ReportVariables reportVariables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

eventPrototype

protected SimEvent eventPrototype

reportVariables

protected ReportVariables reportVariables
Constructor Detail

SimEventReport

public SimEventReport()
Method Detail

eventOccurred

public void eventOccurred(SimEvent event)
Specified by:
eventOccurred in interface EventListener

onEventPrototype

public void onEventPrototype(SimEvent event)

onSimulationStarting

public void onSimulationStarting(SimEvent event)

onSimulationFinished

public void onSimulationFinished(SimEvent event)

getVariableBindings

public java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
Description copied from interface: Report
Get the values calculated by this report.

Specified by:
getVariableBindings in interface Report
Returns:
A Map of user-readable variable names to their associated values.

getReportVariables

public ReportVariables getReportVariables()

setReportVariables

public void setReportVariables(ReportVariables reportVariables)

getEventPrototype

public SimEvent getEventPrototype()

setEventPrototype

public void setEventPrototype(SimEvent eventPrototype)

getName

public java.lang.String getName()
Specified by:
getName in interface Report