java.lang.Object
java.lang.Enum<ClampMode>
com.inductiveautomation.ignition.common.sqltags.model.types.ClampMode
All Implemented Interfaces:
Serializable, Comparable<ClampMode>, Constable

public enum ClampMode extends Enum<ClampMode>
  • Enum Constant Details

    • No_Clamp

      public static final ClampMode No_Clamp
    • Clamp_Low

      public static final ClampMode Clamp_Low
    • Clamp_High

      public static final ClampMode Clamp_High
    • Clamp_Both

      public static final ClampMode Clamp_Both
  • Method Details

    • values

      public static ClampMode[] 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 ClampMode 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
    • getIntValue

      public int getIntValue()
      Returns the type code for this clamp mode
    • checkBounds

      public QualifiedValue checkBounds(QualifiedValue qv, double low, double high)
    • getTypeForValue

      public static ClampMode getTypeForValue(int val)
      Returns the ClampMode for the given type code. Returns null if there is node defined mode for the given code