Enum BMUVersion

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

    public enum BMUVersion
    extends java.lang.Enum<BMUVersion>
    Die BMU-Schnittstellenversion.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      V103
      Version 1.03.
      V104
      Version 1.04.
      V105
      Version 1.05.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVersion()  
      static BMUVersion lookupVersion​(java.lang.String version)  
      static BMUVersion valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static BMUVersion[] 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

      • V103

        public static final BMUVersion V103
        Version 1.03.
      • V104

        public static final BMUVersion V104
        Version 1.04.
      • V105

        public static final BMUVersion V105
        Version 1.05.
    • Method Detail

      • values

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

        public static BMUVersion 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
      • getVersion

        public java.lang.String getVersion()
        Returns:
        String
      • lookupVersion

        public static BMUVersion lookupVersion​(java.lang.String version)
        Parameters:
        version - String
        Returns:
        BMUVersion