Package com.powsybl.iidm.network
Enum HvdcLine.ConvertersMode
- java.lang.Object
-
- java.lang.Enum<HvdcLine.ConvertersMode>
-
- com.powsybl.iidm.network.HvdcLine.ConvertersMode
-
- All Implemented Interfaces:
Serializable
,Comparable<HvdcLine.ConvertersMode>
- Enclosing interface:
- HvdcLine
public static enum HvdcLine.ConvertersMode extends Enum<HvdcLine.ConvertersMode>
Converters mode used to known the sign of the active power of the HVDC line.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SIDE_1_INVERTER_SIDE_2_RECTIFIER
SIDE_1_RECTIFIER_SIDE_2_INVERTER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HvdcLine.ConvertersMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static HvdcLine.ConvertersMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIDE_1_RECTIFIER_SIDE_2_INVERTER
public static final HvdcLine.ConvertersMode SIDE_1_RECTIFIER_SIDE_2_INVERTER
-
SIDE_1_INVERTER_SIDE_2_RECTIFIER
public static final HvdcLine.ConvertersMode SIDE_1_INVERTER_SIDE_2_RECTIFIER
-
-
Method Detail
-
values
public static HvdcLine.ConvertersMode[] 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 (HvdcLine.ConvertersMode c : HvdcLine.ConvertersMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HvdcLine.ConvertersMode 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
-
-