Package com.powsybl.iidm.network
Enum ConnectableType
- java.lang.Object
-
- java.lang.Enum<ConnectableType>
-
- com.powsybl.iidm.network.ConnectableType
-
- All Implemented Interfaces:
Serializable
,Comparable<ConnectableType>
public enum ConnectableType extends Enum<ConnectableType>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BATTERY
BUSBAR_SECTION
DANGLING_LINE
GENERATOR
HVDC_CONVERTER_STATION
LINE
LOAD
SHUNT_COMPENSATOR
STATIC_VAR_COMPENSATOR
THREE_WINDINGS_TRANSFORMER
TWO_WINDINGS_TRANSFORMER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConnectableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConnectableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BUSBAR_SECTION
public static final ConnectableType BUSBAR_SECTION
-
LINE
public static final ConnectableType LINE
-
TWO_WINDINGS_TRANSFORMER
public static final ConnectableType TWO_WINDINGS_TRANSFORMER
-
THREE_WINDINGS_TRANSFORMER
public static final ConnectableType THREE_WINDINGS_TRANSFORMER
-
GENERATOR
public static final ConnectableType GENERATOR
-
BATTERY
public static final ConnectableType BATTERY
-
LOAD
public static final ConnectableType LOAD
-
SHUNT_COMPENSATOR
public static final ConnectableType SHUNT_COMPENSATOR
-
DANGLING_LINE
public static final ConnectableType DANGLING_LINE
-
STATIC_VAR_COMPENSATOR
public static final ConnectableType STATIC_VAR_COMPENSATOR
-
HVDC_CONVERTER_STATION
public static final ConnectableType HVDC_CONVERTER_STATION
-
-
Method Detail
-
values
public static ConnectableType[] 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 (ConnectableType c : ConnectableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConnectableType 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
-
-