public enum AuditEventOutcomeEnum extends Enum<AuditEventOutcomeEnum>
| Enum Constant and Description |
|---|
MAJOR_FAILURE
Display: Major failure
Code Value: 12 An error of such magnitude occurred that the system is no longer available for use (i.e. |
MINOR_FAILURE
Display: Minor failure
Code Value: 4 The action was not successful due to some kind of catered for error (often equivalent to an HTTP 400 response). |
SERIOUS_FAILURE
Display: Serious failure
Code Value: 8 The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response). |
SUCCESS
Display: Success
Code Value: 0 The operation completed successfully (whether with warnings or not). |
| Modifier and Type | Field and Description |
|---|---|
static IValueSetEnumBinder<AuditEventOutcomeEnum> |
VALUESET_BINDER
Converts codes to their respective enumerated values
|
static String |
VALUESET_IDENTIFIER
Identifier for this Value Set:
|
static String |
VALUESET_NAME
Name for this Value Set:
AuditEventOutcome
|
| Modifier and Type | Method and Description |
|---|---|
static AuditEventOutcomeEnum |
forCode(String theCode)
Returns the enumerated value associated with this code
|
String |
getCode()
Returns the code associated with this enumerated value
|
String |
getSystem()
Returns the code system associated with this enumerated value
|
static AuditEventOutcomeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditEventOutcomeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditEventOutcomeEnum SUCCESS
public static final AuditEventOutcomeEnum MINOR_FAILURE
public static final AuditEventOutcomeEnum SERIOUS_FAILURE
public static final AuditEventOutcomeEnum MAJOR_FAILURE
public static final String VALUESET_IDENTIFIER
public static final String VALUESET_NAME
public static final IValueSetEnumBinder<AuditEventOutcomeEnum> VALUESET_BINDER
public static AuditEventOutcomeEnum[] values()
for (AuditEventOutcomeEnum c : AuditEventOutcomeEnum.values()) System.out.println(c);
public static AuditEventOutcomeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AuditEventOutcomeEnum forCode(String theCode)
Copyright © 2014–2016 University Health Network. All rights reserved.