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