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