Package org.geotools.api.filter
Enum MultiValuedFilter.MatchAction
- Object
-
- Enum<MultiValuedFilter.MatchAction>
-
- 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
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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 nameNullPointerException
- if the argument is null
-
-