public interface EnumFactory<T extends Enum<?>> extends org.hl7.fhir.instance.model.api.IBaseEnumFactory<T>
| Modifier and Type | Method and Description |
|---|---|
T |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(T code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(T code)
Get the system URI for an enumerated value
|
T fromCode(String codeString) throws IllegalArgumentException
fromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<T extends Enum<?>>codeString - the value found in the XML or JSONException - is the value is not knownIllegalArgumentExceptionCopyright © 2014–2021 Health Level 7. All rights reserved.