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