Interface Operator

All Known Subinterfaces:
ComparisonOperatorType, FunctionName, SpatialOperator, SpatialOperatorType, TemporalOperator
All Known Implementing Classes:
ComparisonOperatorTypeImpl, FunctionNameImpl, OperatorImpl, SpatialOperatorImpl, SpatialOperatorTypeImpl, TemporalOperatorImpl

public interface Operator
Indicates a supported Operator.

The operator that is supported is indicated by the getName() field, these names are formally defined to match:

  • A subclass of Filter. Examples include "BBOX" and "EqualsTo"
  • A subclass of Expression or Function. Examples include "ADD" and "Length"
Each filter subclass has an associated name (such as BBOX or EqualsTo), you can use this name to determine if a matching Operator is defined as part of FilterCapabilities.
Author:
Torsten Friebe, Jody Garnett (Refractions Research)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Equals should be implemented simply in terms of getName()
    Name of supported Operator.
    int
    HashCode should be implemented simply in terms of getName().
  • Method Details

    • getName

      Name of supported Operator.

      Each filter subclass has an associated name (such as BBOX or EqualsTo), you can use this name to determine if a matching Operator is defined as part of FilterCapabilities.

    • equals

      boolean equals(Object obj)
      Equals should be implemented simply in terms of getName()
      Overrides:
      equals in class Object
    • hashCode

      int hashCode()
      HashCode should be implemented simply in terms of getName().
      Overrides:
      hashCode in class Object