Enum Class ConditionalOperator

java.lang.Object
java.lang.Enum<ConditionalOperator>
com.samupert.univpm.eurostat.filtering.operator.ConditionalOperator
All Implemented Interfaces:
Operator, Serializable, Comparable<ConditionalOperator>, Constable

public enum ConditionalOperator extends Enum<ConditionalOperator> implements Operator
Represents the conditional operators that can be used in the filtering process.
  • Enum Constant Details

    • IN_ARRAY

      public static final ConditionalOperator IN_ARRAY
      Conditional operator enum for the $in operator.
    • NOT_IN_ARRAY

      public static final ConditionalOperator NOT_IN_ARRAY
      Conditional operator enum for the $nin operator.
    • CONTAINS

      public static final ConditionalOperator CONTAINS
      Conditional operator enum for the $cn operator.
    • DOES_NOT_CONTAIN

      public static final ConditionalOperator DOES_NOT_CONTAIN
      Conditional operator enum for the $ncn operator.
    • EQUAL

      public static final ConditionalOperator EQUAL
      Conditional operator enum for the $eq operator.
    • NOT_EQUAL

      public static final ConditionalOperator NOT_EQUAL
      Conditional operator enum for the $neq operator.
    • GREATER_THAN

      public static final ConditionalOperator GREATER_THAN
      Conditional operator enum for the $gt operator.
    • GREATER_THAN_EQUAL

      public static final ConditionalOperator GREATER_THAN_EQUAL
      Conditional operator enum for the $gte operator.
    • LESS_THAN

      public static final ConditionalOperator LESS_THAN
      Conditional operator enum for the $lt operator.
    • LESS_THAN_EQUAL

      public static final ConditionalOperator LESS_THAN_EQUAL
      Conditional operator enum for the $lte operator.
  • Method Details

    • values

      public static ConditionalOperator[] 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 ConditionalOperator 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ConditionalOperator>
    • getOperatorType

      public OperatorType getOperatorType()
      Description copied from interface: Operator
      Gets the operator type. See OperatorType.
      Specified by:
      getOperatorType in interface Operator
      Returns:
      The operator type.