public class MetricColorEnumFactory extends Object implements EnumFactory<MetricColor>
| Constructor and Description |
|---|
MetricColorEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
MetricColor |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(MetricColor code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(MetricColor code)
Get the system URI for an enumerated value
|
public MetricColorEnumFactory()
public MetricColor fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<MetricColor>fromCode in interface EnumFactory<MetricColor>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(MetricColor code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<MetricColor>toCode in interface EnumFactory<MetricColor>code - - the enumeration valuepublic String toSystem(MetricColor code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<MetricColor>toSystem in interface EnumFactory<MetricColor>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.