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