twaver.gis.ogc.conditions
Class ComparisonOperateCondition

java.lang.Object
  extended bytwaver.gis.ogc.conditions.ComparisonOperateCondition

public class ComparisonOperateCondition
extends java.lang.Object

TWaverGIS implements GetFeature which performs the actual query to help developers increase the interoperability with WFS servers, ComparisonOperateCondition is designed to describe the condition of comparison operation when TWaverGIS performs the query.


Constructor Summary
ComparisonOperateCondition(int queryType)
          Constructs LogicalOperateCondition instance.
 
Method Summary
 java.lang.String getFilterOGC()
           
 int[] getOperateOperators()
          Gets an array of logical operators.
 int getQueryType()
          Gets the query type.
 java.lang.String[] getReferenceProperties()
          Gets the reference properties.
 java.lang.String[] getReferenceValues()
          Gets an array of reference properties values.
 void setOperators(int[] operators)
          Sets the array of logical operators.
 void setReferenceProperties(java.lang.String[] referenceProperties)
          Sets an array of reference properties names.
 void setReferenceValues(java.lang.String[] referenceValues)
          Sets an array of reference properties values
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComparisonOperateCondition

public ComparisonOperateCondition(int queryType)
Constructs LogicalOperateCondition instance.

Parameters:
queryType - the specified query type.
See Also:
TWaverGisConst.COMPARISON_QUERY_BY_FID, twaver.gis.TWaverGisConst#COMPARISON_QUERY_BY_MULTIOPERATORS, TWaverGisConst.COMPARISON_QUERY_BY_SINGLEOPERATOR
Method Detail

getFilterOGC

public java.lang.String getFilterOGC()

getOperateOperators

public int[] getOperateOperators()
Gets an array of logical operators.

Returns:
an array of logical operators

getQueryType

public int getQueryType()
Gets the query type.

Returns:
the query type

getReferenceProperties

public java.lang.String[] getReferenceProperties()
Gets the reference properties.

Returns:
the names of the reference properties.

getReferenceValues

public java.lang.String[] getReferenceValues()
Gets an array of reference properties values.

Returns:
a array of reference property values

setOperators

public void setOperators(int[] operators)
Sets the array of logical operators.

Parameters:
operators - the array of logical operators.
See Also:
TWaverGisConst.COMPARISON_OPERATOR_EQUAL, TWaverGisConst.COMPARISON_OPERATOR_GREATER, TWaverGisConst.COMPARISON_OPERATOR_GREATEROREQUAL, TWaverGisConst.COMPARISON_OPERATOR_LESS, TWaverGisConst.COMPARISON_OPERATOR_LESSOREQUAL, TWaverGisConst.COMPARISON_OPERATOR_LESSOREQUAL

setReferenceProperties

public void setReferenceProperties(java.lang.String[] referenceProperties)
Sets an array of reference properties names.

Parameters:
referenceProperties - the array of reference properties names

setReferenceValues

public void setReferenceValues(java.lang.String[] referenceValues)
Sets an array of reference properties values

Parameters:
referenceValues - the array of reference properties values