Enum Class UcteNodeTypeCode

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

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

    • PQ

      public static final UcteNodeTypeCode PQ
      0 = P and Q constant (PQ node).
    • QT

      public static final UcteNodeTypeCode QT
      1 = Q and θ constant.
    • PU

      public static final UcteNodeTypeCode PU
      2 = P and U constant (PU node).
    • UT

      public static final UcteNodeTypeCode UT
      3 = U and θ constant (global slack node, only one in the whole network).
  • Method Details

    • values

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