
Package ca.uhn.fhir.model.dstu2.valueset
Enum DeviceMetricColorEnum
- java.lang.Object
-
- java.lang.Enum<DeviceMetricColorEnum>
-
- ca.uhn.fhir.model.dstu2.valueset.DeviceMetricColorEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<DeviceMetricColorEnum>
public enum DeviceMetricColorEnum extends Enum<DeviceMetricColorEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COLOR_BLACK
Display: Color Black
Code Value: black Color for representation - black.COLOR_BLUE
Display: Color Blue
Code Value: blue Color for representation - blue.COLOR_CYAN
Display: Color Cyan
Code Value: cyan Color for representation - cyan.COLOR_GREEN
Display: Color Green
Code Value: green Color for representation - green.COLOR_MAGENTA
Display: Color Magenta
Code Value: magenta Color for representation - magenta.COLOR_RED
Display: Color Red
Code Value: red Color for representation - red.COLOR_WHITE
Display: Color White
Code Value: white Color for representation - white.COLOR_YELLOW
Display: Color Yellow
Code Value: yellow Color for representation - yellow.
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.model.api.IValueSetEnumBinder<DeviceMetricColorEnum>
VALUESET_BINDER
Converts codes to their respective enumerated valuesstatic String
VALUESET_IDENTIFIER
Identifier for this Value Set:static String
VALUESET_NAME
Name for this Value Set: DeviceMetricColor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceMetricColorEnum
forCode(String theCode)
Returns the enumerated value associated with this codeString
getCode()
Returns the code associated with this enumerated valueString
getSystem()
Returns the code system associated with this enumerated valuestatic DeviceMetricColorEnum
valueOf(String name)
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 Detail
-
COLOR_BLACK
public static final DeviceMetricColorEnum COLOR_BLACK
Display: Color Black
Code Value: black Color for representation - black.
-
COLOR_RED
public static final DeviceMetricColorEnum COLOR_RED
Display: Color Red
Code Value: red Color for representation - red.
-
COLOR_GREEN
public static final DeviceMetricColorEnum COLOR_GREEN
Display: Color Green
Code Value: green Color for representation - green.
-
COLOR_YELLOW
public static final DeviceMetricColorEnum COLOR_YELLOW
Display: Color Yellow
Code Value: yellow Color for representation - yellow.
-
COLOR_BLUE
public static final DeviceMetricColorEnum COLOR_BLUE
Display: Color Blue
Code Value: blue Color for representation - blue.
-
COLOR_MAGENTA
public static final DeviceMetricColorEnum COLOR_MAGENTA
Display: Color Magenta
Code Value: magenta Color for representation - magenta.
-
COLOR_CYAN
public static final DeviceMetricColorEnum COLOR_CYAN
Display: Color Cyan
Code Value: cyan Color for representation - cyan.
-
COLOR_WHITE
public static final DeviceMetricColorEnum COLOR_WHITE
Display: Color White
Code Value: white Color for representation - white.
-
-
Field Detail
-
VALUESET_IDENTIFIER
public static final String VALUESET_IDENTIFIER
Identifier for this Value Set:- See Also:
- Constant Field Values
-
VALUESET_NAME
public static final String VALUESET_NAME
Name for this Value Set: DeviceMetricColor- See Also:
- Constant Field Values
-
VALUESET_BINDER
public static final ca.uhn.fhir.model.api.IValueSetEnumBinder<DeviceMetricColorEnum> VALUESET_BINDER
Converts codes to their respective enumerated values
-
-
Method Detail
-
values
public static DeviceMetricColorEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeviceMetricColorEnum c : DeviceMetricColorEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeviceMetricColorEnum valueOf(String name)
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
-
forCode
public static DeviceMetricColorEnum forCode(String theCode)
Returns the enumerated value associated with this code
-
-