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