Package ca.uhn.fhir.util
Enum VersionEnum
- java.lang.Object
-
- java.lang.Enum<VersionEnum>
-
- ca.uhn.fhir.util.VersionEnum
-
- All Implemented Interfaces:
Serializable,Comparable<VersionEnum>
public enum VersionEnum extends Enum<VersionEnum>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VersionEnumlatestVersion()static VersionEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static VersionEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V2_5_0
public static final VersionEnum V2_5_0
-
V3_0_0
public static final VersionEnum V3_0_0
-
V3_1_0
public static final VersionEnum V3_1_0
-
V3_2_0
public static final VersionEnum V3_2_0
-
V3_3_0
public static final VersionEnum V3_3_0
-
V3_4_0
public static final VersionEnum V3_4_0
-
V3_5_0
public static final VersionEnum V3_5_0
-
V3_6_0
public static final VersionEnum V3_6_0
-
V3_7_0
public static final VersionEnum V3_7_0
-
V3_8_0
public static final VersionEnum V3_8_0
-
V4_0_0
public static final VersionEnum V4_0_0
-
V4_1_0
public static final VersionEnum V4_1_0
-
-
Method Detail
-
values
public static VersionEnum[] 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 (VersionEnum c : VersionEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionEnum 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 nameNullPointerException- if the argument is null
-
latestVersion
public static VersionEnum latestVersion()
-
-