Package org.projecthusky.common.at.enums
Enum Class LanguageCode
- All Implemented Interfaces:
Serializable
,Comparable<LanguageCode>
,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
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Gets the ehealthconnector Code ObjectGets the code system name.Gets the code system id.Gets the actual Code as stringgetCS()
Gets the Code of this Enum as MDHT Object.Gets the display name.static LanguageCode
Gets the Enum with a given codestatic boolean
isEnumOfValueSet
(String enumName) Checks if a given enum is part of this value set.static boolean
isInValueSet
(String codeValue) Checks if a given code value is in this value set.static LanguageCode
Returns the enum constant of this class with the specified name.static LanguageCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENGLISH
-
GERMAN_AT
-
-
Field Details
-
CODE_SYSTEM_NAME
- See Also:
-
CODE_SYSTEM_OID
- See Also:
-
ENGLISH_CODE
- See Also:
-
GERMAN_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 code- Parameters:
code
-- Returns:
- the enum
-
isEnumOfValueSet
Checks if a given enum is part of this value set.- Parameters:
enumName
- enumName- Returns:
- true, if enum is in this value set
-
isInValueSet
Checks if a given code value is in this value set.- Parameters:
codeValue
-- Returns:
- true, if is in value set
-
getCode
Gets the ehealthconnector Code Object- Returns:
- the code
-
getCodeSystemName
Gets the code system name.- Returns:
- the code system name
-
getCodeSystemOid
Gets the code system id.- Returns:
- the code system id
-
getCodeValue
Gets the actual Code as string- Returns:
- the code
-
getCS
Gets the Code of this Enum as MDHT Object.- Returns:
- The MDHT Code
-
getDisplayName
Gets the display name.- Returns:
- the display name
-