org.eclipse.uml2.uml
Class MessageKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.uml2.uml.MessageKind
All Implemented Interfaces:
Enumerator

public final class MessageKind
extends AbstractEnumerator

A representation of the literals of the enumeration 'Message Kind', and utility methods for working with them. This is an enumerated type that identifies the type of message.

See Also:
UMLPackage.getMessageKind()

Field Summary
static int COMPLETE
          The 'Complete' literal value
static MessageKind COMPLETE_LITERAL
          The 'Complete' literal object
static int FOUND
          The 'Found' literal value
static MessageKind FOUND_LITERAL
          The 'Found' literal object
static int LOST
          The 'Lost' literal value
static MessageKind LOST_LITERAL
          The 'Lost' literal object
static int UNKNOWN
          The 'Unknown' literal value
static MessageKind UNKNOWN_LITERAL
          The 'Unknown' literal object
static List VALUES
          A public read-only list of all the 'Message Kind' enumerators
 
Method Summary
static MessageKind get(int value)
          Returns the 'Message Kind' literal with the specified integer value
static MessageKind get(String literal)
          Returns the 'Message Kind' literal with the specified literal value
static MessageKind getByName(String name)
          Returns the 'Message Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COMPLETE

public static final int COMPLETE
The 'Complete' literal value. sendEvent and receiveEvent are present

See Also:
MessageKind.COMPLETE_LITERAL, Constant Field Values

LOST

public static final int LOST
The 'Lost' literal value. sendEvent present and receiveEvent absent

See Also:
MessageKind.LOST_LITERAL, Constant Field Values

FOUND

public static final int FOUND
The 'Found' literal value. sendEvent absent and receiveEvent present

See Also:
MessageKind.FOUND_LITERAL, Constant Field Values

UNKNOWN

public static final int UNKNOWN
The 'Unknown' literal value. sendEvent and receiveEvent absent (should not appear)

See Also:
MessageKind.UNKNOWN_LITERAL, Constant Field Values

COMPLETE_LITERAL

public static final MessageKind COMPLETE_LITERAL
The 'Complete' literal object.

See Also:
MessageKind.COMPLETE

LOST_LITERAL

public static final MessageKind LOST_LITERAL
The 'Lost' literal object.

See Also:
MessageKind.LOST

FOUND_LITERAL

public static final MessageKind FOUND_LITERAL
The 'Found' literal object.

See Also:
MessageKind.FOUND

UNKNOWN_LITERAL

public static final MessageKind UNKNOWN_LITERAL
The 'Unknown' literal object.

See Also:
MessageKind.UNKNOWN

VALUES

public static final List VALUES
A public read-only list of all the 'Message Kind' enumerators.

Method Detail

get

public static MessageKind get(String literal)
Returns the 'Message Kind' literal with the specified literal value.


getByName

public static MessageKind getByName(String name)
Returns the 'Message Kind' literal with the specified name.


get

public static MessageKind get(int value)
Returns the 'Message Kind' literal with the specified integer value.


Copyright 2003, 2006 IBM Corporation and others.
All Rights Reserved.