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