Package de.consist.bmu.rule
Enum BMUVersion
- java.lang.Object
-
- java.lang.Enum<BMUVersion>
-
- de.consist.bmu.rule.BMUVersion
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<BMUVersion>
public enum BMUVersion extends java.lang.Enum<BMUVersion>
Die BMU-Schnittstellenversion.
-
-
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.
-
-
-
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 namejava.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
-
-