public static class ElementDefinition.DiscriminatorTypeEnumFactory extends Object implements EnumFactory<ElementDefinition.DiscriminatorType>
| Constructor and Description |
|---|
DiscriminatorTypeEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
ElementDefinition.DiscriminatorType |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
Enumeration<ElementDefinition.DiscriminatorType> |
fromType(Base code) |
String |
toCode(ElementDefinition.DiscriminatorType code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(ElementDefinition.DiscriminatorType code)
Get the XML/JSON representation for an enumerated value
|
public DiscriminatorTypeEnumFactory()
public ElementDefinition.DiscriminatorType fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface EnumFactory<ElementDefinition.DiscriminatorType>fromCode in interface IBaseEnumFactory<ElementDefinition.DiscriminatorType>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<ElementDefinition.DiscriminatorType> fromType(Base code) throws FHIRException
FHIRExceptionpublic String toCode(ElementDefinition.DiscriminatorType code)
EnumFactorytoCode in interface EnumFactory<ElementDefinition.DiscriminatorType>toCode in interface IBaseEnumFactory<ElementDefinition.DiscriminatorType>code - - the enumeration valuepublic String toSystem(ElementDefinition.DiscriminatorType code)
EnumFactorytoSystem in interface EnumFactory<ElementDefinition.DiscriminatorType>code - - the enumeration valueCopyright © 2014–2017 University Health Network. All rights reserved.