public class ContributorTypeEnumFactory extends Object implements EnumFactory<ContributorType>
| Constructor and Description |
|---|
ContributorTypeEnumFactory() |
| Modifier and Type | Method and Description |
|---|---|
ContributorType |
fromCode(String codeString)
Read an enumeration value from the string that represents it on the XML or JSON
|
String |
toCode(ContributorType code)
Get the XML/JSON representation for an enumerated value
|
String |
toSystem(ContributorType code)
Get the system URI for an enumerated value
|
public ContributorTypeEnumFactory()
public ContributorType fromCode(String codeString) throws IllegalArgumentException
EnumFactoryfromCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContributorType>fromCode in interface EnumFactory<ContributorType>codeString - the value found in the XML or JSONIllegalArgumentExceptionpublic String toCode(ContributorType code)
EnumFactorytoCode in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContributorType>toCode in interface EnumFactory<ContributorType>code - - the enumeration valuepublic String toSystem(ContributorType code)
EnumFactorytoSystem in interface org.hl7.fhir.instance.model.api.IBaseEnumFactory<ContributorType>toSystem in interface EnumFactory<ContributorType>code - - the enumeration valueCopyright © 2014–2021 Health Level 7. All rights reserved.