org.eclipse.uml2.uml
Class TransitionKind

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

public final class TransitionKind
extends AbstractEnumerator

A representation of the literals of the enumeration 'Transition Kind', and utility methods for working with them. TransitionKind is an enumeration type. kind=#local implies owner.source.isComposite kind=#external implies owner.source.isComposite

See Also:
UMLPackage.getTransitionKind()

Field Summary
static int EXTERNAL
          The 'External' literal value
static TransitionKind EXTERNAL_LITERAL
          The 'External' literal object
static int INTERNAL
          The 'Internal' literal value
static TransitionKind INTERNAL_LITERAL
          The 'Internal' literal object
static int LOCAL
          The 'Local' literal value
static TransitionKind LOCAL_LITERAL
          The 'Local' literal object
static List VALUES
          A public read-only list of all the 'Transition Kind' enumerators
 
Method Summary
static TransitionKind get(int value)
          Returns the 'Transition Kind' literal with the specified integer value
static TransitionKind get(String literal)
          Returns the 'Transition Kind' literal with the specified literal value
static TransitionKind getByName(String name)
          Returns the 'Transition 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

INTERNAL

public static final int INTERNAL
The 'Internal' literal value. Implies that the transition, if triggered, occurs without exiting or entering the source state. Thus, it does not cause a state change. This means that the entry or exit condition of the source state will not be invoked. An internal transition can be taken even if the state machine is in one or more regions nested within this state.

See Also:
TransitionKind.INTERNAL_LITERAL, Constant Field Values

LOCAL

public static final int LOCAL
The 'Local' literal value. Implies that the transition, if triggered, will not exit the composite (source) state, but it will apply to any state within the composite state, and these will be exited and entered.

See Also:
TransitionKind.LOCAL_LITERAL, Constant Field Values

EXTERNAL

public static final int EXTERNAL
The 'External' literal value. Implies that the transition, if triggered, will exit the composite (source) state.

See Also:
TransitionKind.EXTERNAL_LITERAL, Constant Field Values

INTERNAL_LITERAL

public static final TransitionKind INTERNAL_LITERAL
The 'Internal' literal object.

See Also:
TransitionKind.INTERNAL

LOCAL_LITERAL

public static final TransitionKind LOCAL_LITERAL
The 'Local' literal object.

See Also:
TransitionKind.LOCAL

EXTERNAL_LITERAL

public static final TransitionKind EXTERNAL_LITERAL
The 'External' literal object.

See Also:
TransitionKind.EXTERNAL

VALUES

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

Method Detail

get

public static TransitionKind get(String literal)
Returns the 'Transition Kind' literal with the specified literal value.


getByName

public static TransitionKind getByName(String name)
Returns the 'Transition Kind' literal with the specified name.


get

public static TransitionKind get(int value)
Returns the 'Transition Kind' literal with the specified integer value.


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