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