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