预订演示
前页 后页

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

  • Change
         <protocol>://<server>/<model_name>/oslc/am/rs/change/
  • Defect
         <protocol>://<server>/<model_name>/oslc/am/rs/defect/
  • Issue
         <protocol>://<server>/<model_name>/oslc/am/rs/issue/
  • Task
         <protocol>://<server>/<model_name>/oslc/am/rs/task/
  • Document
         <protocol>://<server>/<model_name>/oslc/am/rs/document/
  • Feature
         <protocol>://<server>/<model_name>/oslc/am/rs/mfeature/
Create Maintenance Items

Project Management Items

  • Effort
         <protocol>://<server>/<model_name>/oslc/am/rs/effort/
  • Event
         <protocol>://<server>/<model_name>/oslc/am/rs/event/
  • Decision
         <protocol>://<server>/<model_name>/oslc/am/rs/decision/
  • Risk
         <protocol>://<server>/<model_name>/oslc/am/rs/risk/
  • Metric
         <protocol>://<server>/<model_name>/oslc/am/rs/metric/
Risk Management Metrics Effort Management

Discussion/Reply

  • Discussion
         <protocol>://<server>/<model_name>/oslc/am/rs/discussion/
  • Reply
         <protocol>://<server>/<model_name>/oslc/am/rs/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

  • Packages and UML Elements
         <protocol>://<server>/<model>/oslc/am/rs/cfresource/
  • Profile Elements
         <protocol>://<server>/<model>/oslc/am/rs/cfprofileresource/
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

  • UML Connectors
         <protocol>://<server>/<model_name>/oslc/am/rs/cflinktype/
  • Profile Connectors
         <protocol>://<server>/<model_name>/oslc/am/rs/cfprofilelinktype/
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

  • Change
         <protocol>://<server>/<model_name>/oslc/am/rs/cfchange/
  • Defect
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdefect/
  • Issue
          <protocol>://<server>/<model_name>/oslc/am/rs/cfissue/
  • Task
          <protocol>://<server>/<model_name>/oslc/am/rs/cftask/
  • Document
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdocument/
  • Feature
         <protocol>://<server>/<model_name>/oslc/am/rs/cfmfeature/
Create Maintenance Items

Project Management Items

  • Effort
         <protocol>://<server>/<model_name>/oslc/am/rs/cfeffort/
  • Event
         <protocol>://<server>/<model_name>/oslc/am/rs/cfevent/
  • Decision
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdecision/
  • Risk
         <protocol>://<server>/<model_name>/oslc/am/rs/cfrisk/
  • Metric
         <protocol>://<server>/<model_name>/oslc/am/rs/cfmetric/
Risk Management Metrics Effort Management

Discussion/Reply

  • Discussion
         <protocol>://<server>/<model_name>/oslc/am/rs/cfdiscussion/
  • Reply
         <protocol>://<server>/<model_name>/oslc/am/rs/cfreply/
Model Discussions

Notes

  • This facility is available through the Pro Cloud Server, with a valid license

Learn more