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