This wiki is locked. Future workgroup activity and specification development must take place at our new wiki. For more information, see this blog post about the new governance model and this post about changes to the website.

Architecture Management: Diagram Resource

Most of the architectural resources that we use in our scenarios either are or can be represented in diagrams. A diagram being a visual (as opposed to textual) representation of one or more artifacts of the software development lifecycle process. Diagrams are a way to view potentially complex information in a more consumable form. UML is prehaps the most recognized example of a visual notation for software concepts. UML also has underneath it a complex and comprehensive model of the things in its diagrams, and indeed most of the specification is about this underlying model, rather than the visual notation.

Diagrams are common place in the set of architectural artifacts, and deserve special consideration.

We propose here to define a Diagram resource type that clients can use to 1) recognize that the resource they are working with can be requested in a visual form (i.e. image/png) and 2) identify which resources appear in the diagram.

Usage Scenarios

Resource: Diagram

A Diagram is a visual representation of a resource. It often includes references/representations of other AM Resourcess.

  • Name: Diagram
  • Type URI http://open-services.net/ns/am#Diagram

Prefixed Name Occurs Read-only Value-type Represen-tation Range Description
dcterms:title exactly-one unspecified XMLLiteral n/a n/a Name of diagram
dcterms:description zero-or-one unspecified XMLLiteral n/a n/a A short description of the diagram.
oslc_am:children zero-or-many true Either Resource or Local Resource Either Reference or Inline oslc_am:DiagramView An element or part in the diagram. May represent another resource internal or external (another resource managed by another server). May just represent some component of the diagram (i.e. legend, boundary, etc.)
oslc_am:layers zero-or-many true Either Resource or Local Resource Either Reference or Inline oslc_am:DiagramLayer A layer in the diagram.

Resource: Diagram Layer

A Diagram Layer is a subset of the visual elements in a diagram. This subset is named, and the elements of this set are typically related in some way (ie. same level of abstraction or purpose). The children property is also used in a single layered diagram. However a diagram is not required to have any layers.

  • Name: DiagramLayer
  • Type URI http://open-services.net/ns/am#DiagramLayer

Prefixed Name Occurs Read-only Value-type Represen-tation Range Description
dcterms:title exactly-one unspecified XMLLiteral n/a n/a A label that identifies the layer.
dcterms:description zero-or-one unspecified XMLLiteral n/a n/a A description about the layer, for example its level of abstraction or purpose.
oslc_am:children zero-or-many true Either Resource or Local Resource Either Reference or Inline oslc_am:DiagramView An element or part in the diagram. May represent another resource internal or external (another resource managed by another server). May just represent some component of the diagram (i.e. legend, boundary, etc.)
dcterms:identifier exactly-one true String n/a n/a An identifier that can be used by a client to specify a specific layer to be rendered when requesting a diagram with an image type.

Resource: Diagram View

A Diagram View is a visual element in a diagram. It may represent another resource, or it could be just an element in the diagram like a legend, or logo image.

  • Name: DiagramView
  • Type URI http://open-services.net/ns/am#DiagramView

Prefixed Name Occurs Read-only Value-type Represen-tation Range Description
dcterms:title exactly-one unspecified XMLLiteral n/a n/a A label that identifies the view, or what the view represents.
dcterms:description zero-or-one unspecified XMLLiteral n/a n/a A description about the element in the diagram.
oslc_am:represents zero-or-one true Resource Reference any  
oslc_am:position zero-or-one true Local Resource Inline    

-- JimConallen - 24 May 2012

Edit | Attach | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r3 - 19 Jul 2012 - 14:39:45 - JimConallen
 
This site is powered by the TWiki collaboration platform Copyright � by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our Terms of Use
Ideas, requests, problems regarding this site? Send feedback