public enum StatusCanonicalCode extends Enum<StatusCanonicalCode>
| Enum Constant and Description |
|---|
ERROR
The operation contains an error.
|
OK
The operation has been validated by an Application developers or Operator to have completed
successfully.
|
UNSET
The default status.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value()
Returns the numerical value of the code.
|
static StatusCanonicalCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusCanonicalCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusCanonicalCode OK
public static final StatusCanonicalCode UNSET
public static final StatusCanonicalCode ERROR
public static StatusCanonicalCode[] values()
for (StatusCanonicalCode c : StatusCanonicalCode.values()) System.out.println(c);
public static StatusCanonicalCode 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 int value()