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