Class TLcdOGCScalarFilterCapabilities

java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.filter.model.capabilities.TLcdOGCScalarFilterCapabilities
All Implemented Interfaces:
ILcdDataObject, ILcdCloneable, ILcdDeepCloneable, Cloneable

public class TLcdOGCScalarFilterCapabilities extends TLcdDataObject
Class defining a set of scalar-based filter capabilities.

This can include logical operators, comparison operators, arithmetic operators and/or functions.

See Also:
  • Field Details

  • Constructor Details

    • TLcdOGCScalarFilterCapabilities

      public TLcdOGCScalarFilterCapabilities()
      Default constructor
    • TLcdOGCScalarFilterCapabilities

      public TLcdOGCScalarFilterCapabilities(boolean aLogicalOperatorsSupported, String[] aComparisonOperators, String[] aArithmeticOperators, String[] aArithmeticFunctions)
      Constructs a scalar filter capabilities object with the right parameters.
      Parameters:
      aLogicalOperatorsSupported -
      aComparisonOperators -
      aArithmeticOperators -
      aArithmeticFunctions -
  • Method Details

    • setSupportLogicalOperators

      public void setSupportLogicalOperators(boolean aSupportLogicalOperators)
      Specify whether logical operators are supported.
      Parameters:
      aSupportLogicalOperators -
    • isSupportLogicalOperators

      public boolean isSupportLogicalOperators()
      Returns true if the filter capabilities indicate the possibility to use logical operators.
      Returns:
      true if the filter capabilities indicate the possibility to use logical operators.
    • getComparisonOperatorCount

      public int getComparisonOperatorCount()
      Returns the number of comparison operators that are registered.
      Returns:
      the number of comparison operators that are registered.
    • getComparisonOperators

      public List<String> getComparisonOperators()
    • getComparisonOperator

      public String getComparisonOperator(int index)
      Returns the name of the comparison operator at aIndex in the list of comparison operators that are registered.
      Parameters:
      index -
      Returns:
      the name of the comparison operator at aIndex in the list of comparison operators that are registered.
    • addComparisonOperator

      public void addComparisonOperator(String aOperator)
      Add a comparison operator to the list of supported comparison operators.
      Parameters:
      aOperator -
    • removeComparisonOperator

      public void removeComparisonOperator(String aOperator)
      Remove the comparison operator aOperator from the list of supported comparison operators.
      Parameters:
      aOperator -
    • getArithmeticOperatorCount

      public int getArithmeticOperatorCount()
      Returns the number of arithmetic operators that are registered.
      Returns:
      the number of arithmetic operators that are registered.
    • getArithmeticOperators

      public List<String> getArithmeticOperators()
    • getArithmeticOperator

      public String getArithmeticOperator(int index)
      Returns the name of the arithmetic operator at aIndex in the list of arithmetic operators that are registered.
      Parameters:
      index -
      Returns:
      the name of the arithmetic operator at aIndex in the list of arithmetic operators that are registered.
    • addArithmeticOperator

      public void addArithmeticOperator(String aOperator)
      Add the arithmetic operator aOperator to the list of supported operators.
      Parameters:
      aOperator -
    • removeArithmeticOperator

      public void removeArithmeticOperator(String aOperator)
      Remove the arithmetic operator aOperator from the list of supported operators.
      Parameters:
      aOperator -
    • getArithmeticFunctionCount

      public int getArithmeticFunctionCount()
      Returns the number of arithmetic functions that are registered.
      Returns:
      the number of arithmetic functions that are registered.
    • getArithmeticFunctions

      public List<String> getArithmeticFunctions()
    • getArithmeticFunction

      public String getArithmeticFunction(int index)
      Returns the name of the arithmetic function at aIndex in the list of arithmetic functions that are registered.
      Parameters:
      index -
      Returns:
      the name of the arithmetic function at aIndex in the list of arithmetic functions that are registered.
    • getArithmeticFunctionArgumentCount

      public int getArithmeticFunctionArgumentCount(String aFunction)
      Returns the number of arguments of the arithmetic function with name aFunction.
      Parameters:
      aFunction -
      Returns:
      the number of arguments of the arithmetic function with name aFunction.
    • addArithmeticFunction

      public void addArithmeticFunction(String aFunction, int aNumberOfArguments)
      Adds the arithmetic function with name aFunction and number of arguments equal to aNumberOfArguments to the list of supported arithmetic functions.
      Parameters:
      aFunction -
      aNumberOfArguments -
    • removeArithmeticFunction

      public void removeArithmeticFunction(String aFunction)
      Remove the arithmetic function with name aFunctionfrom the list of supported arithmetic functions.
      Parameters:
      aFunction -