Pré. | Proc. |
Resource Shape
As an OSLC Provider, Enterprise Architect returns information in RDF/XML format. The OSLC Consumer needs to know the semantics of the information in this XML before it can process the XML. These semantics are explained using the Resource Shape.
The Resource Shape specifies the metadata of a Resource; that is, the set of standard OSLC and custom Enterprise Architect properties that make up the Resource. To create a new Resource via OSLC, Enterprise Architect expects the RDF/XML representation of the Resource in a certain format, the metadata of which is specified by the Resource Shape. Similarly, Resources retrieved from Enterprise Architect's OSLC interface will be in RDF/XML format, and the metadata for the contents of this format is also specified by the Resource Shape. You can think of the Resource Shape as a DTD or XSD for the RDF/XML response from Enterprise Architect.
The base URL for the Resource Shape is :
<protocol>://<server>/<model_name>/oslc/am/rs/
A string expressing the specific Resource or Resource Feature should be added to the base URI and addressed to the model using an HTTP GET request. The response for this request will be the metadata in RDF/XML format.
Resource Shape for Resource/Resource Features Retrieved from the OSLC Interface
Resource/Feature |
Resource Shape URL |
See also |
---|---|---|
Resource |
<protocol>://<server>/<model_name>/oslc/am/rs/resource/ |
UML Elements UML Diagrams Model Packages |
Resource Features |
<protocol>://<server>/<model_name>/oslc/am/rs/resourcefeatures/ |
Properties Dialog |
Stereotype Name |
<protocol>://<server>/<model_name>/oslc/am/rs/stereotypename/ |
UML Stereotypes |
Run State |
<protocol>://<server>/<model_name>/oslc/am/rs/runstate/ |
Run-time State |
Attribute |
<protocol>://<server>/<model_name>/oslc/am/rs/attribute/ |
Attributes |
Operation |
<protocol>://<server>/<model_name>/oslc/am/rs/operation/ |
Operations |
Operation Parameter |
<protocol>://<server>/<model_name>/oslc/am/rs/operationparameter/ |
Define Parameters |
Requirement |
<protocol>://<server>/<model_name>/oslc/am/rs/requirement/ |
Requirements |
Constraint |
<protocol>://<server>/<model_name>/oslc/am/rs/constraint/ |
Constraints |
Scenario |
<protocol>://<server>/<model_name>/oslc/am/rs/scenario/ |
Scenarios |
File |
<protocol>://<server>/<model_name>/oslc/am/rs/file/ |
Associated Files |
Tagged Value |
<protocol>://<server>/<model_name>/oslc/am/rs/taggedvalue/ |
Tagged Values |
Test |
<protocol>://<server>/<model_name>/oslc/am/rs/test/ |
Create Test Records |
Resource Allocation |
<protocol>://<server>/<model_name>/oslc/am/rs/resourceallocation/ |
Resource Allocation |
Maintenance Items |
|
Create Maintenance Items |
Project Management Items |
|
Risk Management Metrics Effort Management |
Discussion/Reply |
|
Model Discussions |
Diagram Image |
<protocol>://<server>/<model_name>/oslc/am/rs/diagramimage/ |
UML Diagrams |
Connector |
<protocol>://<server>/<model_name>/oslc/am/rs/linktype/ |
UML Connectors |
Resource Shape for Resource/Resource Features that can be Created using the OSLC Interface
Resource/Resource Feature |
Resource Shape URL |
See also |
---|---|---|
Resource |
|
UML Elements Modeling Domains Model Packages |
Stereotype Name |
<protocol>://<server>/<model_name>/oslc/am/rs/cfstereotypename/ |
UML Stereotypes |
Attribute |
<protocol>://<server>/<model_name>/oslc/am/rs/cfattribute/ |
Attributes |
Operation |
<protocol>://<server>/<model_name>/oslc/am/rs/cfoperation/ |
Operations |
Operation Parameter |
<protocol>://<server>/<model_name>/oslc/am/rs/cfoperationparameter/ |
Define Parameters |
Connector |
|
Modeling Domains UML Connectors |
Tagged Value |
<protocol>://<server>/<model_name>/oslc/am/rs/cftaggedvalue/ |
Tagged Values |
Test |
<protocol>://<server>/<model_name>/oslc/am/rs/cftest/ |
Create Test Records |
Resource Allocation |
<protocol>://<server>/<model_name>/oslc/am/rs/cfresourceallocation/ |
Resource Allocation |
Maintenance Items |
|
Create Maintenance Items |
Project Management Items |
|
Risk Management Metrics Effort Management |
Discussion/Reply |
|
Model Discussions |
Notes
- This facility is available through the Pro Cloud Server, with a valid license
Learn more
- Resource Shape (Online Resource)
- Common Resource Shape Properties (Online Resource)