de.cesr.lara.components.model.impl
Enum LSimulationStage

java.lang.Object
  extended by java.lang.Enum<LSimulationStage>
      extended by de.cesr.lara.components.model.impl.LSimulationStage
All Implemented Interfaces:
LaraSimulationStage, Serializable, Comparable<LSimulationStage>

public enum LSimulationStage
extends Enum<LSimulationStage>
implements LaraSimulationStage

Items of this enumeration identify the simulation stage.


Enum Constant Summary
DECIDE
          Simulation is in decision stage.
EXECUTE
          Simulation is in process decision stage.
PERCEIVE
          Simulation is in perceive stage.
POSTPROCESS
          Simulation is in post-process stage.
PREPROCESS
          Simulation is in pre-processing stage.
UNDEFINED
          Default value if an implementation of LaraModel does not update the simulation stage variable.
 
Method Summary
static LSimulationStage valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LSimulationStage[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DECIDE

public static final LSimulationStage DECIDE
Simulation is in decision stage.


PERCEIVE

public static final LSimulationStage PERCEIVE
Simulation is in perceive stage.


POSTPROCESS

public static final LSimulationStage POSTPROCESS
Simulation is in post-process stage.


PREPROCESS

public static final LSimulationStage PREPROCESS
Simulation is in pre-processing stage.


EXECUTE

public static final LSimulationStage EXECUTE
Simulation is in process decision stage.


UNDEFINED

public static final LSimulationStage UNDEFINED
Default value if an implementation of LaraModel does not update the simulation stage variable.

Method Detail

values

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

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

valueOf

public static LSimulationStage 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