Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Query Capability

Clients can query a model and retrieve the Requirements that match a specific criteria. In Enterprise Architect, the base URI 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 URI 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:

Query-cap

Elements of the response

Element

Description

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.

 

 

In Enterprise Architect, the Query Capability supports these parameters:

oslc.where
oslc.select
oslc.properties
oslc.prefix
 

Learn more

Dublin Core 1.1  (Online Resource)