Pré. | Proc. |
Query Capability
Clients can query a model and retrieve the Requirements that match a specific criteria. In Enterprise Architect, the base URL for accessing the Query Capability is:
http://<server>/<model_name>/oslc/qc/
A query string expressing the specific criteria should be added to the base URL and addressed to the model using an HTTP GET request. The response for this request will be in RDF/XML format. For example, all the Requirements in a model called firebird_model connected by the Cloud can be retrieved using the URL:
http://localhost:480/firebird_model/oslc/qc/
The response for the request will resemble this:
Elements of the response
In Enterprise Architect, the Query Capability supports these parameters:
- oslc.where
- oslc.select
- oslc.properties
- oslc.prefix
Element |
Description |
See also |
---|---|---|
oslc_rm:Requirement |
A Requirement and its properties (as defined in the Resource Shape). The attribute rdf:about on this element specifies the URL for accessing the Requirement. The format for the URL is: http://<server>/<model_name>/oslc/re/<requirement_GUID>/ |
|
Elements with namespace prefix dcterms |
The standard properties from the Dublin Core Metadata Element Set. |
|
Elements with namespace prefix ss |
The custom Enterprise Architect properties. |
Notes
- This facility is available through the Pro Cloud Server, with a valid license