de.cau.cs.kieler.synccharts
Enum TransitionType

java.lang.Object
  extended by java.lang.Enum<TransitionType>
      extended by de.cau.cs.kieler.synccharts.TransitionType
All Implemented Interfaces:
Comparable<TransitionType>, Enumerator

public enum TransitionType
extends Enum<TransitionType>
implements Enumerator

A representation of the literals of the enumeration 'Transition Type', and utility methods for working with them. A Transition has a type specifying some special property.

See Also:
SyncchartsPackage.getTransitionType()
Rating red
Generated:
This code was automatically generated.
Model element

Enum Constant Summary
NORMALTERMINATION
          The 'NORMALTERMINATION' literal object.
STRONGABORT
          The 'STRONGABORT' literal object.
WEAKABORT
          The 'WEAKABORT' literal object.
 
Field Summary
static String copyright
           
static int NORMALTERMINATION_VALUE
          The 'NORMALTERMINATION' literal value.
static int STRONGABORT_VALUE
          The 'STRONGABORT' literal value.
static List<TransitionType> VALUES
          A public read-only list of all the 'Transition Type' enumerators.
static int WEAKABORT_VALUE
          The 'WEAKABORT' literal value.
 
Method Summary
static TransitionType get(int value)
          Returns the 'Transition Type' literal with the specified integer value.
static TransitionType get(String literal)
          Returns the 'Transition Type' literal with the specified literal value.
static TransitionType getByName(String name)
          Returns the 'Transition Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static TransitionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TransitionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WEAKABORT

public static final TransitionType WEAKABORT
The 'WEAKABORT' literal object.

See Also:
WEAKABORT_VALUE
Generated:
This code was automatically generated.
Ordered

STRONGABORT

public static final TransitionType STRONGABORT
The 'STRONGABORT' literal object.

See Also:
STRONGABORT_VALUE
Generated:
This code was automatically generated.
Ordered

NORMALTERMINATION

public static final TransitionType NORMALTERMINATION
The 'NORMALTERMINATION' literal object.

See Also:
NORMALTERMINATION_VALUE
Generated:
This code was automatically generated.
Ordered
Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Generated:
This code was automatically generated.

WEAKABORT_VALUE

public static final int WEAKABORT_VALUE
The 'WEAKABORT' literal value. A WEAKABORT transition allows the exited State to execute its contents in that tick.

See Also:
WEAKABORT, Constant Field Values
Generated:
This code was automatically generated.
Model element
Ordered

STRONGABORT_VALUE

public static final int STRONGABORT_VALUE
The 'STRONGABORT' literal value. A STRONGABORT will immediately leave the state and not allow any actions in the source State in that tick.

See Also:
STRONGABORT, Constant Field Values
Generated:
This code was automatically generated.
Model element
Ordered

NORMALTERMINATION_VALUE

public static final int NORMALTERMINATION_VALUE
The 'NORMALTERMINATION' literal value. A NORMALTERMINATION will leave a State whenever all contained Regions are in final States. A normal termination may not define a guard trigger.

See Also:
NORMALTERMINATION, Constant Field Values
Generated:
This code was automatically generated.
Model element
Ordered

VALUES

public static final List<TransitionType> VALUES
A public read-only list of all the 'Transition Type' enumerators.

Generated:
This code was automatically generated.
Method Detail

values

public static TransitionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TransitionType c : TransitionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TransitionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static TransitionType get(String literal)
Returns the 'Transition Type' literal with the specified literal value.

Generated:
This code was automatically generated.

getByName

public static TransitionType getByName(String name)
Returns the 'Transition Type' literal with the specified name.

Generated:
This code was automatically generated.

get

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

Generated:
This code was automatically generated.

getValue

public int getValue()

Specified by:
getValue in interface Enumerator
Generated:
This code was automatically generated.

getName

public String getName()

Specified by:
getName in interface Enumerator
Generated:
This code was automatically generated.

getLiteral

public String getLiteral()

Specified by:
getLiteral in interface Enumerator
Generated:
This code was automatically generated.

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<TransitionType>
Generated:
This code was automatically generated.