org.deegree.protocol.wfs.query
Class AdHocQuery

java.lang.Object
  extended by org.deegree.protocol.wfs.query.Query
      extended by org.deegree.protocol.wfs.query.AdHocQuery
Direct Known Subclasses:
BBoxQuery, FeatureIdQuery, FilterQuery

public abstract class AdHocQuery
extends Query

A self-contained Query.

Version:
$Revision: 31838 $, $Date: 2011-09-09 21:56:14 +0200 (Fri, 09 Sep 2011) $
Author:
Markus Schneider, last edited by: $Author: mschneider $

Constructor Summary
AdHocQuery(String handle, TypeName[] typeNames, String featureVersion, ICRS srsName, ProjectionClause[] projectionClauses, SortProperty[] sortBy)
          Creates a new AdHocQuery instance.
 
Method Summary
 String getFeatureVersion()
          Returns the version of the feature instances to be retrieved.
 ProjectionClause[] getProjectionClauses()
          Returns the properties of the features that should be retrieved.
 SortProperty[] getSortBy()
          Returns the properties whose values should be used to order the result set.
 ICRS getSrsName()
          Returns the SRS that should be used for returned feature geometries.
 TypeName[] getTypeNames()
          Returns the requested feature types (with optional aliases).
 
Methods inherited from class org.deegree.protocol.wfs.query.Query
getHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdHocQuery

public AdHocQuery(String handle,
                  TypeName[] typeNames,
                  String featureVersion,
                  ICRS srsName,
                  ProjectionClause[] projectionClauses,
                  SortProperty[] sortBy)
Creates a new AdHocQuery instance.

Parameters:
handle - client-generated query identifier, may be null
typeNames - requested feature types (with optional aliases), may be null
featureVersion - version of the feature instances to be retrieved, may be null
srsName - WFS-supported SRS that should be used for returned feature geometries, may be null
projectionClauses - limits the properties of the features that should be retrieved, may be null
sortBy - properties whose values should be used to order the result set may be null
Method Detail

getTypeNames

public TypeName[] getTypeNames()
Returns the requested feature types (with optional aliases).

Returns:
the requested feature types, never null and contains always one entry

getFeatureVersion

public String getFeatureVersion()
Returns the version of the feature instances to be retrieved.

Returns:
the version of the feature instances to be retrieved, may be null

getSrsName

public ICRS getSrsName()
Returns the SRS that should be used for returned feature geometries.

Returns:
the SRS that should be used for returned feature geometries, may be null

getProjectionClauses

public ProjectionClause[] getProjectionClauses()
Returns the properties of the features that should be retrieved.

Returns:
the properties of the features that should be retrieved, may be empty, but never null

getSortBy

public SortProperty[] getSortBy()
Returns the properties whose values should be used to order the result set.

Returns:
sort criteria, may be empty, but never null


Copyright © 2011. All Rights Reserved.