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