|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MessageSort>
org.eclipse.uml2.uml.MessageSort
public enum MessageSort
A representation of the literals of the enumeration 'Message Sort', and utility methods for working with them. This is an enumerated type that identifies the type of communication action that was used to generate the message.
UMLPackage.getMessageSort()
Enum Constant Summary | |
---|---|
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 |
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
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
Method Detail |
---|
public static final 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 namepublic static MessageSort get(java.lang.String literal)
public static MessageSort getByName(java.lang.String name)
public static MessageSort get(int value)
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>
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |