Enum GenerationActivePowerDistributionStep.ParticipationType
- java.lang.Object
-
- java.lang.Enum<GenerationActivePowerDistributionStep.ParticipationType>
-
- com.powsybl.openloadflow.network.util.GenerationActivePowerDistributionStep.ParticipationType
-
- All Implemented Interfaces:
Serializable
,Comparable<GenerationActivePowerDistributionStep.ParticipationType>
- Enclosing class:
- GenerationActivePowerDistributionStep
public static enum GenerationActivePowerDistributionStep.ParticipationType extends Enum<GenerationActivePowerDistributionStep.ParticipationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAX
PARTICIPATION_FACTOR
REMAINING_MARGIN
TARGET
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenerationActivePowerDistributionStep.ParticipationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GenerationActivePowerDistributionStep.ParticipationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAX
public static final GenerationActivePowerDistributionStep.ParticipationType MAX
-
TARGET
public static final GenerationActivePowerDistributionStep.ParticipationType TARGET
-
PARTICIPATION_FACTOR
public static final GenerationActivePowerDistributionStep.ParticipationType PARTICIPATION_FACTOR
-
REMAINING_MARGIN
public static final GenerationActivePowerDistributionStep.ParticipationType REMAINING_MARGIN
-
-
Method Detail
-
values
public static GenerationActivePowerDistributionStep.ParticipationType[] 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 (GenerationActivePowerDistributionStep.ParticipationType c : GenerationActivePowerDistributionStep.ParticipationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenerationActivePowerDistributionStep.ParticipationType 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 nameNullPointerException
- if the argument is null
-
-