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