Package org.projecthusky.common.enums
Enum Class NameQualifier
- All Implemented Interfaces:
Serializable,Comparable<NameQualifier>,Constable,CodedMetadataEnumInterface,TranslatedEnumInterface,ValueSetEnumInterface
-
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 TypeMethodDescription@NonNull StringGets the code system id. Liefert die code system id.Gets the code system name. Liefert code system name.Gets the actual Code as string Liefert den eigentlichen Code als StringGets the display name. Liefert display name.@NonNull StringgetDisplayName(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static NameQualifierGets the Enum with a given code Liefert den Enum anhand eines gegebenen codes@NonNull StringGets the value set identifier.@NonNull StringGets the value set name.static booleanisEnumOfValueSet(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 booleanisInValueSet(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 NameQualifierReturns the enum constant of this class with the specified name.static NameQualifier[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.projecthusky.common.enums.ValueSetEnumInterface
getCD, getCD, getCE, getCE, getCode, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
-
Enum Constant Details
-
ACADEMIC
Academic title
-
-
Field Details
-
CODE_SYSTEM_NAME
The Constant CODE_SYSTEM_NAME.- See Also:
-
CODE_SYSTEM_OID
The Constant CODE_SYSTEM.- 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 one enum of this valueset contains the given code
-
getCodeSystemName
Gets the code system name.Liefert code system name.- Specified by:
getCodeSystemNamein interfaceValueSetEnumInterface- Returns:
- the code system name
-
getCodeSystemId
Gets the code system id.Liefert die code system id.- Specified by:
getCodeSystemIdin interfaceValueSetEnumInterface- Returns:
- the code system id
-
getCodeValue
Gets the actual Code as stringLiefert den eigentlichen Code als String- Specified by:
getCodeValuein interfaceValueSetEnumInterface- Returns:
- the code
-
getDisplayName
Gets the display name.Liefert display name.- Specified by:
getDisplayNamein interfaceTranslatedEnumInterface- Returns:
- the display name
-
getDisplayName
Description copied from interface:TranslatedEnumInterfaceGets the display name defined by the language param.- Specified by:
getDisplayNamein interfaceTranslatedEnumInterface- Parameters:
languageCode- The language code to get the display name for,nullto get the default display name.- Returns:
- the display name in the desired language.
-
getValueSetId
Description copied from interface:ValueSetEnumInterfaceGets the value set identifier.- Specified by:
getValueSetIdin interfaceValueSetEnumInterface- Returns:
- the value set identifier.
-
getValueSetName
Description copied from interface:ValueSetEnumInterfaceGets the value set name.- Specified by:
getValueSetNamein interfaceValueSetEnumInterface- Returns:
- the value set name.
-