Class MessageKindEnum
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.nomagic.uml2.ext.magicdraw.interactions.mdbasicinteractions.MessageKindEnum
-
- All Implemented Interfaces:
MessageKind
,java.io.Serializable
,javax.jmi.reflect.RefEnum
,org.eclipse.emf.common.util.Enumerator
public final class MessageKindEnum extends org.eclipse.emf.common.util.AbstractEnumerator implements MessageKind
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:
com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getMessageKindEnum()
, Serialized Form- Model:
- annotation="MOF package='interactions.mdbasicinteractions'"
- Generated:
-
-
Field Summary
Fields Modifier and Type Field Description static MessageKind
COMPLETE
The 'Complete' literal object.static int
COMPLETE_VALUE
The 'Complete' literal value.static MessageKind
FOUND
The 'Found' literal object.static int
FOUND_VALUE
The 'Found' literal value.static MessageKind
LOST
The 'Lost' literal object.static int
LOST_VALUE
The 'Lost' literal value.private static java.util.List<java.lang.String>
typeName
static MessageKind
UNKNOWN
The 'Unknown' literal object.static int
UNKNOWN_VALUE
The 'Unknown' literal value.static java.util.List
VALUES
A public read-only list of all the 'Message Kind' enumerators.private static MessageKindEnum[]
VALUES_ARRAY
An array of all the 'Message Kind' enumerators.
-
Constructor Summary
Constructors Modifier Constructor Description private
MessageKindEnum(int value, java.lang.String name, java.lang.String literal)
Only this class can construct instances.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MessageKindEnum
get(int value)
Returns the 'Message Kind' literal with the specified integer value.static MessageKindEnum
get(java.lang.String literal)
Returns the 'Message Kind' literal with the specified literal value.static MessageKindEnum
getByName(java.lang.String name)
Returns the 'Message Kind' literal with the specified name.private static java.util.List<java.lang.String>
initTypeName()
java.util.List
refTypeName()
-
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString, writeReplace
-
-
-
-
Field Detail
-
COMPLETE_VALUE
public static final int COMPLETE_VALUE
The 'Complete' literal value. sendEvent and receiveEvent are present- See Also:
COMPLETE
, Constant Field Values- Model:
- name="complete"
- Generated:
-
LOST_VALUE
public static final int LOST_VALUE
The 'Lost' literal value. sendEvent present and receiveEvent absent- See Also:
LOST
, Constant Field Values- Model:
- name="lost"
- Generated:
-
FOUND_VALUE
public static final int FOUND_VALUE
The 'Found' literal value. sendEvent absent and receiveEvent present- See Also:
FOUND
, Constant Field Values- Model:
- name="found"
- Generated:
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
The 'Unknown' literal value. sendEvent and receiveEvent absent (should not appear)- See Also:
UNKNOWN
, Constant Field Values- Model:
- name="unknown"
- Generated:
-
COMPLETE
public static final MessageKind COMPLETE
The 'Complete' literal object.- See Also:
COMPLETE_VALUE
- Generated:
-
LOST
public static final MessageKind LOST
The 'Lost' literal object.- See Also:
LOST_VALUE
- Generated:
-
FOUND
public static final MessageKind FOUND
The 'Found' literal object.- See Also:
FOUND_VALUE
- Generated:
-
UNKNOWN
public static final MessageKind UNKNOWN
The 'Unknown' literal object.- See Also:
UNKNOWN_VALUE
- Generated:
-
typeName
private static final java.util.List<java.lang.String> typeName
- Generated:
-
VALUES_ARRAY
private static final MessageKindEnum[] VALUES_ARRAY
An array of all the 'Message Kind' enumerators.- Generated:
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Message Kind' enumerators.- Generated:
-
-
Method Detail
-
initTypeName
private static java.util.List<java.lang.String> initTypeName()
- Generated:
-
refTypeName
public java.util.List refTypeName()
- Specified by:
refTypeName
in interfacejavax.jmi.reflect.RefEnum
-
get
public static MessageKindEnum get(java.lang.String literal)
Returns the 'Message Kind' literal with the specified literal value.- Generated:
-
getByName
public static MessageKindEnum getByName(java.lang.String name)
Returns the 'Message Kind' literal with the specified name.- Generated:
-
get
public static MessageKindEnum get(int value)
Returns the 'Message Kind' literal with the specified integer value.- Generated:
-
-