public enum MessageSort extends java.lang.Enum<MessageSort> implements org.eclipse.emf.common.util.Enumerator
From package UML::Interactions.
UMLPackage.getMessageSort()
Enum Constant and Description |
---|
ASYNCH_CALL_LITERAL
The 'Asynch Call' literal object
|
ASYNCH_SIGNAL_LITERAL
The 'Asynch Signal' literal object
|
CREATE_MESSAGE_LITERAL
The 'Create Message' literal object
|
DELETE_MESSAGE_LITERAL
The 'Delete Message' literal object
|
REPLY_LITERAL
The 'Reply' literal object
|
SYNCH_CALL_LITERAL
The 'Synch Call' literal object
|
Modifier and Type | Field and Description |
---|---|
static int |
ASYNCH_CALL
The 'Asynch Call' literal value
|
static int |
ASYNCH_SIGNAL
The 'Asynch Signal' literal value
|
static int |
CREATE_MESSAGE
The 'Create Message' literal value
|
static int |
DELETE_MESSAGE
The 'Delete Message' literal value
|
static int |
REPLY
The 'Reply' literal value
|
static int |
SYNCH_CALL
The 'Synch Call' literal value
|
static java.util.List<MessageSort> |
VALUES
A public read-only list of all the 'Message Sort' enumerators
|
Modifier and Type | Method and Description |
---|---|
static MessageSort |
get(int value)
Returns the 'Message Sort' literal with the specified integer value
|
static MessageSort |
get(java.lang.String literal)
Returns the 'Message Sort' literal with the specified literal value
|
static MessageSort |
getByName(java.lang.String name)
Returns the 'Message Sort' literal with the specified name
|
java.lang.String |
getLiteral() |
java.lang.String |
getName() |
int |
getValue() |
java.lang.String |
toString()
Returns the literal value of the enumerator, which is its string representation
|
static MessageSort |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessageSort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageSort SYNCH_CALL_LITERAL
SYNCH_CALL
public static final MessageSort ASYNCH_CALL_LITERAL
ASYNCH_CALL
public static final MessageSort ASYNCH_SIGNAL_LITERAL
ASYNCH_SIGNAL
public static final MessageSort CREATE_MESSAGE_LITERAL
CREATE_MESSAGE
public static final MessageSort DELETE_MESSAGE_LITERAL
DELETE_MESSAGE
public static final MessageSort REPLY_LITERAL
REPLY
public static final int SYNCH_CALL
SYNCH_CALL_LITERAL
,
Constant Field Valuespublic static final int ASYNCH_CALL
ASYNCH_CALL_LITERAL
,
Constant Field Valuespublic static final int ASYNCH_SIGNAL
ASYNCH_SIGNAL_LITERAL
,
Constant Field Valuespublic static final int CREATE_MESSAGE
CREATE_MESSAGE_LITERAL
,
Constant Field Valuespublic static final int DELETE_MESSAGE
DELETE_MESSAGE_LITERAL
,
Constant Field Valuespublic static final int REPLY
REPLY_LITERAL
,
Constant Field Valuespublic static final java.util.List<MessageSort> VALUES
public static MessageSort[] values()
for (MessageSort c : MessageSort.values()) System.out.println(c);
public static MessageSort 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 static MessageSort get(java.lang.String literal)
literal
- the literal.null
.public static MessageSort getByName(java.lang.String name)
name
- the name.null
.public static MessageSort get(int value)
value
- the integer value.null
.public int getValue()
getValue
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getName()
getName
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String getLiteral()
getLiteral
in interface org.eclipse.emf.common.util.Enumerator
public java.lang.String toString()
toString
in class java.lang.Enum<MessageSort>