Package com.powsybl.ampl.converter
Enum AmplSubset
- java.lang.Object
-
- java.lang.Enum<AmplSubset>
-
- com.powsybl.ampl.converter.AmplSubset
-
- All Implemented Interfaces:
IntCounter
,Serializable
,Comparable<AmplSubset>
public enum AmplSubset extends Enum<AmplSubset> implements IntCounter
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getInitialValue()
static AmplSubset
valueOf(String name)
Returns the enum constant of this type with the specified name.static AmplSubset[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NETWORK
public static final AmplSubset NETWORK
-
BUS
public static final AmplSubset BUS
-
VOLTAGE_LEVEL
public static final AmplSubset VOLTAGE_LEVEL
-
BRANCH
public static final AmplSubset BRANCH
-
RATIO_TAP_CHANGER
public static final AmplSubset RATIO_TAP_CHANGER
-
PHASE_TAP_CHANGER
public static final AmplSubset PHASE_TAP_CHANGER
-
TAP_CHANGER_TABLE
public static final AmplSubset TAP_CHANGER_TABLE
-
LOAD
public static final AmplSubset LOAD
-
SHUNT
public static final AmplSubset SHUNT
-
GENERATOR
public static final AmplSubset GENERATOR
-
BATTERY
public static final AmplSubset BATTERY
-
TEMPORARY_CURRENT_LIMIT
public static final AmplSubset TEMPORARY_CURRENT_LIMIT
-
THREE_WINDINGS_TRANSFO
public static final AmplSubset THREE_WINDINGS_TRANSFO
-
FAULT
public static final AmplSubset FAULT
-
CURATIVE_ACTION
public static final AmplSubset CURATIVE_ACTION
-
PREVENTIVE_ACTION
public static final AmplSubset PREVENTIVE_ACTION
-
STATIC_VAR_COMPENSATOR
public static final AmplSubset STATIC_VAR_COMPENSATOR
-
HVDC_LINE
public static final AmplSubset HVDC_LINE
-
LCC_CONVERTER_STATION
public static final AmplSubset LCC_CONVERTER_STATION
-
VSC_CONVERTER_STATION
public static final AmplSubset VSC_CONVERTER_STATION
-
-
Method Detail
-
values
public static AmplSubset[] 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 (AmplSubset c : AmplSubset.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AmplSubset 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
-
getInitialValue
public int getInitialValue()
- Specified by:
getInitialValue
in interfaceIntCounter
-
-