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
Modifier and TypeFieldDescriptionstatic final TLcdDataProperty
Data any property.static final TLcdDataProperty
Data property that maps to theDistributedSearch
element.static final TLcdDataProperty
Data property that maps to themaxRecords
attribute.static final TLcdDataProperty
Data property that maps to theoutputFormat
attribute.static final TLcdDataProperty
Data property that maps to theoutputSchema
attribute.static final TLcdDataProperty
Data property that maps to theAbstractQuery
element.static final TLcdDataProperty
Data property that maps to therequestId
attribute.static final TLcdDataProperty
Data property that maps to theResponseHandler
element.static final TLcdDataProperty
Data property that maps to thestartPosition
attribute.Fields inherited from class com.luciad.ogc.csw.model.TLcdCSWRequestBase
SERVICE_PROPERTY, VERSION_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAny()
Returns the value of the any property.Returns the value of the property that maps to theDistributedSearch
element.Returns a key-value pair (KVP) encoding of this request.long
Returns the value of the property that maps to themaxRecords
attribute.Returns the value of the property that maps to theoutputFormat
attribute.Returns the value of the property that maps to theoutputSchema
attribute.getQuery()
Returns the value of the property that maps to theAbstractQuery
element.Returns the value of the property that maps to therequestId
attribute.Returns the value of the property that maps to theResponseHandler
element.getRestEncoding
(URI aBaseURI) Returns a URI that can be used to perform the request.long
Returns the value of the property that maps to thestartPosition
attribute.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.void
Sets the value of the any property.void
Sets the value of the property that maps to theDistributedSearch
element.void
setMaxRecords
(long aValue) Sets the value of the property that maps to themaxRecords
attribute.void
setOutputFormat
(String aValue) Sets the value of the property that maps to theoutputFormat
attribute.void
setOutputSchema
(URI aValue) Sets the value of the property that maps to theoutputSchema
attribute.void
setQuery
(TLcdCSWAbstractQuery aValue) Sets the value of the property that maps to theAbstractQuery
element.void
setRequestId
(URI aValue) Sets the value of the property that maps to therequestId
attribute.void
setStartPosition
(long aValue) Sets the value of the property that maps to thestartPosition
attribute.Methods inherited from class com.luciad.ogc.csw.model.TLcdCSWRequestBase
getService, getVersion, setService, setVersion
-
Field Details
-
MAX_RECORDS_PROPERTY
Data property that maps to themaxRecords
attribute. The possible values for this property are instances oflong
. -
OUTPUT_FORMAT_PROPERTY
Data property that maps to theoutputFormat
attribute. The possible values for this property are instances ofString
. -
OUTPUT_SCHEMA_PROPERTY
Data property that maps to theoutputSchema
attribute. The possible values for this property are instances ofURI
. -
REQUEST_ID_PROPERTY
Data property that maps to therequestId
attribute. The possible values for this property are instances ofURI
. -
START_POSITION_PROPERTY
Data property that maps to thestartPosition
attribute. The possible values for this property are instances oflong
. -
DISTRIBUTED_SEARCH_PROPERTY
Data property that maps to theDistributedSearch
element. The possible values for this property are instances ofTLcdCSWDistributedSearch
. -
RESPONSE_HANDLER_PROPERTY
Data property that maps to theResponseHandler
element. The possible values for this property are instances ofList<URI>
. -
QUERY_PROPERTY
Data property that maps to theAbstractQuery
element. 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:ILcdOWSRequest
Returns 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,null
should be returned.- Specified by:
getKVPEncoding
in interfaceILcdOWSRequest
- Returns:
- the key-value pair (KVP) representation of this request.
-
getRestEncoding
Description copied from interface:ILcdOWSRequest
Returns a URI that can be used to perform the request.If this request cannot be fulfilled through REST, return
null
.- Specified by:
getRestEncoding
in interfaceILcdOWSRequest
- Parameters:
aBaseURI
- the base URI to be used to construct the REST encoding- Returns:
- An URI that can fulfill the request, or
null
if REST is not supported.
-
getXMLEncoding
Description copied from interface:ILcdOWSRequest
Returns the XML encoding of this request. If no XML encoding is supported for this request,null
should be returned.- Specified by:
getXMLEncoding
in interfaceILcdOWSRequest
- Returns:
- the XML representation of this request.
-
getTransportData
Description copied from interface:ILcdOWSRequest
Returns 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 theILcdOWSTransport
object 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:
getTransportData
in 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 themaxRecords
attribute.- Returns:
- the value of the
MAX_RECORDS_PROPERTY
property.
-
setMaxRecords
public void setMaxRecords(long aValue) Sets the value of the property that maps to themaxRecords
attribute.- Parameters:
aValue
- the value to set for theMAX_RECORDS_PROPERTY
property.
-
getOutputFormat
Returns the value of the property that maps to theoutputFormat
attribute.- Returns:
- the value of the
OUTPUT_FORMAT_PROPERTY
property.
-
setOutputFormat
Sets the value of the property that maps to theoutputFormat
attribute.- Parameters:
aValue
- the value to set for theOUTPUT_FORMAT_PROPERTY
property.
-
getOutputSchema
Returns the value of the property that maps to theoutputSchema
attribute.- Returns:
- the value of the
OUTPUT_SCHEMA_PROPERTY
property.
-
setOutputSchema
Sets the value of the property that maps to theoutputSchema
attribute.- Parameters:
aValue
- the value to set for theOUTPUT_SCHEMA_PROPERTY
property.
-
getRequestId
Returns the value of the property that maps to therequestId
attribute.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_PROPERTY
property.
-
setRequestId
Sets the value of the property that maps to therequestId
attribute.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_PROPERTY
property.
-
getStartPosition
public long getStartPosition()Returns the value of the property that maps to thestartPosition
attribute.- Returns:
- the value of the
START_POSITION_PROPERTY
property.
-
setStartPosition
public void setStartPosition(long aValue) Sets the value of the property that maps to thestartPosition
attribute.- Parameters:
aValue
- the value to set for theSTART_POSITION_PROPERTY
property.
-
getDistributedSearch
Returns the value of the property that maps to theDistributedSearch
element.- Returns:
- the value of the
DISTRIBUTED_SEARCH_PROPERTY
property.
-
setDistributedSearch
Sets the value of the property that maps to theDistributedSearch
element.- Parameters:
aValue
- the value to set for theDISTRIBUTED_SEARCH_PROPERTY
property.
-
getResponseHandler
Returns the value of the property that maps to theResponseHandler
element.- Returns:
- the value of the
RESPONSE_HANDLER_PROPERTY
property.
-
getQuery
Returns the value of the property that maps to theAbstractQuery
element.- Returns:
- the value of the
QUERY_PROPERTY
property.
-
setQuery
Sets the value of the property that maps to theAbstractQuery
element.- Parameters:
aValue
- the value to set for theQUERY_PROPERTY
property.
-
getAny
Returns the value of the any property.- Returns:
- the value of the
ANY_PROPERTY
property.
-
setAny
Sets the value of the any property.- Parameters:
aValue
- the value to set for theANY_PROPERTY
property.
-