Package com.luciad.ogc.csw.model
Class TLcdCSWGetRecordsRequest
java.lang.Object
com.luciad.datamodel.TLcdDataObject
com.luciad.ogc.csw.model.TLcdCSWRequestBase
com.luciad.ogc.csw.model.TLcdCSWGetRecordsRequest
- All Implemented Interfaces:
ILcdDataObject,ILcdOWSRequest,ILcdCloneable,ILcdDeepCloneable,Cloneable
The principal means of searching the catalogue.
A valid request should have a
version and query object.- Since:
- 2017.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TLcdDataPropertyData any property.static final TLcdDataPropertyData property that maps to theDistributedSearchelement.static final TLcdDataPropertyData property that maps to themaxRecordsattribute.static final TLcdDataPropertyData property that maps to theoutputFormatattribute.static final TLcdDataPropertyData property that maps to theoutputSchemaattribute.static final TLcdDataPropertyData property that maps to theAbstractQueryelement.static final TLcdDataPropertyData property that maps to therequestIdattribute.static final TLcdDataPropertyData property that maps to theResponseHandlerelement.static final TLcdDataPropertyData property that maps to thestartPositionattribute.Fields inherited from class com.luciad.ogc.csw.model.TLcdCSWRequestBase
SERVICE_PROPERTY, VERSION_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAny()Returns the value of the any property.Returns the value of the property that maps to theDistributedSearchelement.Returns a key-value pair (KVP) encoding of this request.longReturns the value of the property that maps to themaxRecordsattribute.Returns the value of the property that maps to theoutputFormatattribute.Returns the value of the property that maps to theoutputSchemaattribute.getQuery()Returns the value of the property that maps to theAbstractQueryelement.Returns the value of the property that maps to therequestIdattribute.Returns the value of the property that maps to theResponseHandlerelement.getRestEncoding(URI aBaseURI) Returns a URI that can be used to perform the request.longReturns the value of the property that maps to thestartPositionattribute.Returns an object representing data to be used by the transportation layer (seeILcdOWSTransport) to perform this OGC Web Service request.Returns the XML encoding of this request.voidSets the value of the any property.voidSets the value of the property that maps to theDistributedSearchelement.voidsetMaxRecords(long aValue) Sets the value of the property that maps to themaxRecordsattribute.voidsetOutputFormat(String aValue) Sets the value of the property that maps to theoutputFormatattribute.voidsetOutputSchema(URI aValue) Sets the value of the property that maps to theoutputSchemaattribute.voidsetQuery(TLcdCSWAbstractQuery aValue) Sets the value of the property that maps to theAbstractQueryelement.voidsetRequestId(URI aValue) Sets the value of the property that maps to therequestIdattribute.voidsetStartPosition(long aValue) Sets the value of the property that maps to thestartPositionattribute.Methods inherited from class com.luciad.ogc.csw.model.TLcdCSWRequestBase
getService, getVersion, setService, setVersion
-
Field Details
-
MAX_RECORDS_PROPERTY
Data property that maps to themaxRecordsattribute. The possible values for this property are instances oflong. -
OUTPUT_FORMAT_PROPERTY
Data property that maps to theoutputFormatattribute. The possible values for this property are instances ofString. -
OUTPUT_SCHEMA_PROPERTY
Data property that maps to theoutputSchemaattribute. The possible values for this property are instances ofURI. -
REQUEST_ID_PROPERTY
Data property that maps to therequestIdattribute. The possible values for this property are instances ofURI. -
START_POSITION_PROPERTY
Data property that maps to thestartPositionattribute. The possible values for this property are instances oflong. -
DISTRIBUTED_SEARCH_PROPERTY
Data property that maps to theDistributedSearchelement. The possible values for this property are instances ofTLcdCSWDistributedSearch. -
RESPONSE_HANDLER_PROPERTY
Data property that maps to theResponseHandlerelement. The possible values for this property are instances ofList<URI>. -
QUERY_PROPERTY
Data property that maps to theAbstractQueryelement. The possible values for this property are instances ofTLcdCSWAbstractQuery. -
ANY_PROPERTY
Data any property. The possible values for this property are instances ofObject.
-
-
Constructor Details
-
TLcdCSWGetRecordsRequest
-
TLcdCSWGetRecordsRequest
-
-
Method Details
-
getKVPEncoding
Description copied from interface:ILcdOWSRequestReturns a key-value pair (KVP) encoding of this request. If no key-value pairs are defined, an empty map should be returned. If no key-value pair encoding is supported for this request,nullshould be returned.- Specified by:
getKVPEncodingin interfaceILcdOWSRequest- Returns:
- the key-value pair (KVP) representation of this request.
-
getRestEncoding
Description copied from interface:ILcdOWSRequestReturns a URI that can be used to perform the request.If this request cannot be fulfilled through REST, return
null.- Specified by:
getRestEncodingin interfaceILcdOWSRequest- Parameters:
aBaseURI- the base URI to be used to construct the REST encoding- Returns:
- An URI that can fulfill the request, or
nullif REST is not supported.
-
getXMLEncoding
Description copied from interface:ILcdOWSRequestReturns the XML encoding of this request. If no XML encoding is supported for this request,nullshould be returned.- Specified by:
getXMLEncodingin interfaceILcdOWSRequest- Returns:
- the XML representation of this request.
-
getTransportData
Description copied from interface:ILcdOWSRequestReturns an object representing data to be used by the transportation layer (seeILcdOWSTransport) to perform this OGC Web Service request. The type of object and the data contained in it depends on theILcdOWSTransportobject used to perform this request. An example in the case of a HTTP transport connection is a map of request properties (seeURLConnection.getRequestProperties()) to be used for the request.- Specified by:
getTransportDatain interfaceILcdOWSRequest- Returns:
- an object representing data to be used by the transportation layer to perform this OGC Web Service request.
-
getMaxRecords
public long getMaxRecords()Returns the value of the property that maps to themaxRecordsattribute.- Returns:
- the value of the
MAX_RECORDS_PROPERTYproperty.
-
setMaxRecords
public void setMaxRecords(long aValue) Sets the value of the property that maps to themaxRecordsattribute.- Parameters:
aValue- the value to set for theMAX_RECORDS_PROPERTYproperty.
-
getOutputFormat
Returns the value of the property that maps to theoutputFormatattribute.- Returns:
- the value of the
OUTPUT_FORMAT_PROPERTYproperty.
-
setOutputFormat
Sets the value of the property that maps to theoutputFormatattribute.- Parameters:
aValue- the value to set for theOUTPUT_FORMAT_PROPERTYproperty.
-
getOutputSchema
Returns the value of the property that maps to theoutputSchemaattribute.- Returns:
- the value of the
OUTPUT_SCHEMA_PROPERTYproperty.
-
setOutputSchema
Sets the value of the property that maps to theoutputSchemaattribute.- Parameters:
aValue- the value to set for theOUTPUT_SCHEMA_PROPERTYproperty.
-
getRequestId
Returns the value of the property that maps to therequestIdattribute.requestId becomes mandatory in the case of a distributed search. Must be a unique Id (i.e. a UUID).
- Returns:
- the value of the
REQUEST_ID_PROPERTYproperty.
-
setRequestId
Sets the value of the property that maps to therequestIdattribute.requestId becomes mandatory in the case of a distributed search. Must be a unique Id (i.e. a UUID).
- Parameters:
aValue- the value to set for theREQUEST_ID_PROPERTYproperty.
-
getStartPosition
public long getStartPosition()Returns the value of the property that maps to thestartPositionattribute.- Returns:
- the value of the
START_POSITION_PROPERTYproperty.
-
setStartPosition
public void setStartPosition(long aValue) Sets the value of the property that maps to thestartPositionattribute.- Parameters:
aValue- the value to set for theSTART_POSITION_PROPERTYproperty.
-
getDistributedSearch
Returns the value of the property that maps to theDistributedSearchelement.- Returns:
- the value of the
DISTRIBUTED_SEARCH_PROPERTYproperty.
-
setDistributedSearch
Sets the value of the property that maps to theDistributedSearchelement.- Parameters:
aValue- the value to set for theDISTRIBUTED_SEARCH_PROPERTYproperty.
-
getResponseHandler
Returns the value of the property that maps to theResponseHandlerelement.- Returns:
- the value of the
RESPONSE_HANDLER_PROPERTYproperty.
-
getQuery
Returns the value of the property that maps to theAbstractQueryelement.- Returns:
- the value of the
QUERY_PROPERTYproperty.
-
setQuery
Sets the value of the property that maps to theAbstractQueryelement.- Parameters:
aValue- the value to set for theQUERY_PROPERTYproperty.
-
getAny
Returns the value of the any property.- Returns:
- the value of the
ANY_PROPERTYproperty.
-
setAny
Sets the value of the any property.- Parameters:
aValue- the value to set for theANY_PROPERTYproperty.
-