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