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