|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.OGCWebServiceRequest_Impl
org.deegree_impl.services.wcas.protocol.CASGetRecordRequest_Impl
A query request against a catalog service is described using the >GetRecord< element. The getRecord request bases on the request specified at the "OGC Web Services Stateless Catalog Profile" and is enhanced by some parameters defined within the GDI NRW Testbed II.
--------------------------------------------------------------------
Field Summary | |
private Filter |
filter
|
private int |
maxRecords
|
private java.lang.String |
outputFormat
|
private java.lang.String |
outputRecType
|
private java.util.ArrayList |
queries
|
private int |
queryScope
|
private int |
startPosition
|
Fields inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
id, request, service, vendorSpecificParameter, version |
Constructor Summary | |
(package private) |
CASGetRecordRequest_Impl(java.lang.String version,
java.lang.String id,
java.util.HashMap vendorSpecificParameter,
int maxRecords,
int startPosition,
java.lang.String outputFormat,
java.lang.String outputRecType,
CASQuery[] queries,
int queryScope,
Filter filter)
Creates a new CASGetRecordRequest_Impl object. |
Method Summary | |
void |
addQuery(CASQuery query)
|
Filter |
getFilter()
returns a Filter object that is common to all queries definied in a getRecord request |
int |
getMaxRecords()
returns the maximum amount of records that shall be returned as result of a getRecord request. if getMaxRecords returns a value that is larger than the maxRecords defined in the capabilities of the service the last one will be used. |
java.lang.String |
getOutputFormat()
returns the name of the format the result of the request have to be formatted (default = XML) |
java.lang.String |
getOutputRecType()
returns the record type the result shall be formated in. a catalog may offers different metadata formats for different kind of metadata (service- versus data-metadata) or different formats for the same kind of metadata (e.g. different profils on ISO19115). |
CASQuery[] |
getQuery()
returns the query objects of the getRecord request that specifies the query in detail |
int |
getQueryScope()
returns a number that indicates if the request is part of a cascading request |
int |
getStartPosition()
returns the position (e.g. row of a table) where to start the query. |
void |
setFilter(Filter filter)
|
void |
setMaxRecords(int maxRecords)
|
void |
setOutputFormat(java.lang.String outputFormat)
|
void |
setOutputRecType(java.lang.String outputRecType)
|
void |
setQuery(CASQuery[] queries)
|
void |
setQueryScope(int queryScope)
|
void |
setStartPosition(int startPosition)
|
java.lang.String |
toString()
|
Methods inherited from class org.deegree_impl.services.OGCWebServiceRequest_Impl |
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion, putVendorSpecificParameter, setId, setRequest, setService, setVendorSpecificParameter, setVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.services.OGCWebServiceRequest |
getId, getRequest, getRequestParameter, getService, getVendorSpecificParameter, getVendorSpecificParameters, getVersion |
Field Detail |
private java.util.ArrayList queries
private Filter filter
private java.lang.String outputFormat
private java.lang.String outputRecType
private int maxRecords
private int queryScope
private int startPosition
Constructor Detail |
CASGetRecordRequest_Impl(java.lang.String version, java.lang.String id, java.util.HashMap vendorSpecificParameter, int maxRecords, int startPosition, java.lang.String outputFormat, java.lang.String outputRecType, CASQuery[] queries, int queryScope, Filter filter)
version
- id
- vendorSpecificParameter
- maxRecords
- startPosition
- outputFormat
- outputRecType
- queries
- queryScope
- filter
- Method Detail |
public CASQuery[] getQuery()
getQuery
in interface CASGetRecordRequest
public void setQuery(CASQuery[] queries)
getQuery()
public void addQuery(CASQuery query)
getQuery()
public Filter getFilter()
getFilter
in interface CASGetRecordRequest
public void setFilter(Filter filter)
filter
- public int getMaxRecords()
getMaxRecords
in interface CASGetRecordRequest
public void setMaxRecords(int maxRecords)
getMaxRecords()
public int getStartPosition()
getStartPosition
in interface CASGetRecordRequest
public void setStartPosition(int startPosition)
getStartPosition()
public int getQueryScope()
getQueryScope
in interface CASGetRecordRequest
public void setQueryScope(int queryScope)
setQueryScope
in interface CASGetRecordRequest
because the queryScope changes (it is lowered) if the request is forced
to the the next server at the cascade it have to be changable.
public java.lang.String getOutputFormat()
getOutputFormat
in interface CASGetRecordRequest
public void setOutputFormat(java.lang.String outputFormat)
getOutputFormat()
public java.lang.String getOutputRecType()
getOutputRecType
in interface CASGetRecordRequest
public void setOutputRecType(java.lang.String outputRecType)
getOutputRecType()
public java.lang.String toString()
toString
in class OGCWebServiceRequest_Impl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |