deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.model.filterencoding.capabilities
Class ScalarCapabilities

java.lang.Object
  extended by org.deegree.model.filterencoding.capabilities.ScalarCapabilities

public class ScalarCapabilities
extends Object

ScalarCapabilitiesBean

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Torsten Friebe , Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
ScalarCapabilities(boolean supportsLogicalOperators, Operator[] comparisonOperators, Operator[] arithmeticOperators)
          Creates a new ScalarCapabilities instance.
 
Method Summary
 Operator[] getArithmeticOperators()
           
 Operator[] getComparisonOperators()
           
 boolean hasArithmeticOperator(String operatorName)
          Returns if the given operator is supported.
 boolean hasComparisonOperator(String operatorName)
          Returns if the given operator is supported.
 boolean hasLogicalOperatorsSupport()
           
 void setArithmeticOperators(Operator[] arithmeticOperators)
           
 void setComparisonOperators(Operator[] comparisonOperators)
           
 void setLogicalOperatorsSupport(boolean supportsLogicalOperators)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalarCapabilities

public ScalarCapabilities(boolean supportsLogicalOperators,
                          Operator[] comparisonOperators,
                          Operator[] arithmeticOperators)
Creates a new ScalarCapabilities instance.

Parameters:
supportsLogicalOperators -
comparisonOperators - may be null
arithmeticOperators - may be null
Method Detail

hasLogicalOperatorsSupport

public boolean hasLogicalOperatorsSupport()
Returns:
true, if it supports them

setLogicalOperatorsSupport

public void setLogicalOperatorsSupport(boolean supportsLogicalOperators)
Parameters:
supportsLogicalOperators -

setComparisonOperators

public void setComparisonOperators(Operator[] comparisonOperators)
Parameters:
comparisonOperators -

getComparisonOperators

public Operator[] getComparisonOperators()
Returns:
Comparison Operators

setArithmeticOperators

public void setArithmeticOperators(Operator[] arithmeticOperators)
Parameters:
arithmeticOperators - may be null

getArithmeticOperators

public Operator[] getArithmeticOperators()
Returns:
Arithmetic Operators

hasComparisonOperator

public boolean hasComparisonOperator(String operatorName)
Returns if the given operator is supported.

Parameters:
operatorName -
Returns:
if the given operator is supported.

hasArithmeticOperator

public boolean hasArithmeticOperator(String operatorName)
Returns if the given operator is supported.

Parameters:
operatorName -
Returns:
if the given operator is supported.

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org