Enum Class MhdVersion

java.lang.Object
java.lang.Enum<MhdVersion>
org.openehealth.ipf.commons.ihe.fhir.mhd.MhdVersion
All Implemented Interfaces:
Serializable, Comparable<MhdVersion>, Constable

public enum MhdVersion extends Enum<MhdVersion>
The versions of the MHD supplement IPF knows about. Note that this is a version of the profiles, not of the IPF model classes: the resources built by those conform to more than one MHD version, e.g. they carry both the Identifier.use of MHD 4.2.3 and the Identifier.type of MHD 4.2.4 (CP-ITI-1328-01).
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static MhdVersion[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MhdVersion valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null