org.opengis.filter
Enum MultiValuedFilter.MatchAction

Object
  extended by Enum<MultiValuedFilter.MatchAction>
      extended by MultiValuedFilter.MatchAction
All Implemented Interfaces:
Serializable, Comparable<MultiValuedFilter.MatchAction>
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 Summary
ALL
           
ANY
           
ONE
           
 
Method Summary
static MultiValuedFilter.MatchAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MultiValuedFilter.MatchAction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANY

public static final MultiValuedFilter.MatchAction ANY

ALL

public static final MultiValuedFilter.MatchAction ALL

ONE

public static final MultiValuedFilter.MatchAction ONE
Method Detail

values

public static MultiValuedFilter.MatchAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MultiValuedFilter.MatchAction c : MultiValuedFilter.MatchAction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MultiValuedFilter.MatchAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 1996-2014 Geotools. All Rights Reserved.