Class AbstractFilter

Object
FilterAbstract
AbstractFilter
All Implemented Interfaces:
Filter, FilterType
Direct Known Subclasses:
BinaryComparisonAbstract, BinaryLogicAbstract, FidFilterImpl, LikeFilterImpl, NullFilterImpl

public abstract class AbstractFilter extends FilterAbstract implements FilterType, Filter
Implements Filter interface, with constants and default behaviors for methods.
Author:
Rob Hranac, Vision for New York
  • Field Details

    • LOGGER

      protected static final Logger LOGGER
      The logger for the default core module.
  • Constructor Details

    • AbstractFilter

      protected AbstractFilter()
  • Method Details

    • isLogicFilter

      public static boolean isLogicFilter(short filterType)
      Checks to see if passed type is logic.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a logic filter type.
    • isMathFilter

      protected static boolean isMathFilter(int filterType)
      Checks to see if passed type is math.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a math filter type.
    • isCompareFilter

      protected static boolean isCompareFilter(int filterType)
      Checks to see if passed type is compare.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a compare filter type.
    • isGeometryFilter

      protected static boolean isGeometryFilter(short filterType)
      Checks to see if passed type is geometry.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a geometry filter type.
    • isGeometryDistanceFilter

      protected static boolean isGeometryDistanceFilter(short filterType)
      Checks to see if passed type is geometry distance type.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a geometry filter type.
    • isSimpleFilter

      public static boolean isSimpleFilter(short filterType)
      Checks to see if passed type is logic.
      Parameters:
      filterType - Type of filter for check.
      Returns:
      Whether or not this is a logic filter type.