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