TPTP 4.6.0 Platform Project
Public API Specification

org.eclipse.hyades.models.common.fragments
Enum BVRInteractionOperator

java.lang.Object
  extended by java.lang.Enum<BVRInteractionOperator>
      extended by org.eclipse.hyades.models.common.fragments.BVRInteractionOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BVRInteractionOperator>, org.eclipse.emf.common.util.Enumerator

public enum BVRInteractionOperator
extends java.lang.Enum<BVRInteractionOperator>
implements org.eclipse.emf.common.util.Enumerator

A representation of the literals of the enumeration 'BVR Interaction Operator', and utility methods for working with them. The InteractionOperator is an enumerated type holding the different kinds of oeprators to be used in a Combined Fragment. - alt designates that the CombinedFragment represents a choice of behavior. - opt designates that the CombinedFragment represents a choice of behavior where either the (sole) operand happens or nothing happens. - par designates that the CombinedFragment represents a parallel merge between the behaviors of the operands. The eventoccurrences of the different operands can be interleaved in any way as long as the ordering imposed by each operand as such is preserved. - loop designates that the CombinedFragment represents a loop. The loop operand will be repeated a number of times. - neg designates that the CombinedFragment represents traces that are defined to be invalid.

See Also:
Common_Behavior_FragmentsPackage.getBVRInteractionOperator()
Generated
[EMF] Model

Enum Constant Summary
ALT_LITERAL
          The 'Alt' literal object
LOOP_LITERAL
          The 'Loop' literal object
NEG_LITERAL
          The 'Neg' literal object
OPT_LITERAL
          The 'Opt' literal object
PAR_LITERAL
          The 'Par' literal object
 
Field Summary
static int ALT
          The 'Alt' literal value
static int LOOP
          The 'Loop' literal value
static int NEG
          The 'Neg' literal value
static int OPT
          The 'Opt' literal value
static int PAR
          The 'Par' literal value
static java.util.List<BVRInteractionOperator> VALUES
          A public read-only list of all the 'BVR Interaction Operator' enumerators
 
Method Summary
static BVRInteractionOperator get(int value)
          Returns the 'BVR Interaction Operator' literal with the specified integer value
static BVRInteractionOperator get(java.lang.String literal)
          Returns the 'BVR Interaction Operator' literal with the specified literal value
static BVRInteractionOperator getByLabel(java.lang.String label)
          Returns the enumeration value associated with a label.
static BVRInteractionOperator getByName(java.lang.String name)
          Returns the 'BVR Interaction Operator' literal with the specified name
 java.lang.String getLabel()
          Returns the label associated with this enumeration value.
 java.lang.String getLiteral()
           
 java.lang.String getName()
           
 int getValue()
           
 java.lang.String toString()
          Returns the literal value of the enumerator, which is its string representation
static BVRInteractionOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BVRInteractionOperator[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ALT_LITERAL

public static final BVRInteractionOperator ALT_LITERAL
The 'Alt' literal object.

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

See Also:
ALT
Generated
[EMF] Ordered

OPT_LITERAL

public static final BVRInteractionOperator OPT_LITERAL
The 'Opt' literal object.

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

See Also:
OPT
Generated
[EMF] Ordered

PAR_LITERAL

public static final BVRInteractionOperator PAR_LITERAL
The 'Par' literal object.

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

See Also:
PAR
Generated
[EMF] Ordered

LOOP_LITERAL

public static final BVRInteractionOperator LOOP_LITERAL
The 'Loop' literal object.

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

See Also:
LOOP
Generated
[EMF] Ordered

NEG_LITERAL

public static final BVRInteractionOperator NEG_LITERAL
The 'Neg' literal object.

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

See Also:
NEG
Generated
[EMF] Ordered
Field Detail

ALT

public static final int ALT
The 'Alt' literal value.

See Also:
ALT_LITERAL, Constant Field Values
Generated
[EMF] Model
name="alt"
[EMF] Ordered

OPT

public static final int OPT
The 'Opt' literal value.

See Also:
OPT_LITERAL, Constant Field Values
Generated
[EMF] Model
name="opt"
[EMF] Ordered

PAR

public static final int PAR
The 'Par' literal value.

See Also:
PAR_LITERAL, Constant Field Values
Generated
[EMF] Model
name="par"
[EMF] Ordered

LOOP

public static final int LOOP
The 'Loop' literal value.

See Also:
LOOP_LITERAL, Constant Field Values
Generated
[EMF] Model
name="loop"
[EMF] Ordered

NEG

public static final int NEG
The 'Neg' literal value.

See Also:
NEG_LITERAL, Constant Field Values
Generated
[EMF] Model
name="neg"
[EMF] Ordered

VALUES

public static final java.util.List<BVRInteractionOperator> VALUES
A public read-only list of all the 'BVR Interaction Operator' enumerators.

Generated
Method Detail

values

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

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

valueOf

public static BVRInteractionOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

get

public static BVRInteractionOperator get(java.lang.String literal)
Returns the 'BVR Interaction Operator' literal with the specified literal value.

Generated

getByName

public static BVRInteractionOperator getByName(java.lang.String name)
Returns the 'BVR Interaction Operator' literal with the specified name.

Generated

get

public static BVRInteractionOperator get(int value)
Returns the 'BVR Interaction Operator' literal with the specified integer value.

Generated

getValue

public int getValue()

Specified by:
getValue in interface org.eclipse.emf.common.util.Enumerator
Generated

getName

public java.lang.String getName()

Specified by:
getName in interface org.eclipse.emf.common.util.Enumerator
Generated

getLiteral

public java.lang.String getLiteral()

Specified by:
getLiteral in interface org.eclipse.emf.common.util.Enumerator
Generated

toString

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

Overrides:
toString in class java.lang.Enum<BVRInteractionOperator>
Generated

getByLabel

public static BVRInteractionOperator getByLabel(java.lang.String label)
Returns the enumeration value associated with a label.

If the label is not valid then this method returns the default value for the enumeration.

Parameters:
label -
Returns:
BVRInteractionOperator

getLabel

public java.lang.String getLabel()
Returns the label associated with this enumeration value. If there is no label then this method returns the enumeration's name.

Returns:
String

TPTP 4.6.0 Platform Project
Public API Specification