public class TLcdCSWGetRecordByIdRequest extends TLcdCSWRequestBase implements ILcdOWSRequest
identifier
.version
and an element set name
to specify which properties of the output record to include in the response.TLcdCSWGetRecordsRequest
Modifier and Type | Field and Description |
---|---|
static TLcdDataProperty |
ELEMENT_SET_NAME_PROPERTY
Data property that maps to the
ElementSetName element. |
static TLcdDataProperty |
ID_PROPERTY
Data property that maps to the
Id element. |
static TLcdDataProperty |
OUTPUT_FORMAT_PROPERTY
Data property that maps to the
outputFormat attribute. |
static TLcdDataProperty |
OUTPUT_SCHEMA_PROPERTY
Data property that maps to the
outputSchema attribute. |
SERVICE_PROPERTY, VERSION_PROPERTY
Constructor and Description |
---|
TLcdCSWGetRecordByIdRequest(String aVersion) |
TLcdCSWGetRecordByIdRequest(TLcdDataType aType) |
Modifier and Type | Method and Description |
---|---|
TLcdCSWElementSetName |
getElementSetName()
Returns the value of the property that maps to the
ElementSetName element. |
URI |
getId()
Returns the value of the property that maps to the
Id element. |
Map |
getKVPEncoding()
Returns a key-value pair (KVP) encoding of this request.
|
String |
getOutputFormat()
Returns the value of the property that maps to the
outputFormat attribute. |
URI |
getOutputSchema()
Returns the value of the property that maps to the
outputSchema attribute. |
URI |
getRestEncoding(URI aBaseURI)
Returns a URI that can be used to perform the request.
|
Object |
getTransportData()
Returns an object representing data to be used by the transportation layer (see
ILcdOWSTransport )
to perform this OGC Web Service request. |
InputStream |
getXMLEncoding()
Returns the XML encoding of this request.
|
void |
setElementSetName(TLcdCSWElementSetName aValue)
Sets the value of the property that maps to the
ElementSetName element. |
void |
setId(URI aValue)
Sets the value of the property that maps to the
Id element. |
void |
setOutputFormat(String aValue)
Sets the value of the property that maps to the
outputFormat attribute. |
void |
setOutputSchema(URI aValue)
Sets the value of the property that maps to the
outputSchema attribute. |
getService, getVersion, setService, setVersion
public static final TLcdDataProperty OUTPUT_FORMAT_PROPERTY
outputFormat
attribute.
The possible values for this property are instances of String
.public static final TLcdDataProperty OUTPUT_SCHEMA_PROPERTY
outputSchema
attribute.
The possible values for this property are instances of URI
.public static final TLcdDataProperty ID_PROPERTY
Id
element.
The possible values for this property are instances of URI
.public static final TLcdDataProperty ELEMENT_SET_NAME_PROPERTY
ElementSetName
element.
The possible values for this property are instances of TLcdCSWElementSetName
.public TLcdCSWGetRecordByIdRequest(TLcdDataType aType)
public TLcdCSWGetRecordByIdRequest(String aVersion)
public Map getKVPEncoding()
ILcdOWSRequest
null
should be returned.getKVPEncoding
in interface ILcdOWSRequest
public URI getRestEncoding(URI aBaseURI)
ILcdOWSRequest
If this request cannot be fulfilled through REST, return null
.
getRestEncoding
in interface ILcdOWSRequest
aBaseURI
- the base URI to be used to construct the REST encodingnull
if REST is not supported.public InputStream getXMLEncoding()
ILcdOWSRequest
null
should be returned.getXMLEncoding
in interface ILcdOWSRequest
public Object getTransportData()
ILcdOWSRequest
ILcdOWSTransport
)
to perform this OGC Web Service request. The type of object and the data contained in it depends on
the ILcdOWSTransport
object used to perform this request.
An example in the case of a HTTP transport connection is a map of request properties
(see URLConnection.getRequestProperties()
) to be used
for the request.getTransportData
in interface ILcdOWSRequest
public String getOutputFormat()
outputFormat
attribute.OUTPUT_FORMAT_PROPERTY
property.public void setOutputFormat(String aValue)
outputFormat
attribute.aValue
- the value to set for the OUTPUT_FORMAT_PROPERTY
property.public URI getOutputSchema()
outputSchema
attribute.OUTPUT_SCHEMA_PROPERTY
property.public void setOutputSchema(URI aValue)
outputSchema
attribute.aValue
- the value to set for the OUTPUT_SCHEMA_PROPERTY
property.public URI getId()
Id
element.ID_PROPERTY
property.public void setId(URI aValue)
Id
element.aValue
- the value to set for the ID_PROPERTY
property.public TLcdCSWElementSetName getElementSetName()
ElementSetName
element.ELEMENT_SET_NAME_PROPERTY
property.public void setElementSetName(TLcdCSWElementSetName aValue)
ElementSetName
element.aValue
- the value to set for the ELEMENT_SET_NAME_PROPERTY
property.