Package com.powsybl.ucte.network
Enum Class UcteVoltageLevelCode
- All Implemented Interfaces:
Serializable
,Comparable<UcteVoltageLevelCode>
,Constable
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the voltage level (kV).static boolean
isVoltageLevelCode
(char character) static UcteVoltageLevelCode
Returns the enum constant of this class with the specified name.static UcteVoltageLevelCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.static UcteVoltageLevelCode
voltageLevelCodeFromChar
(char code)
-
Enum Constant Details
-
VL_750
0 750kV. -
VL_380
1 380kV. -
VL_220
2 220kV. -
VL_150
3 150kV. -
VL_120
4 120kV. -
VL_110
5 110kV. -
VL_70
6 70kV. -
VL_27
7 27kV. -
VL_330
8 330kV. -
VL_500
9 500kV.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
voltageLevelCodeFromChar
-
isVoltageLevelCode
public static boolean isVoltageLevelCode(char character) -
getVoltageLevel
public int getVoltageLevel()Gets the voltage level (kV).- Returns:
- the voltage level (kV)
-