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