org.eclipse.uml2
Class CallConcurrencyKind

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

public final class CallConcurrencyKind
extends AbstractEnumerator

A representation of the literals of the enumeration 'Call Concurrency Kind', and utility methods for working with them. CallConcurrencyKind is an enumeration with the following literals: � sequential No concurrency management mechanism is associated with the operation and, therefore, concurrency conflicts may occur. Instances that invoke a behavioral feature need to coordinate so that only one invocation to a target on any behavioral feature occurs at once. � guarded Multiple invocations of a behavioral feature may occur simultaneously to one instance, but only one is allowed to commence. The others are blocked until the performance of the first behavioral feature is complete. It is the responsibility of the system designer to ensure that deadlocks do not occur due to simultaneous blocks. � concurrent Multiple invocations of a behavioral feature may occur simultaneously to one instance and all of them may proceed concurrently.

See Also:
UML2Package.getCallConcurrencyKind()

Field Summary
static int CONCURRENT
          The 'Concurrent' literal value
static CallConcurrencyKind CONCURRENT_LITERAL
          The 'Concurrent' literal object
static String copyright
           
static int GUARDED
          The 'Guarded' literal value
static CallConcurrencyKind GUARDED_LITERAL
          The 'Guarded' literal object
static int SEQUENTIAL
          The 'Sequential' literal value
static CallConcurrencyKind SEQUENTIAL_LITERAL
          The 'Sequential' literal object
static List VALUES
          A public read-only list of all the 'Call Concurrency Kind' enumerators
 
Method Summary
static CallConcurrencyKind get(int value)
          Returns the 'Call Concurrency Kind' literal with the specified value
static CallConcurrencyKind get(String name)
          Returns the 'Call Concurrency Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

SEQUENTIAL

public static final int SEQUENTIAL
The 'Sequential' literal value.

See Also:
SEQUENTIAL_LITERAL, Constant Field Values

GUARDED

public static final int GUARDED
The 'Guarded' literal value.

See Also:
GUARDED_LITERAL, Constant Field Values

CONCURRENT

public static final int CONCURRENT
The 'Concurrent' literal value.

See Also:
CONCURRENT_LITERAL, Constant Field Values

SEQUENTIAL_LITERAL

public static final CallConcurrencyKind SEQUENTIAL_LITERAL
The 'Sequential' literal object.

If the meaning of 'Sequential' literal object isn't clear, there really should be more of a description here...

See Also:
SEQUENTIAL

GUARDED_LITERAL

public static final CallConcurrencyKind GUARDED_LITERAL
The 'Guarded' literal object.

If the meaning of 'Guarded' literal object isn't clear, there really should be more of a description here...

See Also:
GUARDED

CONCURRENT_LITERAL

public static final CallConcurrencyKind CONCURRENT_LITERAL
The 'Concurrent' literal object.

If the meaning of 'Concurrent' literal object isn't clear, there really should be more of a description here...

See Also:
CONCURRENT

VALUES

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

Method Detail

get

public static CallConcurrencyKind get(String name)
Returns the 'Call Concurrency Kind' literal with the specified name.


get

public static CallConcurrencyKind get(int value)
Returns the 'Call Concurrency Kind' literal with the specified value.


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