java.lang.Object
java.lang.Enum<SubjectRole>
org.openehealth.ipf.commons.ihe.xacml20.model.SubjectRole
All Implemented Interfaces:
Serializable, Comparable<SubjectRole>, java.lang.constant.Constable

public enum SubjectRole extends Enum<SubjectRole>
Author:
Dmytro Rud
  • Enum Constant Details

    • PATIENT

      public static final SubjectRole PATIENT
    • PROFESSIONAL

      public static final SubjectRole PROFESSIONAL
    • ASSISTANT

      public static final SubjectRole ASSISTANT
    • REPRESENTATIVE

      public static final SubjectRole REPRESENTATIVE
    • DOCUMENT_ADMIN

      public static final SubjectRole DOCUMENT_ADMIN
    • POLICY_ADMIN

      public static final SubjectRole POLICY_ADMIN
    • TECHNICAL_USER

      public static final SubjectRole TECHNICAL_USER
  • Method Details

    • values

      public static SubjectRole[] 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 SubjectRole 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
    • fromCode

      public static SubjectRole fromCode(CE code)
    • getCode

      public CE getCode()