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