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 CallConcurrencyKindCONCURRENTThe 'Concurrent' literal object.static intCONCURRENT_VALUEThe 'Concurrent' literal value.static CallConcurrencyKindGUARDEDThe 'Guarded' literal object.static intGUARDED_VALUEThe 'Guarded' literal value.static CallConcurrencyKindSEQUENTIALThe 'Sequential' literal object.static intSEQUENTIAL_VALUEThe 'Sequential' literal value.static java.util.ListVALUESA public read-only list of all the 'Call Concurrency Kind' enumerators.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CallConcurrencyKindEnumget(int value)Returns the 'Call Concurrency Kind' literal with the specified integer value.static CallConcurrencyKindEnumget(java.lang.String literal)Returns the 'Call Concurrency Kind' literal with the specified literal value.static CallConcurrencyKindEnumgetByName(java.lang.String name)Returns the 'Call Concurrency Kind' literal with the specified name.java.util.ListrefTypeName()-
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:
-
VALUES
public static final java.util.List VALUES
A public read-only list of all the 'Call Concurrency Kind' enumerators.- Generated:
-
-
Method Detail
-
refTypeName
public java.util.List refTypeName()
- Specified by:
refTypeNamein 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:
-
-