Instances of Exchange Items

Hi

In fact “value” elements are the right choice to model values in Capella.
It’s analog to “slots” in UML.

Although they are not “user friendly” Capella meta-model for complex values is designed quite well
and can be used as is. Yes there is no needed Capella tools to work with this meta-model: tables, diagrams and so on.

I had an experience in using complex values to specify mappings between different data models in IT integration projects.

For this task a new viepoint with several tools were created by me. It contains the following tools:

  • value mapping diagram
  • value mapping table representation
  • M2Doc templates to generate document’s section based on mapping information

For example you can use value mapping diagram to create new data value based on any class (with any level of composition). Based on class information complex values structures are automatically created. Simple values and value references are shown on diagram as “value ports”
Ports (Value references) can be connected to another ports (values or also value references graphically. Such data mapping is defined.

For simple data values concrete values can be defined from our project.

An example data mapping digram

Based on data value mappings documentation is generated with mapping information in tree view

Viewpoint also adds a new table representation to analyze data mappings trees in Capella

One more quick example

Two class structures are defined
image

Two high level complex values are defined for this class structures
image

Both complex values are shown on diagram. After that using wizards internal complex\simple data values\references are added. Also data mappings are defined.

Result model for complex values:
image

Data mapping table that shows mappings betwee two data structures

Regards,
Dmitry