aa4mm.basic.event_type
Class ValidEvent

java.lang.Object
  extended by aa4mm.basic.event_type.ValidEvent

public class ValidEvent
extends java.lang.Object

Author:
julien siebert This class represents event exchanged between simulators, made of simulation event with corresponding time interval validity.

Field Summary
private  SimulEvent event
          simulation data
private  boolean isEmpty
           
private  double validityLowerBound
          simulation time at which the data starts being valid
private  double validityUpperBound
          simulation time at which the data stops being valid
 
Constructor Summary
ValidEvent(double lowerBound, double upperBound, SimulEvent event, java.lang.Boolean isEmpty)
           
 
Method Summary
 SimulEvent getSimulEvent()
           
 double getValidityLowerBound()
           
 double getValidityUpperBound()
           
 boolean isEmptyEvent()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

event

private SimulEvent event
simulation data


validityLowerBound

private double validityLowerBound
simulation time at which the data starts being valid


validityUpperBound

private double validityUpperBound
simulation time at which the data stops being valid


isEmpty

private boolean isEmpty
Constructor Detail

ValidEvent

public ValidEvent(double lowerBound,
                  double upperBound,
                  SimulEvent event,
                  java.lang.Boolean isEmpty)
Method Detail

getValidityLowerBound

public double getValidityLowerBound()

getValidityUpperBound

public double getValidityUpperBound()

isEmptyEvent

public boolean isEmptyEvent()

getSimulEvent

public SimulEvent getSimulEvent()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object