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 XML/JSON representation for an enumerated value
|
public ResourceTypeEnumFactory()
public Enumerations.ResourceType fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<Enumerations.ResourceType>fromCode in interface IBaseEnumFactory<Enumerations.ResourceType>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Enumerations.ResourceType> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(Enumerations.ResourceType code)
EnumFactorytoCode in interface EnumFactory<Enumerations.ResourceType>toCode in interface IBaseEnumFactory<Enumerations.ResourceType>code - - the enumeration valuepublic String toSystem(Enumerations.ResourceType code)
EnumFactorytoSystem in interface EnumFactory<Enumerations.ResourceType>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.