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:

SELECT_syntax

 
These example queries act on a model called firebird_model connected by the Cloud:

Query

Response

http://localhost:480/firebird_model/oslc/qc/?oslc.select= dcterms:title

Retrieves the OSLC property title of all the Requirements.

 

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.

 

http://localhost:480/firebird_model/oslc/qc/?oslc.select=*

Retrieves all the OSLC properties of all the Requirements.

 

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.

 

Learn more

OSLC SELECT  (Online Resource)