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