Package com.powsybl.ucte.network
Enum UcteElementStatus
- java.lang.Object
-
- java.lang.Enum<UcteElementStatus>
-
- com.powsybl.ucte.network.UcteElementStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<UcteElementStatus>
public enum UcteElementStatus extends Enum<UcteElementStatus>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description 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).EQUIVALENT_ELEMENT_IN_OPERATION
1: equivalent element in operation.EQUIVALENT_ELEMENT_OUT_OF_OPERATION
9: equivalent element out of operation.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).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UcteElementStatus
fromCode(int code)
int
getCode()
static UcteElementStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static UcteElementStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REAL_ELEMENT_IN_OPERATION
public static final UcteElementStatus REAL_ELEMENT_IN_OPERATION
0: real element in operation (R, X only positive values permitted).
-
REAL_ELEMENT_OUT_OF_OPERATION
public static final UcteElementStatus REAL_ELEMENT_OUT_OF_OPERATION
8: real element out of operation (R, X only positive values permitted).
-
EQUIVALENT_ELEMENT_IN_OPERATION
public static final UcteElementStatus EQUIVALENT_ELEMENT_IN_OPERATION
1: equivalent element in operation.
-
EQUIVALENT_ELEMENT_OUT_OF_OPERATION
public static final UcteElementStatus EQUIVALENT_ELEMENT_OUT_OF_OPERATION
9: equivalent element out of operation.
-
BUSBAR_COUPLER_IN_OPERATION
public static final UcteElementStatus BUSBAR_COUPLER_IN_OPERATION
2: busbar coupler in operation (definition: R=0, X=0, B=0).
-
BUSBAR_COUPLER_OUT_OF_OPERATION
public static final UcteElementStatus BUSBAR_COUPLER_OUT_OF_OPERATION
7: busbar coupler out of operation (definition: R=0, X=0, B=0).
-
-
Method Detail
-
values
public static UcteElementStatus[] 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 (UcteElementStatus c : UcteElementStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UcteElementStatus 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
-
getCode
public int getCode()
-
fromCode
public static UcteElementStatus fromCode(int code)
-
-