Package ons

Class BulkDepartureEvent

java.lang.Object
ons.Event
ons.BulkDepartureEvent

public class BulkDepartureEvent
extends Event
Methods to treat the outgoing of a Flow object.
  • Constructor Summary

    Constructors 
    Constructor Description
    BulkDepartureEvent​(long id)
    Creates a new FlowDepartureEvent object.
  • Method Summary

    Modifier and Type Method Description
    long getID()
    Retrieves the identifier of the FlowDepartureEvent object.
    java.lang.String toString()
    Prints all information related to the outgoing flow.

    Methods inherited from class ons.Event

    getTime, setTime

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BulkDepartureEvent

      public BulkDepartureEvent​(long id)
      Creates a new FlowDepartureEvent object.
      Parameters:
      id - unique identifier of the outgoing flow
  • Method Details

    • getID

      public long getID()
      Retrieves the identifier of the FlowDepartureEvent object.
      Returns:
      the FlowDepartureEvent's id attribute
    • toString

      public java.lang.String toString()
      Prints all information related to the outgoing flow.
      Overrides:
      toString in class java.lang.Object
      Returns:
      string containing all the values of the flow's parameters