Logo etsi

ETSI's Bug Tracker

Notice: information submitted on the ETSI issue Tracker may be incorporated in ETSI publication(s) and therefore subject to the ETSI IPR policy.

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007369Part-1 Metamodel[TDL] Technicalpublic04-02-2016 08:4115-02-2016 12:21
ReporterPhilip Makedonski 
Assigned ToPhilip Makedonski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version[TDL] Part-1 V1.2.1 
Target Version[TDL] Part-1 V1.3.1Fixed in Version[TDL] Part-1 V1.3.1 
Summary0007369: Refine the definition of qualified name
DescriptionThe 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'.
TagsNo tags attached.
Attached Files

- Relationships

-  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
Powered by Mantis Bugtracker