View Issue Details

IDProjectCategoryView StatusLast Update
000427910000-003: Address SpaceSpecpublic2021-03-05 16:49
ReporterWolfgang Mahnke Assigned ToJeff Harding  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0004279: Clarification on complex typed InstanceDelcarations
Description

InstanceDeclarations can have a complex TypeDefinition with subobjects, variables and methods having different modelling rules.
As an InstanceDeclaration is a specific instance my assumption is that all rules apply and the InstanceDeclaration needs to have all mandatory parts.
Two questions:

  1. If I create a subtype and want to override the InstanceDeclaration (e.g. add a Variable). Does the new InstanceDeclaration need to repeat all mandatory parts again or is it enough that the supertyp already has this information? I would assume the first one but I think it would be good to have a statement in the spec (I actually thought we had but I cannot find this anymore).
  2. If the complex TypeDefinition of the InstanceDeclaration has a Method with the MandatoryPlaceholder ModellingRule. What is the expected behaviour? Part 3 states: "The Method definition with the MandatoryPlaceholder only defines the BrowseName. An instance or subtype defines the InputArguments and OutputArguments." Does that imply that the InstanceDeclaration already has to define the Agruments, since it is an instance? Or is it still allowed to use MandatoryPlaceholder? What about subtyping? If I override the InstanceDeclaration, can the new one still have MandatoryPlaceholder on the Method or not?
TagsNo tags attached.
Attached Files
ExampleSubtyping.vsdx (34,405 bytes)
Commit Version
Fix Due Date

Activities

Jeff Harding

2020-06-15 15:37

developer   ~0012291

If I create a subtype and want to override the InstanceDeclaration (e.g. add a Variable). The new InstanceDeclaration needs to repeat all mandatory parts again.

Agreed to add statements to explain this. Consider adding an example (see Wolfgang's) drawing attached.

Jeff Harding

2020-06-15 17:00

developer   ~0012298

Example from Wolfgang added.

Jeff Harding

2021-03-05 15:16

developer   ~0013996

Last edited: 2021-03-05 16:49

We decided to not include this in 1.05.
Wolfgang will create a proposal for an addition after the RC.

Issue History

Date Modified Username Field Change
2018-05-09 08:53 Wolfgang Mahnke New Issue
2018-05-09 08:54 Wolfgang Mahnke Description Updated
2018-08-14 16:42 Jim Luth Assigned To => Jeff Harding
2018-08-14 16:42 Jim Luth Status new => assigned
2020-06-15 15:37 Jeff Harding Note Added: 0012291
2020-06-15 17:00 Jeff Harding File Added: ExampleSubtyping.vsdx
2020-06-15 17:00 Jeff Harding Note Added: 0012298
2021-03-05 15:16 Jeff Harding Note Added: 0013996
2021-03-05 16:49 Jeff Harding Note Edited: 0013996