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