Package com.ibm.fhir.model.type.code
Class DeviceMetricColor
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.type.Element
-
- com.ibm.fhir.model.type.String
-
- com.ibm.fhir.model.type.Code
-
- com.ibm.fhir.model.type.code.DeviceMetricColor
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class DeviceMetricColor extends Code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeviceMetricColor.Builderstatic classDeviceMetricColor.ValueSet
-
Field Summary
Fields Modifier and Type Field Description static DeviceMetricColorBLACKColor Blackstatic DeviceMetricColorBLUEColor Bluestatic DeviceMetricColorCYANColor Cyanstatic DeviceMetricColorGREENColor Greenstatic DeviceMetricColorMAGENTAColor Magentastatic DeviceMetricColorREDColor Redstatic DeviceMetricColorWHITEColor Whitestatic DeviceMetricColorYELLOWColor Yellow
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeviceMetricColor.Builderbuilder()static Codecode(String value)Inherited factory method for creating DeviceMetricColor objects from a passed string value.booleanequals(Object obj)DeviceMetricColor.ValueSetgetValueAsEnumConstant()inthashCode()static DeviceMetricColorof(DeviceMetricColor.ValueSet value)Factory method for creating DeviceMetricColor objects from a passed enum value.static DeviceMetricColorof(String value)Factory method for creating DeviceMetricColor objects from a passed string value.static Stringstring(String value)Inherited factory method for creating DeviceMetricColor objects from a passed string value.DeviceMetricColor.BuildertoBuilder()Create a new Builder from the contents of this Element-
Methods inherited from class com.ibm.fhir.model.type.String
getValue, hasChildren
-
Methods inherited from class com.ibm.fhir.model.type.Element
as, getExtension, getId, is
-
-
-
-
Field Detail
-
BLACK
public static final DeviceMetricColor BLACK
Color BlackColor for representation - black.
-
RED
public static final DeviceMetricColor RED
Color RedColor for representation - red.
-
GREEN
public static final DeviceMetricColor GREEN
Color GreenColor for representation - green.
-
YELLOW
public static final DeviceMetricColor YELLOW
Color YellowColor for representation - yellow.
-
BLUE
public static final DeviceMetricColor BLUE
Color BlueColor for representation - blue.
-
MAGENTA
public static final DeviceMetricColor MAGENTA
Color MagentaColor for representation - magenta.
-
CYAN
public static final DeviceMetricColor CYAN
Color CyanColor for representation - cyan.
-
WHITE
public static final DeviceMetricColor WHITE
Color WhiteColor for representation - white.
-
-
Method Detail
-
getValueAsEnumConstant
public DeviceMetricColor.ValueSet getValueAsEnumConstant()
-
of
public static DeviceMetricColor of(DeviceMetricColor.ValueSet value)
Factory method for creating DeviceMetricColor objects from a passed enum value.
-
of
public static DeviceMetricColor of(String value)
Factory method for creating DeviceMetricColor objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
string
public static String string(String value)
Inherited factory method for creating DeviceMetricColor objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
code
public static Code code(String value)
Inherited factory method for creating DeviceMetricColor objects from a passed string value.- Parameters:
value- A string that matches one of the allowed code values- Throws:
IllegalArgumentException- If the passed string cannot be parsed into an allowed code value
-
toBuilder
public DeviceMetricColor.Builder toBuilder()
Description copied from class:ElementCreate a new Builder from the contents of this Element
-
builder
public static DeviceMetricColor.Builder builder()
-
-