INSPIRE-MIF / 2017.2

Repository for action 2017.2 on alternative encodings
6 stars 11 forks source link

NL - SRule: Association 2 Attribute #47

Closed PalmJanssen closed 5 years ago

PalmJanssen commented 5 years ago

Simplification Model Transformation Rule

This rule issue is to be referenced from the best practive paper.

Use the sections below to specify the Model Transformation rule.

Name of the Rule

Association to attribute

Category

Add the category into one of the following categoies:

Description

Associations can be implemented as references or be embedded. The latter provides a nested structure. By replacing associations with attributes with a specific attributevalue the association functionality is equally realised.

UML Model

image

Transformes to:

image

Example instance in default encoding:

Provide an example in the default encoding.

Example instance in simplified encoding:

Provide an example feature that is based on the transformed model.

Model transformation rule:

Describe the actual model transformation rule, either in free text or in an algorithmic form.

Instance transformation rule:

Describe how data in a property needs to be transformed, if necessary. As an example, there are rules which concatenate values (e.g. in the GeoSciML Lite approach).

Solves usability issues:

Describe as concrete as possible, ideally using the test classes described in [CanIUse](), which issues in which software this approach addresses and solves.

Known usability issues:

Describe whether this transformation leaves problems unsolved, or introduces new issues.

Reversibility:

entirely reversible.