Enum Class ValueSetEntryType

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

public enum ValueSetEntryType extends Enum<ValueSetEntryType>
This enum serves to properly handle a ValueSetEntry (e.g., implementing the tree structure). The content of the enum is as given by ART-DECOR. In the case of a possible implementation of the interface to the terminology server, a mapping to the entry types in the terminology server need to be made here.
Dieses Enum dient dazu, dass ein ValueSetEntry richtig behandelt werden kann (z.B. Abbilden der Baumstruktur). Der Inhalt des Enums ist wie von ART-DECOR vorgegeben. Bei einer allfälligen Implementierung der Schnittstelle zum Terminologieserver muss hier evtl. ein Mapping zu den Entry Typen im Terminologieserver gemacht werden.
.
  • Enum Constant Details

    • ABSTRACT

      public static final ValueSetEntryType ABSTRACT
      Abstract node as given by ART-DECOR.
      Abstrakter Knoten gemäss ART-DECOR.
    • DEPRECATED

      public static final ValueSetEntryType DEPRECATED
      Deprecated node as given by ART-DECOR.
      Veralteter Knoten gemäss ART-DECOR.
    • LEAF

      public static final ValueSetEntryType LEAF
      Leaf node as given by ART-DECOR.
      Endknoten gemäss ART-DECOR.
    • SPECIALIZABLE

      public static final ValueSetEntryType SPECIALIZABLE
      Specializable node as given by ART-DECOR.
      Spezialisierbarer Knoten gemäss ART-DECOR.
  • Method Details

    • values

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

      public String getCodeValue()
      Gets the code value.
      Ruft den Wert des Codes ab.
      Returns:
      the code value
    • getDisplayName

      public String getDisplayName()
      Gets the display name.
      Ruft den Anzeigenamen ab.
      Returns:
      the display name