前页 | 后页 |
SELECT Parameter
The oslc.select Query parameter specifies the Requirement properties to be retrieved; it is similar to the SELECT clause of an SQL statement. This parameter must be appended to the base URI of the Query Capability in Enterprise Architect:http://<server>/<model_name>/oslc/qc/
The syntax for the oslc.select Query parameter (defined in BNF grammar and as specified in the OSLC Query Syntax Specification) is:
Examples
These example queries act on a model called firebird_model connected by the Cloud.Example |
Query |
See also |
---|---|---|
1 |
Query: http://localhost:480/firebird_model/oslc/qc/?oslc.select= dcterms:title Retrieves the OSLC property 'title' of all the Requirements in the model. |
|
2 |
Query: http://localhost:480/firebird_model/oslc/qc/?oslc.select=dcterms:title,dcterms:created,dcterms:creator{foaf:name},ss:version Retrieves the OSLC properties 'title', 'creator' and 'version' of all the Requirements in the model. |
|
3 |
Query: http://localhost:480/firebird_model/oslc/qc/?oslc.select=* Retrieves all the OSLC properties of all the Requirements in the model. |
|
4 |
Query: http://localhost:480/firebird_model/oslc/qc/?oslc.select=dcterms:name Returns an error response, as 'name' is not a valid property in Enterprise Architect. |
Notes
- This facility is available through the Pro Cloud Server, with a valid license
Learn more
- OSLC SELECT (Online Resource)
- Resource Shape
- Query Capability