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