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