Package org.projecthusky.common.enums
Enum Class StatusCode
- All Implemented Interfaces:
Serializable
,Comparable<StatusCode>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Name of the Code System Name des Codes Systemsstatic final String
Identifier of the Code System Identifikator für das Code Systemstatic final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Gets the husky Code Object Liefert das husky Code ObjektGets the code system name. Liefert code system name.Gets the code system id. Liefert die code system id.Gets the actual Code as string Liefert den eigentlichen Code als StringgetCS()
Gets the Code of this Enum as MDHT Object. Liefert den Code dieses Enum als MDHT Objekt.Gets the display name. Liefert display name.static StatusCode
Gets the Enum with a given code Liefert den Enum anhand eines gegebenen codesstatic 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.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.static StatusCode
Returns the enum constant of this class with the specified name.static StatusCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ABORTED
nicht mehr gewollt -
ACTIVE
aktiv -
CANCELLED
abgebrochen -
COMPLETED
erledigt -
HELD
abwartend -
NEW
aktuell -
SUSPENDED
ausgesetzt
-
-
Field Details
-
ABORTED_CODE
- See Also:
-
ACTIVE_CODE
- See Also:
-
CANCELLED_CODE
- See Also:
-
CODE_SYSTEM_NAME
Name of the Code SystemName des Codes Systems- See Also:
-
CODE_SYSTEM_OID
Identifier of the Code SystemIdentifikator für das Code System- See Also:
-
COMPLETED_CODE
- See Also:
-
HELD_CODE
- See Also:
-
NEW_CODE
- See Also:
-
SUSPENDED_CODE
- See Also:
-
-
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
-
isEnumOfValueSet
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
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
Gets the husky Code ObjectLiefert das husky Code Objekt- Returns:
- the code
-
getCodeSystemName
Gets the code system name.Liefert code system name.- Returns:
- the code system name
-
getCodeSystemOid
Gets the code system id.Liefert die code system id.- Returns:
- the code system id
-
getCodeValue
Gets the actual Code as stringLiefert den eigentlichen Code als String- Returns:
- the code
-
getCS
Gets the Code of this Enum as MDHT Object.Liefert den Code dieses Enum als MDHT Objekt.- Returns:
- The MDHT Code
-
getDisplayName
Gets the display name.Liefert display name.- Returns:
- the display name
-