Class 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:
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface javax.jmi.reflect.RefEnum

        equals, hashCode, toString
    • 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:
      • 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:
    • Constructor Detail

      • CallConcurrencyKindEnum

        private CallConcurrencyKindEnum​(int value,
                                        java.lang.String name,
                                        java.lang.String literal)
        Only this class can construct instances.
        Generated:
    • Method Detail

      • initTypeName

        private static java.util.List<java.lang.String> initTypeName()
        Generated:
      • refTypeName

        public java.util.List refTypeName()
        Specified by:
        refTypeName in interface javax.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: