Package com.powsybl.ieeecdf.model
Enum IeeeCdfBranch.Side
- java.lang.Object
-
- java.lang.Enum<IeeeCdfBranch.Side>
-
- com.powsybl.ieeecdf.model.IeeeCdfBranch.Side
-
- All Implemented Interfaces:
Serializable
,Comparable<IeeeCdfBranch.Side>
- Enclosing class:
- IeeeCdfBranch
public static enum IeeeCdfBranch.Side extends Enum<IeeeCdfBranch.Side>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTROLLED_BUS_IS_NEAR_THE_IMPEDANCE_SIDE
CONTROLLED_BUS_IS_NEAR_THE_TAP_SIDE
CONTROLLED_BUS_IS_ONE_OF_THE_TERMINALS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IeeeCdfBranch.Side
valueOf(String name)
Returns the enum constant of this type with the specified name.static IeeeCdfBranch.Side[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTROLLED_BUS_IS_ONE_OF_THE_TERMINALS
public static final IeeeCdfBranch.Side CONTROLLED_BUS_IS_ONE_OF_THE_TERMINALS
-
CONTROLLED_BUS_IS_NEAR_THE_TAP_SIDE
public static final IeeeCdfBranch.Side CONTROLLED_BUS_IS_NEAR_THE_TAP_SIDE
-
CONTROLLED_BUS_IS_NEAR_THE_IMPEDANCE_SIDE
public static final IeeeCdfBranch.Side CONTROLLED_BUS_IS_NEAR_THE_IMPEDANCE_SIDE
-
-
Method Detail
-
values
public static IeeeCdfBranch.Side[] 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 (IeeeCdfBranch.Side c : IeeeCdfBranch.Side.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IeeeCdfBranch.Side 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
-
-