elisa_client.model
Enum MessageType
java.lang.Object
java.lang.Enum<MessageType>
elisa_client.model.MessageType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MessageType>
public enum MessageType
- extends java.lang.Enum<MessageType>
Message Type
To be extended with
http://pauloswald.com/blog/documents/26/java-5-database-backed-enumerations
- Author:
- lucamag
Method Summary |
java.lang.String |
toString()
|
static MessageType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DEFAULT_MESSAGE_TYPE
public static final MessageType DEFAULT_MESSAGE_TYPE
SHIFT_SUMMARY
public static final MessageType SHIFT_SUMMARY
SHIFT_LEADER
public static final MessageType SHIFT_LEADER
RUN_CONTROL
public static final MessageType RUN_CONTROL
ONLINE
public static final MessageType ONLINE
TRIGGER
public static final MessageType TRIGGER
LVL1
public static final MessageType LVL1
DATA_QUALITY
public static final MessageType DATA_QUALITY
PIXEL
public static final MessageType PIXEL
SCT
public static final MessageType SCT
ID_GENERAL
public static final MessageType ID_GENERAL
LARG
public static final MessageType LARG
TILE
public static final MessageType TILE
BCM
public static final MessageType BCM
DCS
public static final MessageType DCS
DSS
public static final MessageType DSS
GAS
public static final MessageType GAS
COOLING
public static final MessageType COOLING
SLIMOS_TI
public static final MessageType SLIMOS_TI
CHECK_LIST
public static final MessageType CHECK_LIST
values
public static MessageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MessageType c : MessageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MessageType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<MessageType>