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 system URI for an enumerated value
|
public ContributorTypeEnumFactory()
public Contributor.ContributorType fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Contributor.ContributorType>fromCode in interface EnumFactory<Contributor.ContributorType>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic Enumeration<Contributor.ContributorType> fromType(Base code) throws org.hl7.fhir.exceptions.FHIRException
org.hl7.fhir.exceptions.FHIRExceptionpublic String toCode(Contributor.ContributorType code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Contributor.ContributorType>toCode in interface EnumFactory<Contributor.ContributorType>code - - the enumeration valuepublic String toSystem(Contributor.ContributorType code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<Contributor.ContributorType>toSystem in interface EnumFactory<Contributor.ContributorType>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.