ETSI's Bug Tracker - Part-1 Metamodel
View Issue Details
0007369Part-1 Metamodel[TDL] Technicalpublic04-02-2016 08:4115-02-2016 12:21
Philip Makedonski 
Philip Makedonski 
normalminorhave not tried
resolvedfixed 
[TDL] Part-1 V1.2.1 
[TDL] Part-1 V1.3.1[TDL] Part-1 V1.3.1 
0007369: Refine the definition of qualified name
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'.
No tags attached.
Issue History
04-02-2016 08:41Philip MakedonskiNew Issue
04-02-2016 08:41Philip MakedonskiStatusnew => assigned
04-02-2016 08:41Philip MakedonskiAssigned To => Philip Makedonski
15-02-2016 12:21Philip MakedonskiNote Added: 0013825
15-02-2016 12:21Philip MakedonskiStatusassigned => resolved
15-02-2016 12:21Philip MakedonskiFixed in Version => [TDL] Part-1 V1.3.1
15-02-2016 12:21Philip MakedonskiResolutionopen => fixed

Notes
(0013825)
Philip Makedonski   
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'.