Package com.powsybl.ucte.network
Enum Class UcteElementStatus
- All Implemented Interfaces:
Serializable
,Comparable<UcteElementStatus>
,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
Enum ConstantDescription2: busbar coupler in operation (definition: R=0, X=0, B=0).7: busbar coupler out of operation (definition: R=0, X=0, B=0).1: equivalent element in operation.9: equivalent element out of operation.0: real element in operation (R, X only positive values permitted).8: real element out of operation (R, X only positive values permitted). -
Method Summary
Modifier and TypeMethodDescriptionstatic UcteElementStatus
fromCode
(int code) int
getCode()
static UcteElementStatus
Returns the enum constant of this class with the specified name.static UcteElementStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REAL_ELEMENT_IN_OPERATION
0: real element in operation (R, X only positive values permitted). -
REAL_ELEMENT_OUT_OF_OPERATION
8: real element out of operation (R, X only positive values permitted). -
EQUIVALENT_ELEMENT_IN_OPERATION
1: equivalent element in operation. -
EQUIVALENT_ELEMENT_OUT_OF_OPERATION
9: equivalent element out of operation. -
BUSBAR_COUPLER_IN_OPERATION
2: busbar coupler in operation (definition: R=0, X=0, B=0). -
BUSBAR_COUPLER_OUT_OF_OPERATION
7: busbar coupler out of operation (definition: R=0, X=0, B=0).
-
-
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
-
getCode
public int getCode() -
fromCode
-