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