Enum AuditSourceType

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

public enum AuditSourceType extends Enum<AuditSourceType> implements EnumeratedCodedValue<AuditSource>, AuditSource
Audit Source Type Codes as originally specified in https://tools.ietf.org/html/rfc3881#section-5.4 and now maintained in http://dicom.nema.org/medical/dicom/current/output/html/part15.html#sect_A.5.1.2 This value set is a literal part of the audit schema, ie.e. no other codes may be used.
Since:
3.5
Author:
Christian Ohr
  • Enum Constant Details

  • Method Details

    • values

      public static AuditSourceType[] 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 AuditSourceType 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 AuditSourceType enumForCode(String code)
    • getValue

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