public enum EnumMessageStatus extends java.lang.Enum<EnumMessageStatus>
| Enum Constant and Description |
|---|
FAILED
Status FAILED.
|
OK
Status OK.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT_RESULT
Tag name (element) of the "Result" in IEC 61968-100.
|
| Modifier and Type | Method and Description |
|---|---|
static EnumMessageStatus |
fromString(java.lang.String text)
Returns a
EnumMessageStatus from the given text. |
java.lang.String |
getStatus()
Gets the status text.
|
static EnumMessageStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumMessageStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumMessageStatus OK
public static final EnumMessageStatus FAILED
public static final java.lang.String ELEMENT_RESULT
public static EnumMessageStatus[] values()
for (EnumMessageStatus c : EnumMessageStatus.values()) System.out.println(c);
public static EnumMessageStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getStatus()
public static EnumMessageStatus fromString(java.lang.String text)
EnumMessageStatus from the given text. null if the given text doesn't describes any of
the elements.text - Text to retrieve the EnumTypenull if the given text doesn't describes any of the elements.