org.deegree.metadata.persistence
Class MetadataQuery

java.lang.Object
  extended by org.deegree.metadata.persistence.MetadataQuery

public class MetadataQuery
extends java.lang.Object

This class holds all the necessary information that is needed for the database request.
The request itself is encapsulated in the expressionWriter.

Version:
$Revision: 27201 $, $Date: 2010-10-07 14:44:46 +0200 (Do, 07. Okt 2010) $
Author:
Steffen Thomas, last edited by: $Author: sthomas $

Constructor Summary
MetadataQuery(Filter filter, SortProperty[] sorting, CSWConstants.ResultType resultType, int maxRecords, int startPosition)
          Creates a new MetadataQuery instance with all attributes that can be declared.
 
Method Summary
 Filter getFilter()
           
 int getMaxRecords()
           
 CSWConstants.ResultType getResultType()
           
 SortProperty[] getSorting()
           
 int getStartPosition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataQuery

public MetadataQuery(Filter filter,
                     SortProperty[] sorting,
                     CSWConstants.ResultType resultType,
                     int maxRecords,
                     int startPosition)
Creates a new MetadataQuery instance with all attributes that can be declared.

Parameters:
filter - the parsed filter expression
resultType - CSWConstants.ResultType
maxRecords - the maximum number of records that shall be presented in the response
startPosition - at which record position should start the response}
Method Detail

getFilter

public Filter getFilter()
Returns:
the filter

getResultType

public CSWConstants.ResultType getResultType()
Returns:
the resultType

getMaxRecords

public int getMaxRecords()
Returns:
the maxRecords

getStartPosition

public int getStartPosition()
Returns:
the startPosition

getSorting

public SortProperty[] getSorting()


Copyright © 2011. All Rights Reserved.