org.eclipse.uml2.uml
Class CallConcurrencyKind

java.lang.Object
  extended byorg.eclipse.emf.common.util.AbstractEnumerator
      extended byorg.eclipse.uml2.uml.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 type.

See Also:
UMLPackage.getCallConcurrencyKind()

Field Summary
static int CONCURRENT
          The 'Concurrent' literal value
static CallConcurrencyKind CONCURRENT_LITERAL
          The 'Concurrent' literal object
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 integer value
static CallConcurrencyKind get(String literal)
          Returns the 'Call Concurrency Kind' literal with the specified literal value
static CallConcurrencyKind getByName(String name)
          Returns the 'Call Concurrency Kind' literal with the specified name
 
Methods inherited from class org.eclipse.emf.common.util.AbstractEnumerator
getLiteral, getName, getValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SEQUENTIAL

public static final int SEQUENTIAL
The 'Sequential' literal value. 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.

See Also:
CallConcurrencyKind.SEQUENTIAL_LITERAL, Constant Field Values

GUARDED

public static final int GUARDED
The 'Guarded' literal value. 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.

See Also:
CallConcurrencyKind.GUARDED_LITERAL, Constant Field Values

CONCURRENT

public static final int CONCURRENT
The 'Concurrent' literal value. Multiple invocations of a behavioral feature may occur simultaneously to one instance and all of them may proceed concurrently.

See Also:
CallConcurrencyKind.CONCURRENT_LITERAL, Constant Field Values

SEQUENTIAL_LITERAL

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

See Also:
CallConcurrencyKind.SEQUENTIAL

GUARDED_LITERAL

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

See Also:
CallConcurrencyKind.GUARDED

CONCURRENT_LITERAL

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

See Also:
CallConcurrencyKind.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 literal)
Returns the 'Call Concurrency Kind' literal with the specified literal value.


getByName

public static CallConcurrencyKind getByName(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 integer value.


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