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