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