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