Package com.nomagic.magicdraw.simulation
Enum SimulationProfile.DurationSimulationModeEnum
- java.lang.Object
-
- java.lang.Enum<SimulationProfile.DurationSimulationModeEnum>
-
- com.nomagic.magicdraw.simulation.SimulationProfile.DurationSimulationModeEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SimulationProfile.DurationSimulationModeEnum>
- Enclosing class:
- SimulationProfile
public static enum SimulationProfile.DurationSimulationModeEnum extends java.lang.Enum<SimulationProfile.DurationSimulationModeEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimulationProfile.DurationSimulationModeEnum
from(java.lang.Object o)
java.lang.String
getText()
static SimulationProfile.DurationSimulationModeEnum
toEnum(EnumerationLiteral literal)
static EnumerationLiteral
toEnumerationLiteral(SimulationProfile profile, SimulationProfile.DurationSimulationModeEnum anEnum)
static SimulationProfile.DurationSimulationModeEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SimulationProfile.DurationSimulationModeEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIN
public static final SimulationProfile.DurationSimulationModeEnum MIN
-
MAX
public static final SimulationProfile.DurationSimulationModeEnum MAX
-
AVERAGE
public static final SimulationProfile.DurationSimulationModeEnum AVERAGE
-
RANDOM
public static final SimulationProfile.DurationSimulationModeEnum RANDOM
-
-
Method Detail
-
values
public static SimulationProfile.DurationSimulationModeEnum[] 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 (SimulationProfile.DurationSimulationModeEnum c : SimulationProfile.DurationSimulationModeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimulationProfile.DurationSimulationModeEnum 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 namejava.lang.NullPointerException
- if the argument is null
-
getText
public java.lang.String getText()
-
from
@CheckForNull public static SimulationProfile.DurationSimulationModeEnum from(@CheckForNull java.lang.Object o)
-
toEnum
@CheckForNull public static SimulationProfile.DurationSimulationModeEnum toEnum(EnumerationLiteral literal)
-
toEnumerationLiteral
@CheckForNull public static EnumerationLiteral toEnumerationLiteral(SimulationProfile profile, SimulationProfile.DurationSimulationModeEnum anEnum)
-
-