View Issue Details

IDProjectCategoryView StatusLast Update
000544010000-100: Device Integration (DI)Specpublic2020-04-07 14:08
Reporterherbertoppmann Assigned ToKarl Deiretsbacher  
PrioritynormalSeveritymajorReproducibilityN/A
Status closedResolutionfixed 
Product Version1.02 
Summary0005440: ConfigurableObjectType - SupportedTypes: Can't add HasModellingRule to Types
Description

Chapter 9.2.1, after Figure 36, says:

In some cases the SupportedTypes folder on the instance may be different to the one on the Type
and may contain only a subset. It may be for example that only one instance of each Type can be
configured. In this case the list of supported Types will shrink with each configured component. If the
list of supported Types is allowed to shrink on an instance, the TypeDefinition shall use an appropriate
ModellingRule like “Optional”.<<
This is not possible. According to Part 3, chapter 7.12, HasModellingRule is only allowed on Object, Variable and Method nodes, but not on Type nodes.

There is a second puzzle regarding this SupportedTypes node. Even if we forget about the HasModellingRule reference on the Type: While it is clear in the instance world what the Organizes reference from the SupportedTypes node to some type node means - what is the meaning for the organizes references of the SupportedTypes node in the type world (like in figure 36)?
What should happen when a tool creates an instance for such a type? The referenced type nodes are not part of the instance declaration and therefore not duplicated in the instance. Should the Organizes references be created? Are they mandatory or can they be deleted afterwards?

TagsNo tags attached.

Activities

Karl Deiretsbacher

2020-03-21 15:13

administrator   ~0011810

Fixed with version 1.02.01 Draft 04.

The statement "If the list of supported Types is allowed to shrink on an instance, the TypeDefinition shall use an appropriate ModellingRule like “Optional” " has been removed.

For the second question: Since there are no Modeling Rules it is not required but recommended to copy such Organizes References to the instance. Tools should allow to add or remove them.

Matthias Damm

2020-04-07 13:40

administrator   ~0011867

Discussed and closed in the DI meeting on April 07, 2020

Issue History

Date Modified Username Field Change
2020-02-10 14:22 herbertoppmann New Issue
2020-03-03 21:40 Karl Deiretsbacher Assigned To => Karl Deiretsbacher
2020-03-03 21:40 Karl Deiretsbacher Status new => assigned
2020-03-21 15:13 Karl Deiretsbacher Status assigned => resolved
2020-03-21 15:13 Karl Deiretsbacher Resolution open => fixed
2020-03-21 15:13 Karl Deiretsbacher Note Added: 0011810
2020-04-07 13:40 Matthias Damm Status resolved => closed
2020-04-07 13:40 Matthias Damm Note Added: 0011867