Enum Class Signature

java.lang.Object
java.lang.Enum<Signature>
org.projecthusky.common.enums.Signature
All Implemented Interfaces:
Serializable, Comparable<Signature>, Constable

public enum Signature extends Enum<Signature>
  • Enum Constant Details

    • INTENDED

      public static final Signature INTENDED
      Eine Unterschrift ist beabsichtigt
    • REQUIRED

      public static final Signature REQUIRED
      Eine Unterschrift ist für diesen Akteur erforderlich
    • SIGNED

      public static final Signature SIGNED
      Eine Unterschrift ist erfolgt
  • Field Details

  • Method Details

    • values

      public static Signature[] 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 Signature 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 Signature getEnum(String code)
      Gets the Enum with a given code
      Liefert den Enum anhand eines gegebenen codes
      Parameters:
      code -
      code
      Returns:
      the enum
    • isEnumOfValueSet

      public static boolean isEnumOfValueSet(String enumName)
      Checks if a given enum is part of this value set.
      Prüft, ob der gegebene enum Teil dieses Value Sets ist.
      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.
      Prüft, ob der gegebene code in diesem Value Set vorhanden ist.
      Parameters:
      codeValue -
      code
      Returns:
      true, if is in value set
    • getCode

      public Code getCode()
      Gets the husky Code Object
      Liefert das husky Code Objekt
      Returns:
      the code
    • getCodeSystemName

      public String getCodeSystemName()
      Gets the code system name.
      Liefert code system name.
      Returns:
      the code system name
    • getCodeSystemOid

      public String getCodeSystemOid()
      Gets the code system id.
      Liefert die code system id.
      Returns:
      the code system id
    • getCodeValue

      public String getCodeValue()
      Gets the actual Code as string
      Liefert den eigentlichen Code als String
      Returns:
      the code
    • getCS

      public CS getCS()
      Gets the Code of this Enum as MDHT Object.
      Liefert den Code dieses Enum als MDHT Objekt.
      Returns:
      The MDHT Code
    • getDisplayName

      public String getDisplayName()
      Gets the display name.
      Liefert display name.
      Returns:
      the display name