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