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
0006769Part-1 Metamodel[TDL] New Featurepublic10-06-2014 16:1916-07-2015 16:04
ReporterMartti Käärik 
Assigned ToAndreas Ulrich 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version[TDL] Part-1 V1.1.1 
Target Version[TDL] Part-1 V1.2.1Fixed in Version[TDL] Part-1 V1.2.1 
Summary0006769: Move parameters from DataInstance to DataSet
Description(Formal) parameters serve only one purpose, they specify a named feature of containing entity that can accept/prvoide a value (and possibly details about the nature of the value, like its multipilicity). In statically typed languages this information is contained in types. In duck typed languages this information is not present, arguments are assigned without predefined parameters (fields). Both from logical and practical perspective, there is no need for parameter definitions in DataInstances (although there’s an analogy with TTCN-3 parameterized templates). If strong typing is needed, then parameters should be defined in DataSets (or an entity playing their role in updated meta-model).

If strong typing is not needed, then DataInstance parameters should be treated as arguments. Data in TDL is abstract and any predefined values associated with instances should be implicit and not defined in TDL. Therefore, DataInstance paramters should be excluded.

Solution is to introduce parameters to DataSets and remove parameters from DataInstance. DataSet parameters are optional.

Example.

Current:

dataset SequenceNumber {1, 2, 3}

dataset Message {datainstance Request(1), datainstance Response(2), datainstance Post(3)}

interaction <source> <target> Request(1)

Proposed:

dataset SequenceNumber {1, 2, 3}

dataset Message (SequenceNumber) {datainstance Request, datainstance Response, datainstance Post}

interaction <source> <target> Request(1)

TagsNo tags attached.
Attached Filespng file icon Move parameters from DataInstance to DataSet.png [^] (9,146 bytes) 10-06-2014 16:19

- Relationships

-  Notes
(0012528)
Andreas Ulrich (manager)
04-12-2014 16:50

Solved in the 'StructuredDataType' class.

- Issue History
Date Modified Username Field Change
10-06-2014 16:19 Martti Käärik New Issue
10-06-2014 16:19 Martti Käärik Status new => assigned
10-06-2014 16:19 Martti Käärik Assigned To => Andreas Ulrich
10-06-2014 16:19 Martti Käärik File Added: Move parameters from DataInstance to DataSet.png
04-12-2014 16:50 Andreas Ulrich Note Added: 0012528
04-12-2014 16:50 Andreas Ulrich Status assigned => resolved
04-12-2014 16:50 Andreas Ulrich Fixed in Version => Part-1 Meta-model and Semantics V1.2.1
04-12-2014 16:50 Andreas Ulrich Resolution open => fixed
16-07-2015 16:01 Philip Makedonski Project TDL => Part-1 Metamodel
16-07-2015 16:04 Philip Makedonski Product Version Part-1 Meta-model and Semantics V1.2.1 => [TDL] Part-1 V1.1.1
16-07-2015 16:04 Philip Makedonski Fixed in Version Part-1 Meta-model and Semantics V1.2.1 => [TDL] Part-1 V1.2.1
16-07-2015 16:04 Philip Makedonski Target Version Part-1 Meta-model and Semantics V1.2.1 => [TDL] Part-1 V1.2.1


MantisBT 1.2.14 [^]
Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker