Enum QALink.SignOffMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<QALink.SignOffMode>
    Enclosing class:
    QALink

    public static enum QALink.SignOffMode
    extends java.lang.Enum<QALink.SignOffMode>
    How the Event is signed off. None indicates no signoff is required. Single requires only the Supervisor to signoff. Dual requires both the Operator and Supervisor to signoff
    Author:
    SGSystems
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DUAL  
      NONE  
      SINGLE  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getInt()  
      static QALink.SignOffMode parse​(int type)  
      java.lang.String toString()  
      static QALink.SignOffMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static QALink.SignOffMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static QALink.SignOffMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (QALink.SignOffMode c : QALink.SignOffMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static QALink.SignOffMode valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum<QALink.SignOffMode>
      • getInt

        public int getInt()