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