Interface Operator

  • All Known Subinterfaces:
    FunctionName, SpatialOperator, TemporalOperator

    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.
    TODO:
    Which relationship with Filter and expressions?
    • Method Detail

      • getName

        @UML(identifier="name",
             specification=UNSPECIFIED)
        String 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