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