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