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