petri_jfern.cpn
Enum StatementAction

java.lang.Object
  extended by java.lang.Enum<StatementAction>
      extended by petri_jfern.cpn.StatementAction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatementAction>

public enum StatementAction
extends java.lang.Enum<StatementAction>

The Enum StatementAction.

Author:
Kevin Pucknat

Enum Constant Summary
ELEMENT_COUNT
          The number of elements.
ELEMENT_SUM_VALUE
          The element sum value.
PLACE_CAPACITY
          The place capacity.
 
Method Summary
 java.lang.String getExp()
          Gets the expression
static StatementAction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatementAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ELEMENT_COUNT

public static final StatementAction ELEMENT_COUNT
The number of elements.


ELEMENT_SUM_VALUE

public static final StatementAction ELEMENT_SUM_VALUE
The element sum value.


PLACE_CAPACITY

public static final StatementAction PLACE_CAPACITY
The place capacity.

Method Detail

values

public static StatementAction[] 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 (StatementAction c : StatementAction.values())
    System.out.println(c);

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

valueOf

public static StatementAction 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
java.lang.NullPointerException - if the argument is null

getExp

public java.lang.String getExp()
Gets the expression

Returns:
the exp