public enum MessageExpKind extends Enum<MessageExpKind>
CSTPackage.getMessageExpKind()
Enum Constant and Description |
---|
HAS_SENT_LITERAL
The 'Has Sent' literal object.
|
SENT_LITERAL
The 'Sent' literal object.
|
Modifier and Type | Field and Description |
---|---|
static int |
HAS_SENT
The 'Has Sent' literal value.
|
static int |
SENT
The 'Sent' literal value.
|
static List<MessageExpKind> |
VALUES
A public read-only list of all the 'Message Exp Kind' enumerators.
|
Modifier and Type | Method and Description |
---|---|
static MessageExpKind |
get(int value)
Returns the 'Message Exp Kind' literal with the specified integer value.
|
static MessageExpKind |
get(String literal)
Returns the 'Message Exp Kind' literal with the specified literal value.
|
static MessageExpKind |
getByName(String name)
Returns the 'Message Exp Kind' literal with the specified name.
|
String |
getLiteral() |
String |
getName() |
int |
getValue() |
String |
toString()
Returns the literal value of the enumerator, which is its string representation.
|
static MessageExpKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageExpKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageExpKind HAS_SENT_LITERAL
HAS_SENT
public static final MessageExpKind SENT_LITERAL
SENT
public static final int HAS_SENT
If the meaning of 'Has Sent' literal object isn't clear, there really should be more of a description here...
HAS_SENT_LITERAL
,
Constant Field Valuespublic static final int SENT
If the meaning of 'Sent' literal object isn't clear, there really should be more of a description here...
SENT_LITERAL
,
Constant Field Valuespublic static final List<MessageExpKind> VALUES
public static MessageExpKind[] values()
for (MessageExpKind c : MessageExpKind.values()) System.out.println(c);
public static MessageExpKind 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 MessageExpKind get(String literal)
literal
- the literal.null
.public static MessageExpKind getByName(String name)
name
- the name.null
.public static MessageExpKind get(int value)
value
- the integer value.null
.public int getValue()
public String getName()
public String getLiteral()
public String toString()
toString
in class Enum<MessageExpKind>
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.