Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
PROPERTIES Parameter
Enterprise Architect supports a technique called Selective Properties, through which clients can retrieve selected OSLC properties of a Requirement. This technique accepts a partial representation of the OSLC properties; that is, all properties or only some of them. The base URI for accessing Selective Properties of a Requirement in Enterprise Architect is:
http://<server>/<model_name>/oslc/re/<requirement_GUID>/
The syntax for the oslc.properties Query parameter (defined in BNF grammar and as specified in the OSLC Core Specification) is:
Examples
These example queries act on a Requirement with the GUID {7104C13D-841C-4068-B7EE-FB998C5BA4B7} in a model called firebird_model connected by the Cloud.
Example |
Query |
---|---|
1 |
Query: http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.properties=* Retrieves all the OSLC properties of the specified Requirement. |
2 |
Query: http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.properties=dcterms:title,dcterms:creator{foaf:name} Retrieves the OSLC properties 'title' and 'creator' of the specified Requirement. |
3 |
Query: http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.properties=dcterms:title,dcterms:creator{} Returns an error response as the property 'creator' is incomplete; it should be: dcterms:creator{foaf:name} |
Notes
Learn more