ETSI's Bug Tracker - Part-1 Metamodel
View Issue Details
0007364Part-1 Metamodel[TDL] Technicalpublic01-02-2016 15:0115-02-2016 12:56
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 
0007364: Redundant constraint for DataInstanceUse
Currently the DataInstanceUse clause contains a constraint restricting the use of argument and reduction lists:

Either argument list or reduction list provided
Either one of the 'argument' list or 'reduction' list or none of them shall be provided.

A similar constraint is already defined under DataUse (super-class of DataInstanceUse):

Occurrence of 'argument' and 'reduction'
Both, 'argument' and 'reduction', may be provided only in case of a 'FunctionCall'.

Since DataInstanceUse is a sub-class of DataUse, all constraints that are applicable to DataUse already apply to DataInstanceUse. In addition, since the only difference between these constraints is the special case for FunctionUse in the constraint for DataUse, and a DataInstanceUse already excludes that part of the constraint, the constraint for DataInstance use is redundant.

The proposal is to remove the constraint for DataInstanceUse.
No tags attached.
Issue History
01-02-2016 15:01Philip MakedonskiNew Issue
01-02-2016 15:01Philip MakedonskiStatusnew => assigned
01-02-2016 15:01Philip MakedonskiAssigned To => Philip Makedonski
01-02-2016 15:02Philip MakedonskiNote Added: 0013795
01-02-2016 15:02Philip MakedonskiStatusassigned => resolved
01-02-2016 15:02Philip MakedonskiFixed in Version => [TDL] Part-1 V1.3.1
01-02-2016 15:02Philip MakedonskiResolutionopen => fixed
15-02-2016 12:54Philip MakedonskiNote Added: 0013832
15-02-2016 12:56Philip MakedonskiNote Added: 0013833

Notes
(0013795)
Philip Makedonski   
01-02-2016 15:02   
The constraint in DataInstanceUse is removed. The constraint in DataUse is refined to

Occurrence of 'argument' and 'reduction'
Only in case of a ‘FunctionCall' both the 'argument' list and the ‘reduction' list may be provided, otherwise either the 'argument' list, the ’reduction' list, or none of them shall be provided.
(0013832)
Philip Makedonski   
15-02-2016 12:54   
This also applies to FormalParameterUse and VariableUse.
(0013833)
Philip Makedonski   
15-02-2016 12:56   
This also applies to TImeLabelUse.