ETSI's Bug Tracker |
Anonymous | Login | Signup for local Mantis account | 03-05-2024 01:22 IST |
Main | My View | View Issues | Change Log | Roadmap | Monitor project |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007369 | Part-1 Metamodel | [TDL] Technical | public | 04-02-2016 08:41 | 15-02-2016 12:21 | ||||
Reporter | Philip Makedonski | ||||||||
Assigned To | Philip Makedonski | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | [TDL] Part-1 V1.2.1 | ||||||||
Target Version | [TDL] Part-1 V1.3.1 | Fixed in Version | [TDL] Part-1 V1.3.1 | ||||||
Summary | 0007369: Refine the definition of qualified name | ||||||||
Description | The current definition for qualified name under clause 5.2.2 states: The 'qualifiedName' is a compound name derived from the directly and all indirectly enclosing parent 'Package's by concatenating the names of each 'Package'. As a separator between the segments of a 'qualifiedName' the string '::' shall be used. The name of the root 'Package' that (transitively) owns the 'PackageableElement' shall always constitute the first segment of the 'qualifiedName'. There are cases where elements other than a Package should also be used as part of a qualified name, otherwise the distinguishable name constraint would prevent from having e.g. two distinct test configurations having component instances with the same name: Package p { Test Configuration tc1 { create Tester tester of type ct; create SUT sut of type ct; connect sut.g to tester.g; } Test Configuration tc2 { create Tester tester1 of type ct; create Tester tester2 of type ct; create SUT sut of type ct; connect sut.g to tester1.g; connect sut.g to tester2.g; } } In this case the ComponentInstance 'sut' in tc1 will conflict with ComponentInstance 'sut' in tc2, since both of them will have qualified name 'p::sut'. It makes more sense to refine the definition so that 'NamedElement's shall be used instead. The corresponding qualified names for the component instances would then become 'p::tc1::sut' and 'p::tc2::sut', respectively. In addition, the reference to the 'PackageableElement' shall also be replaced by the 'NamedElement'. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0013825) Philip Makedonski (manager) 15-02-2016 12:21 |
As proposed: The 'qualifiedName' is a compound name derived from the directly and all indirectly enclosing parent 'NamedElement's by concatenating the names of each 'NamedElement'. As a separator between the segments of a 'qualifiedName' the string '::' shall be used. The name of the root 'NamedElement' that (transitively) owns the 'NamedElement' shall always constitute the first segment of the 'qualifiedName'. |
Issue History | |||
Date Modified | Username | Field | Change |
04-02-2016 08:41 | Philip Makedonski | New Issue | |
04-02-2016 08:41 | Philip Makedonski | Status | new => assigned |
04-02-2016 08:41 | Philip Makedonski | Assigned To | => Philip Makedonski |
15-02-2016 12:21 | Philip Makedonski | Note Added: 0013825 | |
15-02-2016 12:21 | Philip Makedonski | Status | assigned => resolved |
15-02-2016 12:21 | Philip Makedonski | Fixed in Version | => [TDL] Part-1 V1.3.1 |
15-02-2016 12:21 | Philip Makedonski | Resolution | open => fixed |
MantisBT 1.2.14 [^] Copyright © 2000 - 2024 MantisBT Team |