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