Class CallConcurrencyKindEnum
- java.lang.Object
-
- org.eclipse.emf.common.util.AbstractEnumerator
-
- com.nomagic.uml2.ext.magicdraw.commonbehaviors.mdcommunications.CallConcurrencyKindEnum
-
- All Implemented Interfaces:
CallConcurrencyKind
,java.io.Serializable
,javax.jmi.reflect.RefEnum
,org.eclipse.emf.common.util.Enumerator
public final class CallConcurrencyKindEnum extends org.eclipse.emf.common.util.AbstractEnumerator implements CallConcurrencyKind
A representation of the literals of the enumeration 'Call Concurrency Kind', and utility methods for working with them. CallConcurrencyKind is an Enumeration used to specify the semantics of concurrent calls to a BehavioralFeature.- See Also:
com.nomagic.uml2.ext.magicdraw.metadata.UMLPackage#getCallConcurrencyKindEnum()
, Serialized Form- Model:
- annotation="MOF package='commonbehaviors.mdcommunications'"
- Generated:
-
-
Field Summary
Fields Modifier and Type Field Description static CallConcurrencyKind
CONCURRENT
The 'Concurrent' literal object.static int
CONCURRENT_VALUE
The 'Concurrent' literal value.static CallConcurrencyKind
GUARDED
The 'Guarded' literal object.static int
GUARDED_VALUE
The 'Guarded' literal value.static CallConcurrencyKind
SEQUENTIAL
The 'Sequential' literal object.static int
SEQUENTIAL_VALUE
The 'Sequential' literal value.private static java.util.List<java.lang.String>
typeName
static java.util.List
VALUES
A public read-only list of all the 'Call Concurrency Kind' enumerators.private static CallConcurrencyKindEnum[]
VALUES_ARRAY
An array of all the 'Call Concurrency Kind' enumerators.
-
Constructor Summary
Constructors Modifier Constructor Description private
CallConcurrencyKindEnum(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 CallConcurrencyKindEnum
get(int value)
Returns the 'Call Concurrency Kind' literal with the specified integer value.static CallConcurrencyKindEnum
get(java.lang.String literal)
Returns the 'Call Concurrency Kind' literal with the specified literal value.static CallConcurrencyKindEnum
getByName(java.lang.String name)
Returns the 'Call Concurrency 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
-
SEQUENTIAL_VALUE
public static final int SEQUENTIAL_VALUE
The 'Sequential' literal value. No concurrency management mechanism is associated with the BehavioralFeature and, therefore, concurrency conflicts may occur. Instances that invoke a BehavioralFeature need to coordinate so that only one invocation to a target on any BehavioralFeature occurs at once.- See Also:
SEQUENTIAL
, Constant Field Values- Model:
- name="sequential"
- Generated:
-
GUARDED_VALUE
public static final int GUARDED_VALUE
The 'Guarded' literal value. Multiple invocations of a BehavioralFeature that overlap in time may occur to one instance, but only one is allowed to commence. The others are blocked until the performance of the currently executing BehavioralFeature is complete. It is the responsibility of the system designer to ensure that deadlocks do not occur due to simultaneous blocking.- See Also:
GUARDED
, Constant Field Values- Model:
- name="guarded"
- Generated:
-
CONCURRENT_VALUE
public static final int CONCURRENT_VALUE
The 'Concurrent' literal value. Multiple invocations of a BehavioralFeature that overlap in time may occur to one instance and all of them may proceed concurrently.- See Also:
CONCURRENT
, Constant Field Values- Model:
- name="concurrent"
- Generated:
-
SEQUENTIAL
public static final CallConcurrencyKind SEQUENTIAL
The 'Sequential' literal object.- See Also:
SEQUENTIAL_VALUE
- Generated:
-
GUARDED
public static final CallConcurrencyKind GUARDED
The 'Guarded' literal object.- See Also:
GUARDED_VALUE
- Generated:
-
CONCURRENT
public static final CallConcurrencyKind CONCURRENT
The 'Concurrent' literal object.- See Also:
CONCURRENT_VALUE
- Generated:
-
typeName
private static final java.util.List<java.lang.String> typeName
- Generated:
-
VALUES_ARRAY
private static final CallConcurrencyKindEnum[] VALUES_ARRAY
An array of all the 'Call Concurrency Kind' enumerators.- Generated:
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Call Concurrency 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 CallConcurrencyKindEnum get(java.lang.String literal)
Returns the 'Call Concurrency Kind' literal with the specified literal value.- Generated:
-
getByName
public static CallConcurrencyKindEnum getByName(java.lang.String name)
Returns the 'Call Concurrency Kind' literal with the specified name.- Generated:
-
get
public static CallConcurrencyKindEnum get(int value)
Returns the 'Call Concurrency Kind' literal with the specified integer value.- Generated:
-
-