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