public static class DeviceMetric.DeviceMetricColorEnumFactory extends Object implements EnumFactory<DeviceMetric.DeviceMetricColor>
| Constructor and Description |
|---|
DeviceMetricColorEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
DeviceMetric.DeviceMetricColor |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<DeviceMetric.DeviceMetricColor> |
fromType(Base code) |
String |
toCode(DeviceMetric.DeviceMetricColor code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(DeviceMetric.DeviceMetricColor code)
Get the XML/JSON representation for an enumerated value
|
public DeviceMetricColorEnumFactory()
public DeviceMetric.DeviceMetricColor fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<DeviceMetric.DeviceMetricColor>fromCode in interface IBaseEnumFactory<DeviceMetric.DeviceMetricColor>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<DeviceMetric.DeviceMetricColor> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(DeviceMetric.DeviceMetricColor code)
EnumFactorytoCode in interface EnumFactory<DeviceMetric.DeviceMetricColor>toCode in interface IBaseEnumFactory<DeviceMetric.DeviceMetricColor>code - - the enumeration valuepublic String toSystem(DeviceMetric.DeviceMetricColor code)
EnumFactorytoSystem in interface EnumFactory<DeviceMetric.DeviceMetricColor>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.