Last modified by Artur on 2025/09/10 11:19

From version 7.4
edited by Helena
on 2025/05/15 10:39
Change comment: There is no comment for this version
To version 8.3
edited by Helena
on 2025/05/16 13:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -13,13 +13,9 @@
13 13  The actual SDMX Base construct from which the concrete classes inherit depends upon the requirements of the class for:
14 14  
15 15  Annotation – //AnnotableArtefact//
16 -
17 17  Identification – //IdentifiableArtefact//
18 -
19 19  Naming – //NameableArtefact//
20 -
21 21  Versioning – //VersionableArtefact//
22 -
23 23  Maintenance – //MaintainableArtefact//
24 24  
25 25  == 5.2 Inheritance View ==
... ... @@ -36,28 +36,22 @@
36 36  
37 37  Those classes in the SDMX metamodel which require annotations inherit from //AnnotableArtefact//. These are:
38 38  
39 -//IdentifiableArtefact//
40 -
41 -//DataSet//
42 -
43 -//Key// (and therefore //SeriesKey// and //GroupKey//)
44 -
35 +//IdentifiableArtefact
36 +DataSet
37 +Key// (and therefore //SeriesKey// and //GroupKey//)
45 45  //Observation//
46 46  
47 47  Those classes in the SDMX metamodel which require annotations and global identity are derived from //IdentifiableArtefact//. These are:
48 48  
49 -//NameableArtefact//
42 +//NameableArtefact
43 +ComponentList
44 +Component//
50 50  
51 -//ComponentList//
52 -
53 -//Component//
54 -
55 55  Those classes in the SDMX metamodel which require annotations, global identity, multilingual name and multilingual description are derived from //NameableArtefact//. These are:
56 56  
57 -//VersionableArtefact//
48 +//VersionableArtefact
49 +Item//
58 58  
59 -//Item//
60 -
61 61  The classes in the SDMX metamodel which require annotations, global identity, multilingual name and multilingual description, and versioning are derived from //VersionableArtefact//. These are:
62 62  
63 63  //MaintainableArtefact//
... ... @@ -64,18 +64,15 @@
64 64  
65 65  Abstract classes which represent information that is maintained by Maintenance Agencies all inherit from //MaintainableArtefact//, they also inherit all the features of a //VersionableArtefact//, and are:
66 66  
67 -//StructureUsage//
57 +//StructureUsage
58 +Structure
59 +ItemScheme//
68 68  
69 -//Structure//
70 -
71 -//ItemScheme//
72 -
73 73  All the above classes are abstract. The key to understanding the class diagrams presented in this section are the concrete classes that inherit from these abstract classes.
74 74  
75 75  Those concrete classes in the SDMX Data Structure Definition and Dataset packages of the metamodel which require to be maintained by Agencies all inherit (via other abstract classes) from //MaintainableArtefact//, these are:
76 76  
77 77  Dataflow
78 -
79 79  DataStructureDefinition
80 80  
81 81  The component structures that are lists of lists, inherit directly from //Structure//. A //Structure// contains several lists of components. The concrete class that inherits from //Structure// is:
... ... @@ -87,11 +87,8 @@
87 87  The concrete classes which inherit from //ComponentList// and are subcomponents of the DataStructureDefinition are:
88 88  
89 89  DimensionDescriptor – content is Dimension and TimeDimension
90 -
91 91  DimensionGroupDescriptor – content is an association to Dimension, TimeDimension
92 -
93 93  MeasureDescriptor – content is Measure
94 -
95 95  AttributeDescriptor – content is DataAttribute and an association to MetadataAttribute
96 96  
97 97  The classes that inherit from //Component// are:
... ... @@ -99,7 +99,6 @@
99 99  Measure
100 100  
101 101  //DimensionComponent// and thereby its sub classes of Dimension and TimeDimension
102 -
103 103  //Attribute// and thereby its sub classes of DataAttribute and MetadataAttribute
104 104  
105 105  The concrete classes identified above are the majority of the classes required to define the metamodel for the DataStructureDefinition. The diagrams and explanations in the rest of this section show how these concrete classes are related in order to support the functionality required.
... ... @@ -327,8 +327,9 @@
327 327  
328 328  ==== 5.4.3.2 Definitions ====
329 329  
330 -|**Class**|**Feature**|**Description**
331 -|//DataSet//|(((
313 +(% style="width:812.039px" %)
314 +|(% style="width:147px" %)**Class**|(% style="width:222px" %)**Feature**|(% style="width:437px" %)**Description**
315 +|(% style="width:147px" %)//DataSet//|(% style="width:222px" %)(((
332 332  Abstract Class
333 333  
334 334  Sub classes
... ... @@ -336,30 +336,30 @@
336 336  StructureSpecificData
337 337  
338 338  Set
339 -)))|An organised collection of data.
340 -| |reportingBegin|A specific time period in a known system of time periods that identifies the start period of a report.
341 -| |reportingEnd|A specific time period in a known system of time periods that identifies the end period of a report.
342 -| |dataExtractionDate|A specific time period that identifies the date and time that the data are extracted from a data source.
343 -| |validFrom|Indicates the inclusive start time indicating the validity of the information in the data set.
344 -| |validTo|Indicates the inclusive end time indicating the validity of the information in the data set.
345 -| |publicationYear|Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
346 -| |publicationPeriod|Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
347 -| |setId|Provides an identification of the data set.
348 -| |action|Defines the action to be taken by the recipient system (information, append, replace, delete)
349 -| |describedBy|Associates a Dataflow and thereby a Data Structure Definition to the data set.
350 -| |+structuredBy|Associates the Data Structure Definition that defines the structure of the Data Set. Note that the Data Structure Definition is the same as that associated (non-mandatory) to the Dataflow.
351 -| |+publishedBy|Associates the Data Provider that reports/publishes the data.
352 -|StructureSpecific DataSet| |An XML specific data format structure that contains data corresponding to one specific Data Structure Definition.
353 -|//Key//|(((
323 +)))|(% style="width:437px" %)An organised collection of data.
324 +|(% style="width:147px" %) |(% style="width:222px" %)reportingBegin|(% style="width:437px" %)A specific time period in a known system of time periods that identifies the start period of a report.
325 +|(% style="width:147px" %) |(% style="width:222px" %)reportingEnd|(% style="width:437px" %)A specific time period in a known system of time periods that identifies the end period of a report.
326 +|(% style="width:147px" %) |(% style="width:222px" %)dataExtractionDate|(% style="width:437px" %)A specific time period that identifies the date and time that the data are extracted from a data source.
327 +|(% style="width:147px" %) |(% style="width:222px" %)validFrom|(% style="width:437px" %)Indicates the inclusive start time indicating the validity of the information in the data set.
328 +|(% style="width:147px" %) |(% style="width:222px" %)validTo|(% style="width:437px" %)Indicates the inclusive end time indicating the validity of the information in the data set.
329 +|(% style="width:147px" %) |(% style="width:222px" %)publicationYear|(% style="width:437px" %)Specifies the year of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
330 +|(% style="width:147px" %) |(% style="width:222px" %)publicationPeriod|(% style="width:437px" %)Specifies the period of publication of the data or metadata in terms of whatever provisioning agreements might be in force.
331 +|(% style="width:147px" %) |(% style="width:222px" %)setId|(% style="width:437px" %)Provides an identification of the data set.
332 +|(% style="width:147px" %) |(% style="width:222px" %)action|(% style="width:437px" %)Defines the action to be taken by the recipient system (information, append, replace, delete)
333 +|(% style="width:147px" %) |(% style="width:222px" %)describedBy|(% style="width:437px" %)Associates a Dataflow and thereby a Data Structure Definition to the data set.
334 +|(% style="width:147px" %) |(% style="width:222px" %)+structuredBy|(% style="width:437px" %)Associates the Data Structure Definition that defines the structure of the Data Set. Note that the Data Structure Definition is the same as that associated (non-mandatory) to the Dataflow.
335 +|(% style="width:147px" %) |(% style="width:222px" %)+publishedBy|(% style="width:437px" %)Associates the Data Provider that reports/publishes the data.
336 +|(% style="width:147px" %)StructureSpecific DataSet|(% style="width:222px" %) |(% style="width:437px" %)An XML specific data format structure that contains data corresponding to one specific Data Structure Definition.
337 +|(% style="width:147px" %)//Key//|(% style="width:222px" %)(((
354 354  Abstract class Sub classes
355 355  
356 356  SeriesKey
357 357  
358 358  GroupKey
359 -)))|Comprises the cross product of values of dimensions that identify uniquely an Observation.
360 -| |keyValues|Association to the individual Key Values that comprise the Key.
361 -| |+attachedAttribute|Association to the Attribute Values relating to the Series Key or Group Key.
362 -|//KeyValue//|(((
343 +)))|(% style="width:437px" %)Comprises the cross product of values of dimensions that identify uniquely an Observation.
344 +|(% style="width:147px" %) |(% style="width:222px" %)keyValues|(% style="width:437px" %)Association to the individual Key Values that comprise the Key.
345 +|(% style="width:147px" %) |(% style="width:222px" %)+attachedAttribute|(% style="width:437px" %)Association to the Attribute Values relating to the Series Key or Group Key.
346 +|(% style="width:147px" %)//KeyValue//|(% style="width:222px" %)(((
363 363  Abstract class Sub classes
364 364  
365 365  TimeKeyValue
... ... @@ -367,51 +367,50 @@
367 367  CodedKeyValue
368 368  
369 369  UncodedKeyValue
370 -)))|The value of a component of a key such as the value of the instance a Dimension in a Dimension Descriptor of a Data Structure Definition.
371 -| |+valueFor|(((
354 +)))|(% style="width:437px" %)The value of a component of a key such as the value of the instance a Dimension in a Dimension Descriptor of a Data Structure Definition.
355 +|(% style="width:147px" %) |(% style="width:222px" %)+valueFor|(% style="width:437px" %)(((
372 372  Association to the key component in the Data Structure Definition for which this Key Value is a valid representation.
373 -
374 374  Note that this is conceptual association as the key component is identified explicitly in the data set.
375 375  )))
376 -|TimeKeyValue|(((
359 +|(% style="width:147px" %)TimeKeyValue|(% style="width:222px" %)(((
377 377  Inherits from
378 378  
379 379  //KeyValue//
380 -)))|The value of the Time Dimension component of the key.
381 -|CodedKeyValue|(((
363 +)))|(% style="width:437px" %)The value of the Time Dimension component of the key.
364 +|(% style="width:147px" %)CodedKeyValue|(% style="width:222px" %)(((
382 382  Inherits from
383 383  
384 384  //KeyValue//
385 -)))|The value of a coded component of the key. The value is the Code to which this class is associated.
386 -| |+valueOf|Association to the Code. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Dimension in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Key Value.
387 -|UnCodedKeyValue|(((
368 +)))|(% style="width:437px" %)The value of a coded component of the key. The value is the Code to which this class is associated.
369 +|(% style="width:147px" %) |(% style="width:222px" %)+valueOf|(% style="width:437px" %)Association to the Code. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Dimension in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Key Value.
370 +|(% style="width:147px" %)UnCodedKeyValue|(% style="width:222px" %)(((
388 388  Inherits from
389 389  
390 390  //KeyValue//
391 -)))|The value of an uncoded component of the key.
392 -| |value|The value of the key component.
393 -| |startTime|This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
394 -|GroupKey|(((
374 +)))|(% style="width:437px" %)The value of an uncoded component of the key.
375 +|(% style="width:147px" %) |(% style="width:222px" %)value|(% style="width:437px" %)The value of the key component.
376 +|(% style="width:147px" %) |(% style="width:222px" %)startTime|(% style="width:437px" %)This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
377 +|(% style="width:147px" %)GroupKey|(% style="width:222px" %)(((
395 395  Inherits from
396 396  
397 397  //Key//
398 -)))|A set of Key Values that comprise a partial key, of the same dimensionality as the Time Series Key for the purpose of attaching Data Attributes.
399 -| |+describedBy|Associates the Group Dimension Descriptor defined in the Data Structure Definition.
400 -|SeriesKey|(((
381 +)))|(% style="width:437px" %)A set of Key Values that comprise a partial key, of the same dimensionality as the Time Series Key for the purpose of attaching Data Attributes.
382 +|(% style="width:147px" %) |(% style="width:222px" %)+describedBy|(% style="width:437px" %)Associates the Group Dimension Descriptor defined in the Data Structure Definition.
383 +|(% style="width:147px" %)SeriesKey|(% style="width:222px" %)(((
401 401  Inherits from
402 402  
403 403  //Key//
404 -)))|Comprises the cross product of values of all the Key Values that, together with the Key Value of the +observation Dimension identify uniquely an Observation.
405 -| |+describedBy|Associates the Dimension Descriptor defined in the Data Structure Definition.
406 -|Observation| |The value(s) of the observed phenomenon in the context of the Key Values comprising the key.
407 -| |+valueFor|(((
387 +)))|(% style="width:437px" %)Comprises the cross product of values of all the Key Values that, together with the Key Value of the +observation Dimension identify uniquely an Observation.
388 +|(% style="width:147px" %) |(% style="width:222px" %)+describedBy|(% style="width:437px" %)Associates the Dimension Descriptor defined in the Data Structure Definition.
389 +|(% style="width:147px" %)Observation|(% style="width:222px" %) |(% style="width:437px" %)The value(s) of the observed phenomenon in the context of the Key Values comprising the key.
390 +|(% style="width:147px" %) |(% style="width:222px" %)+valueFor|(% style="width:437px" %)(((
408 408  Associates the Measure(s) defined in the Data Structure Definition.
409 409  
410 410  The source multiplicity (1..*) indicates that more than one values may be provided for a Measure, if the latter allows it.
411 411  )))
412 -| |+attachedAttribute|Association to the Attribute Values relating to the Observation.
413 -| |+observationDimension|Association to the Key Value that holds the value of the “Dimension at the Observation Level”.
414 -|//ObservationValue//|(((
395 +|(% style="width:147px" %) |(% style="width:222px" %)+attachedAttribute|(% style="width:437px" %)Association to the Attribute Values relating to the Observation.
396 +|(% style="width:147px" %) |(% style="width:222px" %)+observationDimension|(% style="width:437px" %)Association to the Key Value that holds the value of the “Dimension at the Observation Level”.
397 +|(% style="width:147px" %)//ObservationValue//|(% style="width:222px" %)(((
415 415  Abstract class
416 416  
417 417  Sub classes
... ... @@ -421,8 +421,8 @@
421 421  //ue//
422 422  
423 423  CodedObservation
424 -)))|
425 -|//UncodedObservatio nValue//|(((
407 +)))|(% style="width:437px" %)
408 +|(% style="width:147px" %)//UncodedObservatio nValue//|(% style="width:222px" %)(((
426 426  Abstract class
427 427  
428 428  Inherits from
... ... @@ -434,34 +434,34 @@
434 434  OtherUncodedMeasureVa lue
435 435  
436 436  TextMeasureValue
437 -)))|
438 -|OtherUncodedMeasu reValue|(((
420 +)))|(% style="width:437px" %)
421 +|(% style="width:147px" %)OtherUncodedMeasu reValue|(% style="width:222px" %)(((
439 439  Inherits from
440 440  
441 441  //UncodedObservationVal ue//
442 -)))|An observation that has a text value.
443 -| |value|The value of the Uncoded Observation.
444 -| |startTime|This attribute is only used if the textFormat of the Measure is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
445 -|TextMeasureValue|(((
425 +)))|(% style="width:437px" %)An observation that has a text value.
426 +|(% style="width:147px" %) |(% style="width:222px" %)value|(% style="width:437px" %)The value of the Uncoded Observation.
427 +|(% style="width:147px" %) |(% style="width:222px" %)startTime|(% style="width:437px" %)This attribute is only used if the textFormat of the Measure is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
428 +|(% style="width:147px" %)TextMeasureValue|(% style="width:222px" %)(((
446 446  Inherits from
447 447  
448 448  //UncodedObservationVal ue//
449 -)))|An observation that has a localised text value
450 -| |text|The localised text values.
451 -|CodedObservation|(((
432 +)))|(% style="width:437px" %)An observation that has a localised text value
433 +|(% style="width:147px" %) |(% style="width:222px" %)text|(% style="width:437px" %)The localised text values.
434 +|(% style="width:147px" %)CodedObservation|(% style="width:222px" %)(((
452 452  Inherits from
453 453  
454 454  //ObservationValue//
455 -)))|An Observation that takes its value from a code in a Code list.
456 -| |+valueOf|Association to the Code that is the value of the Observation. Note that this is a conceptual association showing that the Code must exist in the Codelist(s) associated with the Measure(s) in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Observation.
457 -|//AttributeValue//|(((
438 +)))|(% style="width:437px" %)An Observation that takes its value from a code in a Code list.
439 +|(% style="width:147px" %) |(% style="width:222px" %)+valueOf|(% style="width:437px" %)Association to the Code that is the value of the Observation. Note that this is a conceptual association showing that the Code must exist in the Codelist(s) associated with the Measure(s) in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Observation.
440 +|(% style="width:147px" %)//AttributeValue//|(% style="width:222px" %)(((
458 458  Abstract class
459 459  
460 460  Sub classes
461 461  
462 462  //DataAttributeValue// //MetadataAttributeValu e//
463 -)))|Represents the value for any Attribute reported in the Dataset, i.e., Data or Metadata Attribute.
464 -|//DataAttributeValu e//|(((
446 +)))|(% style="width:437px" %)Represents the value for any Attribute reported in the Dataset, i.e., Data or Metadata Attribute.
447 +|(% style="width:147px" %)//DataAttributeValu e//|(% style="width:222px" %)(((
465 465  Abstract class
466 466  
467 467  Inherits from
... ... @@ -473,22 +473,21 @@
473 473  //UncodedAttributeValue//
474 474  
475 475  //CodedAttributeValue//
476 -)))|The value of a Data Attribute, such as the instance of a Coded Attribute or of an Uncoded Attribute in a structure such as a Data Structure Definition.
477 -| |+valueFor|(((
459 +)))|(% style="width:437px" %)The value of a Data Attribute, such as the instance of a Coded Attribute or of an Uncoded Attribute in a structure such as a Data Structure Definition.
460 +|(% style="width:147px" %) |(% style="width:222px" %)+valueFor|(% style="width:437px" %)(((
478 478  Association to the Data Attribute defined in the Data Structure Definition. Note that this is conceptual association as the Concept is identified explicitly in the data set.
479 -
480 480  The source multiplicity (1..*) indicates the possibility to provide more than one values for a Data Attribute, if the latter allows it.
481 481  )))
482 -|//MetadataAttribute Value//|(((
464 +|(% style="width:147px" %)//MetadataAttribute Value//|(% style="width:222px" %)(((
483 483  (explained further in section
484 484  
485 485  “Metadata Set”)
486 -)))|(((
468 +)))|(% style="width:437px" %)(((
487 487  The value of a Metadata Attribute, as specified in the Metadata Structure Definition, which is linked in the Data Structure
488 488  
489 489  Definition
490 490  )))
491 -|//UncodedAttributeV alue//|(((
473 +|(% style="width:147px" %)//UncodedAttributeV alue//|(% style="width:222px" %)(((
492 492  Inherits from
493 493  
494 494  //AttributeValue//
... ... @@ -498,27 +498,25 @@
498 498  OtherUncodedAttribute Value
499 499  
500 500  TextAttributeValue
501 -)))|
502 -|OtherUncodedAttri buteValue|(((
483 +)))|(% style="width:437px" %)
484 +|(% style="width:147px" %)OtherUncodedAttri buteValue|(% style="width:222px" %)(((
503 503  Inherits from
504 504  
505 505  //UncodedObservationVal ue//
506 -)))|An attribute value that has a text value
507 -| |value|The value of the Uncoded attribute.
508 -| |startTime|This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
509 -|TextAttributeValu e|(((
488 +)))|(% style="width:437px" %)An attribute value that has a text value
489 +|(% style="width:147px" %) |(% style="width:222px" %)value|(% style="width:437px" %)The value of the Uncoded attribute.
490 +|(% style="width:147px" %) |(% style="width:222px" %)startTime|(% style="width:437px" %)This attribute is only used if the textFormat of the attribute is of the Timespan type in the Data Structure Definition (in which case the value field takes a duration).
491 +|(% style="width:147px" %)TextAttributeValu e|(% style="width:222px" %)(((
510 510  Inherits from
511 511  
512 512  //UncodedAttributeValue//
513 -)))|An attribute that has a localised text value
514 -| |text|The localised text values.
515 -|CodedAttributeVal ue|(((
495 +)))|(% style="width:437px" %)An attribute that has a localised text value
496 +|(% style="width:147px" %) |(% style="width:222px" %)text|(% style="width:437px" %)The localised text values.
497 +|(% style="width:147px" %)CodedAttributeVal ue|(% style="width:222px" %)(((
516 516  Inherits from
517 517  
518 518  //AttributeValue//
519 -)))|An attribute that takes it value from a Code in Code list.
520 -| |+valueOf|Association to the Code that is the value of the Attribute Value. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Data Attribute in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Attribute Value.
501 +)))|(% style="width:437px" %)An attribute that takes it value from a Code in Code list.
502 +|(% style="width:147px" %) |(% style="width:222px" %)+valueOf|(% style="width:437px" %)Association to the Code that is the value of the Attribute Value. Note that this is a conceptual association showing that the Code must exist in the Code list associated with the Data Attribute in the Data Structure Definition. In the actual Data Set the value of the Code is placed in the Attribute Value.
521 521  
522 -
523 -
524 524