Enum Class MultiValuedFilter.MatchAction

All Implemented Interfaces:
Serializable, Comparable<MultiValuedFilter.MatchAction>, Constable
Enclosing interface:
MultiValuedFilter

public static enum MultiValuedFilter.MatchAction extends Enum<MultiValuedFilter.MatchAction>
Enumerated type for MatchAction property (used by comparison and geometry operations): When one or more of the operands evaluates to multiple values rather than a single value, which action should be taken?

For example, in case of a binary comparison, if there are n values for the left operand and m values for the right operand, there are n * m possible combinations that can be compared,

  • ANY - if any of the possible combinations match, the result is true (aggregated OR)
  • ALL - only if all of the possible combinations match, the result is true (aggregated AND)
  • ONE - only if exactly one of the possible combinations match, the result is true (aggregated XOR)
Author:
Niels Charlier, Curtin University of Technology
  • Enum Constant Details

  • Method Details

    • values

      public static MultiValuedFilter.MatchAction[] 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 MultiValuedFilter.MatchAction 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