Enum Class UcteElementStatus

java.lang.Object
java.lang.Enum<UcteElementStatus>
com.powsybl.ucte.network.UcteElementStatus
All Implemented Interfaces:
Serializable, Comparable<UcteElementStatus>, Constable

public enum UcteElementStatus extends Enum<UcteElementStatus>
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
  • Enum Constant Details

    • 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 Details

    • values

      public static UcteElementStatus[] 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

      public static UcteElementStatus valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • fromCode

      public static UcteElementStatus fromCode(int code)