Enum MediaTypeCode

java.lang.Object
java.lang.Enum<MediaTypeCode>
org.openehealth.ipf.commons.audit.codes.MediaTypeCode
All Implemented Interfaces:
Serializable, Comparable<MediaTypeCode>, java.lang.constant.Constable, CodedValueType, EnumeratedCodedValue<MediaType>, EnumeratedValueSet<MediaType>, MediaType

public enum MediaTypeCode extends Enum<MediaTypeCode> implements MediaType, EnumeratedCodedValue<MediaType>
Media Type Code as specified in http://dicom.nema.org/medical/dicom/current/output/html/part16.html#sect_CID_405 1.2.840.10008.6.1.908
Since:
3.5
Author:
Christian Ohr
  • Enum Constant Details

  • Method Details

    • values

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

      public static MediaTypeCode 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 name
      NullPointerException - if the argument is null
    • enumForCode

      public static MediaTypeCode enumForCode(String code)
    • getValue

      public MediaType getValue()
      Specified by:
      getValue in interface EnumeratedValueSet<MediaType>