Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
PREFIX Parameter
Clients can use the oslc.prefix parameter to specify URI prefixes as used in OSLC property names. This parameter is appended to the base URI of the Selective Properties of a requirement:
http://<server>/<model_name>/oslc/re/<requirement_GUID>/
The syntax for the oslc.prefix parameter(defined in BNF grammar and as specified in the OSLC Core Specification) is:
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:
Query |
Response |
---|---|
http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.prefix=otrm=<http://purl.org/dc/terms/\>& oslc.properties=otrm:title |
Retrieves the OSLC property title of the specified Requirement. Note that the prefix for the namespace http://purl.org/dc/terms/ has been specified as otrm in the query.
|
http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.prefix=otrm=<http://purl.org/dc/terms/\>,spx=<http://www.sparxsystems.com.au/\>& oslc.properties=otrm:title,spx:alias |
Retrieves the OSLC properties title and alias of the specified Requirement. Note that the prefix for the namespace http://purl.org/dc/terms/ has been specified as otrm and that of http://www.sparxsystems.com.au/ has been specified as spx in the query.
|
http://localhost:480/firebird_model/oslc/re/{7104C13D-841C-4068-B7EE-FB998C5BA4B7}/?oslc.prefix=otrm=<http://purl.org/dc/terms/\>,spx=<http://www.sparxsystems.com.au/\>& oslc.properties=otrm:title,sx:alias
|
Returns an error response as the namespace prefix sx on the property alias is undefined. |
Learn more
• | OSLC PREFIX (Online Resource) |