org.deegree.protocol.wfs.query
Class FeatureIdQuery

java.lang.Object
  extended by org.deegree.protocol.wfs.query.Query
      extended by org.deegree.protocol.wfs.query.AdHocQuery
          extended by org.deegree.protocol.wfs.query.FeatureIdQuery

public class FeatureIdQuery
extends AdHocQuery

An AdHocQuery that selects features by id.

NOTE: Only KVP-based queries can be of this type. For XML-requests its only possible to use a filter constraint.

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

Constructor Summary
FeatureIdQuery(String handle, TypeName[] typeNames, String featureVersion, ICRS srsName, ProjectionClause[] projectionClauses, SortProperty[] sortBy, String[] featureIds)
          Creates a new FeatureIdQuery instance.
 
Method Summary
 String[] getFeatureIds()
          Returns the requested feature ids.
 
Methods inherited from class org.deegree.protocol.wfs.query.AdHocQuery
getFeatureVersion, getProjectionClauses, getSortBy, getSrsName, getTypeNames
 
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

FeatureIdQuery

public FeatureIdQuery(String handle,
                      TypeName[] typeNames,
                      String featureVersion,
                      ICRS srsName,
                      ProjectionClause[] projectionClauses,
                      SortProperty[] sortBy,
                      String[] featureIds)
Creates a new FeatureIdQuery 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 set of feature instances that satisfy the query, may be null
featureIds - requested feature id, must not be null
Method Detail

getFeatureIds

public String[] getFeatureIds()
Returns the requested feature ids.

Returns:
the requested feature ids, never null


Copyright © 2011. All Rights Reserved.