Package org.projecthusky.valueset.enums
Enum Class ValueSetEntryType
- All Implemented Interfaces:
Serializable
,Comparable<ValueSetEntryType>
,Constable
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.
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAbstract node as given by ART-DECOR. Abstrakter Knoten gemäss ART-DECOR.Deprecated node as given by ART-DECOR. Veralteter Knoten gemäss ART-DECOR.Leaf node as given by ART-DECOR. Endknoten gemäss ART-DECOR.Specializable node as given by ART-DECOR. Spezialisierbarer Knoten gemäss ART-DECOR. -
Method Summary
Modifier and TypeMethodDescriptionGets the code value. Ruft den Wert des Codes ab.Gets the display name. Ruft den Anzeigenamen ab.static ValueSetEntryType
Gets the Enum with a given code Liefert den Enum anhand eines gegebenen codesstatic ValueSetEntryType
Returns the enum constant of this class with the specified name.static ValueSetEntryType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABSTRACT
Abstract node as given by ART-DECOR.Abstrakter Knoten gemäss ART-DECOR. -
DEPRECATED
Deprecated node as given by ART-DECOR.Veralteter Knoten gemäss ART-DECOR. -
LEAF
Leaf node as given by ART-DECOR.Endknoten gemäss ART-DECOR. -
SPECIALIZABLE
Specializable node as given by ART-DECOR.Spezialisierbarer Knoten gemäss ART-DECOR.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getEnum
Gets the Enum with a given codeLiefert den Enum anhand eines gegebenen codes- Parameters:
code
-
code- Returns:
- the enum
-
getCodeValue
Gets the code value.Ruft den Wert des Codes ab.- Returns:
- the code value
-
getDisplayName
Gets the display name.Ruft den Anzeigenamen ab.- Returns:
- the display name
-