Enum Class ChEmedEprTimeUnit
- All Implemented Interfaces:
Serializable
,Comparable<ChEmedEprTimeUnit>
,Constable
,CodedMetadataEnumInterface
,TranslatedEnumInterface
,ValueSetEnumInterface
husky
- Author:
- Quentin Ligier
-
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
EN: Code for a.
DE: Code für a.
FR: Code de a.
IT: Code per a.static final String
EN: Code for d.
DE: Code für d.
FR: Code de d.
IT: Code per d.static final String
EN: Code for h.
DE: Code für h.
FR: Code de h.
IT: Code per h.static final String
EN: Code for min.
DE: Code für min.
FR: Code de min.
IT: Code per min.static final String
EN: Code for mo.
DE: Code für mo.
FR: Code de mo.
IT: Code per mo.static final String
EN: Code for sec.
DE: Code für sec.
FR: Code de sec.
IT: Code per sec.static final String
Identifier of the value set.static final String
Name of the value set. -
Method Summary
Modifier and TypeMethodDescription@NonNull String
Gets the code system identifier.@NonNull String
Gets the code system name.@NonNull String
Gets the code value as a string.@NonNull String
getDisplayName
(@Nullable LanguageCode languageCode) Gets the display name defined by the language param.static @Nullable ChEmedEprTimeUnit
Gets the Enum with a given code.@NonNull String
Gets the value set identifier.@NonNull String
Gets the value set name.static boolean
isEnumOfValueSet
(@Nullable String enumName) Checks if a given enum is part of this value set.static boolean
isInValueSet
(@Nullable String codeValue) Checks if a given code value is in this value set.static ChEmedEprTimeUnit
Returns the enum constant of this class with the specified name.static ChEmedEprTimeUnit[]
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, valueOf
Methods inherited from interface org.projecthusky.common.enums.TranslatedEnumInterface
getDisplayName
Methods inherited from interface org.projecthusky.common.enums.ValueSetEnumInterface
getCD, getCD, getCE, getCE, getCode, getCode, getCodedString, getIpfCode, isContainedIn, isEqualTo, name
-
Enum Constant Details
-
A
EN: a.
DE: a.
FR: a.
IT: a. -
SEC
EN: sec.
DE: sec.
FR: sec.
IT: sec. -
MIN
EN: min.
DE: min.
FR: min.
IT: min. -
H
EN: h.
DE: h.
FR: h.
IT: h. -
D
EN: d.
DE: d.
FR: d.
IT: d. -
MO
EN: mo.
DE: mo.
FR: mo.
IT: mo.
-
-
Field Details
-
A_CODE
EN: Code for a.
DE: Code für a.
FR: Code de a.
IT: Code per a.- See Also:
-
SEC_CODE
EN: Code for sec.
DE: Code für sec.
FR: Code de sec.
IT: Code per sec.- See Also:
-
MIN_CODE
EN: Code for min.
DE: Code für min.
FR: Code de min.
IT: Code per min.- See Also:
-
H_CODE
EN: Code for h.
DE: Code für h.
FR: Code de h.
IT: Code per h.- See Also:
-
D_CODE
EN: Code for d.
DE: Code für d.
FR: Code de d.
IT: Code per d.- See Also:
-
MO_CODE
EN: Code for mo.
DE: Code für mo.
FR: Code de mo.
IT: Code per mo.- See Also:
-
VALUE_SET_ID
Identifier of the value set.- See Also:
-
VALUE_SET_NAME
Name of the value set.- 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
- The code value.- Returns:
- the enum value found or
null
.
-
isEnumOfValueSet
Checks if a given enum is part of this value set.- Parameters:
enumName
- The name of the enum.- Returns:
true
if the name is found in this value set,false
otherwise.
-
isInValueSet
Checks if a given code value is in this value set.- Parameters:
codeValue
- The code value.- Returns:
true
if the value is found in this value set,false
otherwise.
-
getCodeSystemId
Gets the code system identifier.- Specified by:
getCodeSystemId
in interfaceValueSetEnumInterface
- Returns:
- the code system identifier.
-
getCodeSystemName
Gets the code system name.- Specified by:
getCodeSystemName
in interfaceValueSetEnumInterface
- Returns:
- the code system name.
-
getCodeValue
Gets the code value as a string.- Specified by:
getCodeValue
in interfaceValueSetEnumInterface
- Returns:
- the code value.
-
getDisplayName
Gets the display name defined by the language param.- Specified by:
getDisplayName
in interfaceTranslatedEnumInterface
- Parameters:
languageCode
- The language code to get the display name for,null
to get the default display name.- Returns:
- the display name in the desired language.
-
getValueSetId
Gets the value set identifier.- Specified by:
getValueSetId
in interfaceValueSetEnumInterface
- Returns:
- the value set identifier.
-
getValueSetName
Gets the value set name.- Specified by:
getValueSetName
in interfaceValueSetEnumInterface
- Returns:
- the value set name.
-