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