net.sourceforge.jabm.report
Class CombiReportVariables

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

public class CombiReportVariables
extends java.lang.Object
implements ReportVariables

 

Field Summary
protected  java.lang.String name
           
protected  java.util.List<ReportVariables> reportVariables
           
 
Constructor Summary
CombiReportVariables()
           
 
Method Summary
 void compute(SimEvent event)
          Update variables.
 void dispose(SimEvent event)
          Clean up any side effects (eg close file).
 void eventOccurred(SimEvent event)
           
 java.lang.String getName()
           
 java.util.List<ReportVariables> getReportVariables()
           
 java.util.Map<java.lang.Object,java.lang.Number> getVariableBindings()
          Get the values calculated by this report.
 void initialise(SimEvent event)
          Initialise the variables in response to event.
 void setName(java.lang.String name)
           
 void setReportVariables(java.util.List<ReportVariables> reportVariables)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reportVariables

protected java.util.List<ReportVariables> reportVariables

name

protected java.lang.String name
Constructor Detail

CombiReportVariables

public CombiReportVariables()
Method Detail

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.

eventOccurred

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

compute

public void compute(SimEvent event)
Description copied from interface: ReportVariables
Update variables.

Specified by:
compute in interface ReportVariables

dispose

public void dispose(SimEvent event)
Description copied from interface: ReportVariables
Clean up any side effects (eg close file).

Specified by:
dispose in interface ReportVariables

initialise

public void initialise(SimEvent event)
Description copied from interface: ReportVariables
Initialise the variables in response to event.

Specified by:
initialise in interface ReportVariables

getName

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

setName

public void setName(java.lang.String name)

getReportVariables

public java.util.List<ReportVariables> getReportVariables()

setReportVariables

public void setReportVariables(java.util.List<ReportVariables> reportVariables)