Enum EBeamFor

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EBeamFor>

    public enum EBeamFor
    extends java.lang.Enum<EBeamFor>
    Defines the beam for states
    Author:
    R.Bacher
    • Method Summary

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

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

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • KEIN_BEDARF

        public static final EBeamFor KEIN_BEDARF
      • PETRA

        public static final EBeamFor PETRA
      • DORIS

        public static final EBeamFor DORIS
      • TESTSTRAHL

        public static final EBeamFor TESTSTRAHL
      • KONTROLLRAUM

        public static final EBeamFor KONTROLLRAUM
      • UNBESTIMMT

        public static final EBeamFor UNBESTIMMT
    • Method Detail

      • values

        public static EBeamFor[] 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 (EBeamFor c : EBeamFor.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EBeamFor 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
      • stateAsNumber

        public int stateAsNumber()
      • stateAsText

        public java.lang.String stateAsText()
      • stateAsTextEngl

        public java.lang.String stateAsTextEngl()
      • main

        public static void main​(java.lang.String[] args)