Enum Class AuthorRole

java.lang.Object
java.lang.Enum<AuthorRole>
org.projecthusky.common.at.enums.AuthorRole
All Implemented Interfaces:
Serializable, Comparable<AuthorRole>, Constable, ValueSetEnumInterfaceAt, CodedMetadataEnumInterface, TranslatedEnumInterface, ValueSetEnumInterface

public enum AuthorRole extends Enum<AuthorRole> implements ValueSetEnumInterfaceAt
  • Enum Constant Details

    • DENTIST

      public static final AuthorRole DENTIST
    • HOSPITAL

      public static final AuthorRole HOSPITAL
    • PHARMACIST

      public static final AuthorRole PHARMACIST
    • PHYSICIAN

      public static final AuthorRole PHYSICIAN
    • CARE_HOME

      public static final AuthorRole CARE_HOME
    • ELGA_CONSULTING

      public static final AuthorRole ELGA_CONSULTING
    • ELGA_OFFICE_OF_OMBUDSMAN

      public static final AuthorRole ELGA_OFFICE_OF_OMBUDSMAN
    • ELGA_OBJECTION_OFFICE

      public static final AuthorRole ELGA_OBJECTION_OFFICE
    • ELGA_RULES_ADMINISTRATOR

      public static final AuthorRole ELGA_RULES_ADMINISTRATOR
    • ELGA_SECURITY_ADMINISTRATOR

      public static final AuthorRole ELGA_SECURITY_ADMINISTRATOR
    • ELGA_PARTICIPANT

      public static final AuthorRole ELGA_PARTICIPANT
    • AUTHORIZED_ELGA_PARTICIPANT

      public static final AuthorRole AUTHORIZED_ELGA_PARTICIPANT
  • Field Details

  • Method Details

    • values

      public static AuthorRole[] 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 AuthorRole 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
    • getEnum

      public static AuthorRole getEnum(String code)
      Gets the Enum with a given code
      Parameters:
      code -
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Parameters:
      enumName - enumName
      Returns:
      true, if enum is in this value set
    • isInValueSet

      public static boolean isInValueSet(String codeValue)
      Checks if a given code value is in this value set.
      Parameters:
      codeValue -
      Returns:
      true, if is in value set
    • getCodeSystemId

      public String getCodeSystemId()
      Gets the code system identifier.
      Specified by:
      getCodeSystemId in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the code system name.
      Specified by:
      getCodeSystemName in interface ValueSetEnumInterface
      Returns:
      the code system identifier
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Specified by:
      getCodeValue in interface ValueSetEnumInterface
      Returns:
      the code
    • getDisplayNameAt

      public String getDisplayNameAt(LanguageCode languageCode)
      Gets the display name defined by the language param. If there is no english translation, the default display name is returned.
      Specified by:
      getDisplayNameAt in interface ValueSetEnumInterfaceAt
      Parameters:
      languageCode - the language code to get the display name for
      Returns:
      returns the display name in the desired language. if language not found, display name in german will returned
    • getValueSetId

      public String getValueSetId()
      Gets the value set identifier.
      Specified by:
      getValueSetId in interface ValueSetEnumInterface
      Returns:
      the value set identifier
    • getValueSetName

      public String getValueSetName()
      Gets the value set name.
      Specified by:
      getValueSetName in interface ValueSetEnumInterface
      Returns:
      the value set name