Package com.powsybl.openloadflow.network
Enum LfBranch.BranchType
- java.lang.Object
-
- java.lang.Enum<LfBranch.BranchType>
-
- com.powsybl.openloadflow.network.LfBranch.BranchType
-
- All Implemented Interfaces:
Serializable
,Comparable<LfBranch.BranchType>
- Enclosing interface:
- LfBranch
public static enum LfBranch.BranchType extends Enum<LfBranch.BranchType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DANGLING_LINE
LINE
SWITCH
TIE_LINE
TRANSFO_2
TRANSFO_3_LEG_1
TRANSFO_3_LEG_2
TRANSFO_3_LEG_3
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LfBranch.BranchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LfBranch.BranchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LINE
public static final LfBranch.BranchType LINE
-
TRANSFO_2
public static final LfBranch.BranchType TRANSFO_2
-
TRANSFO_3_LEG_1
public static final LfBranch.BranchType TRANSFO_3_LEG_1
-
TRANSFO_3_LEG_2
public static final LfBranch.BranchType TRANSFO_3_LEG_2
-
TRANSFO_3_LEG_3
public static final LfBranch.BranchType TRANSFO_3_LEG_3
-
DANGLING_LINE
public static final LfBranch.BranchType DANGLING_LINE
-
SWITCH
public static final LfBranch.BranchType SWITCH
-
TIE_LINE
public static final LfBranch.BranchType TIE_LINE
-
-
Method Detail
-
values
public static LfBranch.BranchType[] 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 (LfBranch.BranchType c : LfBranch.BranchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LfBranch.BranchType 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
-
-