Package ca.uhn.fhir.model.dstu2.valueset
Enum DeviceMetricColorEnum
- All Implemented Interfaces:
Serializable
,Comparable<DeviceMetricColorEnum>
-
Enum Constant Summary
Enum ConstantDescriptionDisplay: Color Black
Code Value: black Color for representation - black.Display: Color Blue
Code Value: blue Color for representation - blue.Display: Color Cyan
Code Value: cyan Color for representation - cyan.Display: Color Green
Code Value: green Color for representation - green.Display: Color Magenta
Code Value: magenta Color for representation - magenta.Display: Color Red
Code Value: red Color for representation - red.Display: Color White
Code Value: white Color for representation - white.Display: Color Yellow
Code Value: yellow Color for representation - yellow. -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.model.api.IValueSetEnumBinder
<DeviceMetricColorEnum> Converts codes to their respective enumerated valuesstatic final String
Identifier for this Value Set:static final String
Name for this Value Set: DeviceMetricColor -
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceMetricColorEnum
Returns the enumerated value associated with this codegetCode()
Returns the code associated with this enumerated valueReturns the code system associated with this enumerated valuestatic DeviceMetricColorEnum
Returns the enum constant of this type with the specified name.static DeviceMetricColorEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COLOR_BLACK
Display: Color Black
Code Value: black Color for representation - black. -
COLOR_RED
Display: Color Red
Code Value: red Color for representation - red. -
COLOR_GREEN
Display: Color Green
Code Value: green Color for representation - green. -
COLOR_YELLOW
Display: Color Yellow
Code Value: yellow Color for representation - yellow. -
COLOR_BLUE
Display: Color Blue
Code Value: blue Color for representation - blue. -
COLOR_MAGENTA
Display: Color Magenta
Code Value: magenta Color for representation - magenta. -
COLOR_CYAN
Display: Color Cyan
Code Value: cyan Color for representation - cyan. -
COLOR_WHITE
Display: Color White
Code Value: white Color for representation - white.
-
-
Field Details
-
VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
-
VALUESET_NAME
Name for this Value Set: DeviceMetricColor- See Also:
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<DeviceMetricColorEnum> VALUESET_BINDERConverts codes to their respective enumerated values
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the code associated with this enumerated value -
getSystem
Returns the code system associated with this enumerated value -
forCode
Returns the enumerated value associated with this code
-