Class OperatorImpl

Object
OperatorImpl
All Implemented Interfaces:
Operator
Direct Known Subclasses:
FunctionNameImpl, SpatialOperatorImpl

public class OperatorImpl extends Object implements Operator
Implementation of the Operator interface.
Author:
Justin Deoliveira, The Open Planning Project
  • Constructor Details

    • OperatorImpl

      public OperatorImpl(String name)
    • OperatorImpl

      public OperatorImpl(Operator copy)
  • Method Details

    • setName

      public void setName(String name)
    • getName

      public String getName()
      Description copied from interface: Operator
      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.

      Specified by:
      getName in interface Operator
    • hashCode

      public int hashCode()
      Description copied from interface: Operator
      HashCode should be implemented simply in terms of getName().
      Specified by:
      hashCode in interface Operator
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Description copied from interface: Operator
      Equals should be implemented simply in terms of getName()
      Specified by:
      equals in interface Operator
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object