deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

org.deegree.protocol.wfs.getfeature
Class Query

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

public abstract class Query
extends Object

Represents a Query operation as a part of a GetFeature request.

Version:
$Revision: $, $Date: $
Author:
Markus Schneider, last edited by: $Author: schneider $
See Also:
GetFeature

Constructor Summary
Query(String handle, TypeName[] typeNames, String featureVersion, CRS srsName, SortProperty[] sortBy)
          Creates a new Query instance.
 
Method Summary
 String getFeatureVersion()
          Returns the version of the feature instances to be retrieved.
 String getHandle()
          Returns the client-generated identifier supplied with the query.
 SortProperty[] getSortBy()
          Returns the properties whose values should be used to order the set of feature instances that satisfy the query.
 CRS 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(String handle,
             TypeName[] typeNames,
             String featureVersion,
             CRS srsName,
             SortProperty[] sortBy)
Creates a new Query instance.

Parameters:
handle - client-generated query identifier, may be null
typeNames - requested feature types (with optional aliases), can 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
sortBy - properties whose values should be used to order the set of feature instances that satisfy the query, may be null
Method Detail

getHandle

public String getHandle()
Returns the client-generated identifier supplied with the query.

Returns:
the client-generated identifier, may be null

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 CRS 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

getSortBy

public SortProperty[] getSortBy()
Returns the properties whose values should be used to order the set of feature instances that satisfy the query.

Returns:
sort criteria, may be null

deegree-core-3.0-pre-nightly (2010/03/05 00:01) - official

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

]]>