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