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