Enum DepartureDiscipline

java.lang.Object
java.lang.Enum<DepartureDiscipline>
jline.lang.constant.DepartureDiscipline
All Implemented Interfaces:
Serializable, Comparable<DepartureDiscipline>, java.lang.constant.Constable

public enum DepartureDiscipline extends Enum<DepartureDiscipline> implements Serializable
Departure disciplines for the depository of a queueing place (QPN semantics). A queueing place serves tokens in its embedded queue and, on service completion, moves them to a depository from which they become available to the output transitions. The departure discipline governs the order in which depository tokens become available. - Normal: tokens become available immediately upon service completion (standard QPN). - FIFO: tokens become available in their order of arrival to the depository (Spinner et al.).
  • Enum Constant Details

  • Method Details

    • values

      public static DepartureDiscipline[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static DepartureDiscipline valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getID

      public int getID()
    • fromID

      public static DepartureDiscipline fromID(int id)
    • toText

      public static String toText(DepartureDiscipline discipline)