Changes for page 3 SDMX Base Package
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
-
Objects (0 modified, 1 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Methodology.SDMX 2\.1 Standards\. Section 2\. Information model\: UML conceptual design.WebHome - Content
-
... ... @@ -4,20 +4,22 @@ 4 4 5 5 == {{id name="_Toc370968"/}}3.1 Introduction == 6 6 7 -The constructs in the SDMX Base package comprise the fundamental building blocks that support many of the other structures in the model. For this reason, many of the classes in this package are abstract (i.e. only derived sub-classes can exist in an implementation). 7 +The constructs in the [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] Base package comprise the fundamental building blocks that support many of the other structures in the model. For this reason, many of the classes in this package are abstract (i.e. only derived sub-classes can exist in an implementation). 8 8 9 -The motivation for establishing the SDMX Base package is as follows: 9 +The motivation for establishing the [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] Base package is as follows: 10 10 11 11 * it is accepted “Best Practise” to identify fundamental archetypes occurring in a model 12 12 * identification of commonly found structures or “patterns” leads to easier understanding 13 13 * identification of patterns encourages re-use 14 14 15 -Each of the class diagrams in this section views classes from the SDMX Base package from a different perspective. There are detailed views of specific patterns, plus overviews showing inheritance between classes, and relationships amongst classes. 15 +Each of the class diagrams in this section views classes from the [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] Base package from a different perspective. There are detailed views of specific patterns, plus overviews showing inheritance between classes, and relationships amongst classes. 16 16 17 17 == {{id name="_Toc370969"/}}3.2 Base Structures - Identification, Versioning, and Maintenance == 18 18 19 19 === {{id name="_Toc370970"/}}3.2.1 Class Diagram === 20 20 21 +[[image:1747916560887-863.png]] 22 + 21 21 **Figure 9: SDMX Identification, Maintenance and Versioning** 22 22 23 23 === {{id name="_Toc370971"/}}3.2.2 Explanation of the Diagram === ... ... @@ -24,76 +24,76 @@ 24 24 25 25 ==== 3.2.2.1 Narrative ==== 26 26 27 -This group of classes forms the nucleus of the administration facets of SDMX objects. They provide features which are reusable by derived classes to support horizontal functionality such as identity, versioning etc. 29 +This group of classes forms the nucleus of the administration [[facets>>doc:sdmx:Glossary.Facet.WebHome]] of [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] objects. They provide features which are reusable by derived classes to support horizontal functionality such as identity, versioning etc. 28 28 29 -All classes derived from the abstract class //AnnotableArtefact// may have Annotations (or notes): this supports the need to add notes to all SDMX-ML elements. The Annotation is used to convey extra information to describe any SDMX construct. This information may be in the form of a URL reference and/or a multilingual text (represented by the association to InternationalString). 31 +All classes derived from the abstract class //AnnotableArtefact// may have [[Annotations>>doc:sdmx:Glossary.Annotation.WebHome]] (or notes): this supports the need to add notes to all [[SDMX-ML>>doc:sdmx:Glossary.SDMX-ML.WebHome]] elements. The [[Annotation>>doc:sdmx:Glossary.Annotation.WebHome]] is used to convey extra information to describe any [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] construct. This information may be in the form of a URL reference and/or a multilingual text (represented by the association to InternationalString). 30 30 31 -The //IdentifiableArtefact// is an abstract class that comprises the basic attributes needed for identification. Concrete classes based on //IdentifiableArtefact// all inherit the ability to be uniquely identified. 33 +The //IdentifiableArtefact// is an abstract class that comprises the basic [[attributes>>doc:sdmx:Glossary.Attribute.WebHome]] needed for identification. Concrete classes based on //IdentifiableArtefact// all inherit the ability to be uniquely identified. 32 32 33 -The //NamableArtefact// is an abstract class that inherits from //IdentifiableArtefact //and in addition the +description and +name roles support multilingual descriptions and names for all objects based on //NameableArtefact//. The InternationalString supports the representation of a description in multiple locales (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). The //LocalisedString// supports the representation of a description in one locale. 35 +The //NamableArtefact// is an abstract class that inherits from //IdentifiableArtefact //and in addition the +description and +name roles support multilingual descriptions and names for all objects based on //NameableArtefact//. The InternationalString supports the [[representation>>doc:sdmx:Glossary.Representation.WebHome]] of a description in multiple locales (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). The //LocalisedString// supports the [[representation>>doc:sdmx:Glossary.Representation.WebHome]] of a description in one locale. 34 34 35 35 //VersionableArtefact// is an abstract class which inherits from //NameableArtefact// and adds versioning ability to all classes derived from it. 36 36 37 -//MaintainableArtefact// further adds the ability for derived classes to be maintained via its association to //Agency, //and adds locational information (i.e. from where the object can be retrieved). It is possible to define whether the artefact is draft or final with the final attribute. 39 +//MaintainableArtefact// further adds the ability for derived classes to be maintained via its association to //Agency, //and adds locational information (i.e. from where the object can be retrieved). It is possible to define whether the [[artefact>>doc:sdmx:Glossary.Artefact.WebHome]] is draft or final with the final attribute. 38 38 39 -The inheritance chain from //AnnotableArtefact// through to //MaintainableArtefact// allows SDMX classes to inherit the features they need, from simple annotation, through identity, naming, to versioning and maintenance. 41 +The inheritance chain from //AnnotableArtefact// through to //MaintainableArtefact// allows [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]] classes to inherit the features they need, from simple [[annotation>>doc:sdmx:Glossary.Annotation.WebHome]], through identity, naming, to versioning and maintenance. 40 40 41 41 ==== 3.2.2.2 Definitions ==== 42 42 43 43 (% style="width:902.294px" %) 44 -|**Class**|(% style="width:2 46px" %)**Feature**|(% style="width:480px" %)**Description**45 -|//AnnotableArtefact//|(% style="width:2 46px" %)(((46 +|**Class**|(% style="width:269px" %)**Feature**|(% style="width:455px" %)**Description** 47 +|//AnnotableArtefact//|(% style="width:269px" %)((( 46 46 Base inheritance sub classes are: 47 47 //IdentifiableArtefact// 48 -)))|(% style="width:4 80px" %)Objects of classes derived from this can have attached annotations.49 -|Annotation|(% style="width:2 46px" %) |(% style="width:480px" %)Additional descriptive information attached to an object.50 -| |(% style="width:2 46px" %)id|(% style="width:480px" %)(((51 -Identifier for the Annotation. 52 -It can be used to disambiguate one Annotation from another where there are several Annotations for the same annotated object. 50 +)))|(% style="width:455px" %)Objects of classes derived from this can have attached [[annotations>>doc:sdmx:Glossary.Annotation.WebHome]]. 51 +|[[Annotation>>doc:sdmx:Glossary.Annotation.WebHome]]|(% style="width:269px" %) |(% style="width:455px" %)Additional descriptive information attached to an object. 52 +| |(% style="width:269px" %)id|(% style="width:455px" %)((( 53 +Identifier for the [[Annotation>>doc:sdmx:Glossary.Annotation.WebHome]]. 54 +It can be used to disambiguate one [[Annotation>>doc:sdmx:Glossary.Annotation.WebHome]] from another where there are several [[Annotations>>doc:sdmx:Glossary.Annotation.WebHome]] for the same annotated object. 53 53 ))) 54 -| |(% style="width:2 46px" %)title|(% style="width:480px" %)A title used to identify an annotation.55 -| |(% style="width:2 46px" %)type|(% style="width:480px" %)Specifies how the annotation is to be processed.56 -| |(% style="width:2 46px" %)url|(% style="width:480px" %)A link to external descriptive text.57 -| |(% style="width:2 46px" %)+text|(% style="width:480px" %)An International String provides the multilingual text content of the annotation via this role.58 -|//IdentifiableArtefact//|(% style="width:2 46px" %)(((56 +| |(% style="width:269px" %)[[title>>doc:sdmx:Glossary.Title.WebHome]]|(% style="width:455px" %)A [[title>>doc:sdmx:Glossary.Title.WebHome]] used to identify an [[annotation>>doc:sdmx:Glossary.Annotation.WebHome]]. 57 +| |(% style="width:269px" %)type|(% style="width:455px" %)Specifies how the [[annotation>>doc:sdmx:Glossary.Annotation.WebHome]] is to be processed. 58 +| |(% style="width:269px" %)url|(% style="width:455px" %)A link to external descriptive text. 59 +| |(% style="width:269px" %)+text|(% style="width:455px" %)An [[International String>>doc:sdmx:Glossary.International string.WebHome]] provides the multilingual text content of the [[annotation>>doc:sdmx:Glossary.Annotation.WebHome]] via this role. 60 +|//IdentifiableArtefact//|(% style="width:269px" %)((( 59 59 Superclass is 60 60 //AnnotableArtefact// 61 61 Base inheritance sub classes are: 62 62 //NameableArtefact// 63 -)))|(% style="width:4 80px" %)Provides identity to all derived classes. It also provides annotations to derived classes because it is a subclass of Annotable Artefact.64 -| |(% style="width:2 46px" %)id|(% style="width:480px" %)The unique identifier of the object.65 -| |(% style="width:2 46px" %)uri|(% style="width:480px" %)Universal resource identifier that may or may not be resolvable.66 -| |(% style="width:2 46px" %)urn|(% style="width:480px" %)Universal resource name – this is for use in registries: all registered objects have a urn.67 -|//NameableArtefact//|(% style="width:2 46px" %)(((65 +)))|(% style="width:455px" %)Provides identity to all derived classes. It also provides [[annotations>>doc:sdmx:Glossary.Annotation.WebHome]] to derived classes because it is a subclass of Annotable [[Artefact>>doc:sdmx:Glossary.Artefact.WebHome]]. 66 +| |(% style="width:269px" %)id|(% style="width:455px" %)The unique identifier of the object. 67 +| |(% style="width:269px" %)uri|(% style="width:455px" %)Universal resource identifier that may or may not be resolvable. 68 +| |(% style="width:269px" %)urn|(% style="width:455px" %)Universal resource name – this is for use in registries: all registered objects have a urn. 69 +|//NameableArtefact//|(% style="width:269px" %)((( 68 68 Superclass is 69 69 //IdentifiableArtefact// Base inheritance sub classes are: 70 70 //VersionableArtefact// 71 -)))|(% style="width:4 80px" %)Provides a Name and Description to all derived classes in addition to identification and annotations.72 -| |(% style="width:2 46px" %)+description|(% style="width:480px" %)A multi-lingual description is provided by this role via the International String class.73 -| |(% style="width:2 46px" %)+name|(% style="width:480px" %)A multi-lingual name is provided by this role via the International String class74 -|InternationalString|(% style="width:2 46px" %) |(% style="width:480px" %)The International String is a collection of Localised Strings and supports the representation of text in multiple locales.75 -|LocalisedString|(% style="width:2 46px" %) |(% style="width:480px" %)The Localised String supports the representation of text in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.).76 -| |(% style="width:2 46px" %)label|(% style="width:480px" %)Label of the string.77 -| |(% style="width:2 46px" %)locale|(% style="width:480px" %)The geographic locale of the string e.g French, Canadian French.78 -|//VersionableArtefact//|(% style="width:2 46px" %)(((73 +)))|(% style="width:455px" %)Provides a Name and Description to all derived classes in addition to identification and [[annotations>>doc:sdmx:Glossary.Annotation.WebHome]]. 74 +| |(% style="width:269px" %)+description|(% style="width:455px" %)A multi-lingual description is provided by this role via the [[International String>>doc:sdmx:Glossary.International string.WebHome]] class. 75 +| |(% style="width:269px" %)+name|(% style="width:455px" %)A multi-lingual name is provided by this role via the [[International String>>doc:sdmx:Glossary.International string.WebHome]] class 76 +|InternationalString|(% style="width:269px" %) |(% style="width:455px" %)The [[International String>>doc:sdmx:Glossary.International string.WebHome]] is a collection of Localised Strings and supports the [[representation>>doc:sdmx:Glossary.Representation.WebHome]] of text in multiple locales. 77 +|LocalisedString|(% style="width:269px" %) |(% style="width:455px" %)The Localised String supports the [[representation>>doc:sdmx:Glossary.Representation.WebHome]] of text in one locale (locale is similar to language but includes geographic variations such as Canadian French, US English etc.). 78 +| |(% style="width:269px" %)label|(% style="width:455px" %)Label of the string. 79 +| |(% style="width:269px" %)locale|(% style="width:455px" %)The geographic locale of the string e.g French, Canadian French. 80 +|//VersionableArtefact//|(% style="width:269px" %)((( 79 79 Superclass is 80 80 //NameableArtefact// Base inheritance sub classes are: 81 81 //MaintainableArtefact// 82 -)))|(% style="width:4 80px" %)Provides versioning information for all derived objects.83 -| |(% style="width:2 46px" %)version|(% style="width:480px" %)A version string following an agreed convention84 -| |(% style="width:2 46px" %)validFrom|(% style="width:480px" %)Date from which the version is valid85 -| |(% style="width:2 46px" %)validTo|(% style="width:480px" %)Date from which version is superceded86 -|//MaintainableArtefact//|(% style="width:2 46px" %)(((84 +)))|(% style="width:455px" %)Provides versioning information for all derived objects. 85 +| |(% style="width:269px" %)(% style="color:#e74c3c" %)version|(% style="width:455px" %)A (% style="color:#e74c3c" %)version(%%) string following an agreed convention 86 +| |(% style="width:269px" %)validFrom|(% style="width:455px" %)Date from which the (% style="color:#e74c3c" %)version(%%) is valid 87 +| |(% style="width:269px" %)validTo|(% style="width:455px" %)Date from which (% style="color:#e74c3c" %)version(%%) is superceded 88 +|//MaintainableArtefact//|(% style="width:269px" %)((( 87 87 Inherits from 88 88 89 89 //VersionableArtefact// 90 -)))|(% style="width:4 80px" %)An abstract class to group together primary structural metadata artefacts that are maintained by an Agency.91 -| |(% style="width:2 46px" %)final|(% style="width:480px" %)Defines whether a maintained artefact is draft or final.92 -| |(% style="width:2 46px" %)isExternalReference|(% style="width:480px" %)If set to “true” it indicates that the content of the object is held externally.93 -| |(% style="width:2 46px" %)structureURL|(% style="width:480px" %)The URL of an SDMX-ML document containing the external object.94 -| |(% style="width:2 46px" %)serviceURL|(% style="width:480px" %)The URL of an SDMX-compliant web service from which the external object can be retrieved.95 -| |(% style="width:2 46px" %)+maintainer|(% style="width:480px" %)Association to the Maintenance Agency responsible for maintaining the artefact.96 -|Agency|(% style="width:2 46px" %) |(% style="width:480px" %)See section on “Organisations”92 +)))|(% style="width:455px" %)An abstract class to group together primary [[structural metadata>>doc:sdmx:Glossary.Structural metadata.WebHome]] [[artefacts>>doc:sdmx:Glossary.Artefact.WebHome]] that are maintained by an Agency. 93 +| |(% style="width:269px" %)final|(% style="width:455px" %)Defines whether a maintained [[artefact>>doc:sdmx:Glossary.Artefact.WebHome]] is draft or final. 94 +| |(% style="width:269px" %)isExternalReference|(% style="width:455px" %)If set to “true” it indicates that the content of the object is held externally. 95 +| |(% style="width:269px" %)structureURL|(% style="width:455px" %)The URL of an [[SDMX-ML>>doc:sdmx:Glossary.SDMX-ML.WebHome]] document containing the external object. 96 +| |(% style="width:269px" %)serviceURL|(% style="width:455px" %)The URL of an [[SDMX>>doc:sdmx:Glossary.Statistical data and metadata exchange.WebHome]]-compliant web service from which the external object can be retrieved. 97 +| |(% style="width:269px" %)+maintainer|(% style="width:455px" %)Association to the [[Maintenance Agency>>doc:sdmx:Glossary.Maintenance agency.WebHome]] responsible for maintaining the [[artefact>>doc:sdmx:Glossary.Artefact.WebHome]]. 98 +|Agency|(% style="width:269px" %) |(% style="width:455px" %)See section on “Organisations” 97 97 98 98 == {{id name="_Toc370972"/}}3.3 Basic Inheritance == 99 99 ... ... @@ -107,12 +107,14 @@ 107 107 108 108 ==== 3.3.2.1 Narrative ==== 109 109 110 -The diagram above shows the inheritance within the base structures. The concrete classes 642are introduced and defined in the specific package to which they relate.112 +The diagram above shows the inheritance within the base structures. The concrete classes are introduced and defined in the specific package to which they relate. 111 111 112 112 == {{id name="_Toc370975"/}}3.4 Data Types == 113 113 114 114 === {{id name="_Toc370976"/}}3.4.1 Class Diagram === 115 115 118 +[[image:1747690333052-506.png]] 119 + 116 116 **Figure 11: Class Diagram of Basic Data Types** 117 117 118 118 === {{id name="_Toc370977"/}}3.4.2 Explanation of the Diagram === ... ... @@ -162,16 +162,14 @@ 162 162 (% class="wikigeneratedid" id="HFigure12TheItemSchemePattern" %) 163 163 **Figure 12 The Item Scheme Pattern** 164 164 165 -=== =={{id name="_Toc370981"/}}3.5.3 Explanation of the Diagram =====169 +=== {{id name="_Toc370981"/}}3.5.3 Explanation of the Diagram === 166 166 167 - **3.5.3.1 Narrative**171 +==== 3.5.3.1 Narrative ==== 168 168 169 169 The //ItemScheme// is an abstract class which defines a set of //Item// (this class is also abstract). Its main purpose is to define a mechanism which can be used to create taxonomies which can classify other parts of the SDMX Information Model. It inherits from //MaintainableArtefact// which gives it the ability to be annotated, have identity, naming, versioning and be associated with an Agency. An example of a concrete class is a CategoryScheme. The associated Category are //Items//. 170 170 171 -In an exchange environment an ItemScheme is allowed to contain a sub-set of the Items in the maintained //ItemScheme//. If such an //ItemScheme// is disseminated with a sub-set of the Items then the fact that this is a sub-set is denoted by setting the isPartial attribute to 175 +In an exchange environment an ItemScheme is allowed to contain a sub-set of the Items in the maintained //ItemScheme//. If such an //ItemScheme// is disseminated with a sub-set of the Items then the fact that this is a sub-set is denoted by setting the isPartial attribute to “true”. 172 172 173 -“true”. 174 - 175 175 A “partial” //ItemScheme// cannot be maintained independently in its partial form i.e. it cannot contain //Item//s that are not present in the full //ItemScheme// and the content of any one //Item //(e.g. names and descriptions) cannot deviate from the content in the full //ItemScheme//. 176 176 177 177 Furthermore, the Id of the //ItemScheme// where isPartial is set to “true” is the same as the Id of the full //ItemScheme// (maintenance agency, id, version). This is important as this is the Id that that is referenced in other structures (e.g. a Codelist referenced in a DSD) and this Id is always the same, regardless of whether the disseminated //ItemScheme// is the full //ItemScheme// or a partial //ItemScheme//. ... ... @@ -178,10 +178,8 @@ 178 178 179 179 The purpose of a partial //ItemScheme// is to support the exchange and dissemination of a subset ItemScheme without the need to maintain multiple //ItemScheme//s which contain the same //Item//s. For instance, when a Codelist is used in a DataStructureDefinition it is sometimes the case that only a sub-set of the Codes in a Codelist are relevant. In this case a partial Codelist can be constructed using the Constraint mechanism explained later in this document. 180 180 181 -//Item// inherits from //NameableArtefact// which gives it the ability to be annotated and have identity, and therefore has id, uri and urn attributes, a name and a description in the form of an 183 +//Item// inherits from //NameableArtefact// which gives it the ability to be annotated and have identity, and therefore has id, uri and urn attributes, a name and a description in the form of an InternationalString. Unlike the parent //ItemScheme//, the //Item// itself is not a //MaintainableArtefact// and therefore cannot have an independent Agency (i.e. it implicitly has the same agency as the //ItemScheme//). 182 182 183 -InternationalString. Unlike the parent //ItemScheme//, the //Item// itself is not a //MaintainableArtefact// and therefore cannot have an independent Agency (i.e. it implicitly has the same agency as the //ItemScheme//). 184 - 185 185 The //Item// can be hierarchic and so one //Item// can have child //Item//s. The restriction of the hierarchic association is that a child //Item// can have only parent //Item//. 186 186 187 187 ==== 3.5.3.2 Definitions ==== ... ... @@ -259,7 +259,7 @@ 259 259 260 260 __GroupDimensionDescriptor__: Dimension, Measure Dimension, Time Dimension 261 261 262 -MeasureDescriptor: PrimaryMeasure 262 +__MeasureDescriptor__: PrimaryMeasure 263 263 264 264 __AttributeDescriptor:__ Data Attribute 265 265 ... ... @@ -282,140 +282,112 @@ 282 282 283 283 The //Structure// may be used by one or more //StructureUsage//. An example of this in terms of concrete classes is that a DataflowDefinition (sub class of //StructureUsage//) may use a particular DataStructureDefinition (sub class of //Structure//), and similar constructs apply for the MetadataflowDefinition (link to MetadataStructureDefinition). 284 284 285 - **3.6.3.2 Definitions**285 +==== 3.6.3.2 Definitions ==== 286 286 287 -|**Class**|**Feature**|**Description** 287 +(% style="width:1001.29px" %) 288 +|**Class**|**Feature**|(% style="width:537px" %)**Description** 288 288 |//StructureUsage//|((( 289 289 Inherits from: 290 - 291 291 //MaintainableArtefact// 292 - 293 293 Sub classes are: 294 - 295 295 DataflowDefinition 296 - 297 -MetadataflowDefinition// // 298 -)))|An artefact whose components are described by a Structure. In concrete terms (sub-classes) an example would be a Dataflow Definition which is linked to a given structure – in this case the Data Structure Definition. 299 -| |structure|An association to a Structure specifying the structure of the artefact. 294 +MetadataflowDefinition 295 +)))|(% style="width:537px" %)An artefact whose components are described by a Structure. In concrete terms (sub-classes) an example would be a Dataflow Definition which is linked to a given structure – in this case the Data Structure Definition. 296 +| |structure|(% style="width:537px" %)An association to a Structure specifying the structure of the artefact. 300 300 |//Structure//|((( 301 301 Inherits from: 302 - 303 303 //MaintainableArtefact// 304 - 305 305 Sub classes are: 306 - 307 307 DataStructure 308 - 309 309 Definition 310 - 311 311 MetadataStructure 312 - 313 313 Definition 314 -)))|Abstract specification of a list of lists to define a complex tabular structure. A concrete example of this would be statistical concepts, code lists, and their organisation in a data or metadata structure definition, defined by a centre institution, usually for the exchange of statistical information with its partners. 315 -| |grouping|A composite association to one or more component lists. 305 +)))|(% style="width:537px" %)Abstract specification of a list of lists to define a complex tabular structure. A concrete example of this would be statistical concepts, code lists, and their organisation in a data or metadata structure definition, defined by a centre institution, usually for the exchange of statistical information with its partners. 306 +| |grouping|(% style="width:537px" %)A composite association to one or more component lists. 316 316 |//ComponentList//|((( 317 317 Inherits from: 318 - 319 319 //IdentifiableArtefact// 320 - 321 321 Sub classes are: 322 - 323 323 DimensionDescriptor 324 - 325 325 GroupDimension 326 - 327 327 Descriptor 328 - 329 329 MeasureDescriptor 330 - 331 331 AttributeDescriptor 332 - 333 333 MetadataTarget 334 - 335 335 ReportStructure 336 -)))|An abstract definition of a list of components. A concrete example is a Dimension Descriptor which defines the list of Dimensions in a Data Structure Definition. 337 -| |components|An aggregate association to one or more components which make up the list. 318 +)))|(% style="width:537px" %)An abstract definition of a list of components. A concrete example is a Dimension Descriptor which defines the list of Dimensions in a Data Structure Definition. 319 +| |components|(% style="width:537px" %)An aggregate association to one or more components which make up the list. 338 338 |//Component//|((( 339 339 Inherits from: 340 - 341 341 //IdentifiableArtefact// 342 - 343 343 Sub classes are: 344 - 345 345 PrimaryMeasure 346 - 347 347 DataAttribute 348 - 349 -//DimensionComponent// 350 - 351 -//TargetObject// 352 - 326 +//DimensionComponent 327 +TargetObject// 353 353 MetadataAttribute 354 -)))|A component is an abstract super class used to define qualitative and quantitative data and metadata items that belong to a Component List and hence a Structure. Component is refined through its sub-classes. 355 -| |conceptIdentity|Association to a Concept in a Concept Scheme that identifies and defines the semantic of the Component 356 -| |localRepresentation|Association to the Representation of the Component if this is different from the coreRepresentation of the Concept which the Component uses (ConceptUsage) 357 -|Representation| |The allowable value or format for Component or Concept 358 -| |+enumerated|Association to an enumerated list that contains the allowable content for the Component when reported in a data or metadata set. The type of enumerated list that is allowed for any concrete Component is shown in the constraints on the association (e.g. Identifier Component can have any of the sub classes of Item Scheme, whereas Measure Dimension must have a Concept Scheme). 359 -| |+nonEnumerated|Association to a set of Facets that define the allowable format for the content of the Component when reported in a data or metadata set. 360 -|Facet| |Defines the format for the content of the Component when reported in a data or metadata set. 361 -| |facetType|A specific content type which is constrained by the FacetType enumeration 362 -| |facetValueType|((( 329 +)))|(% style="width:537px" %)A component is an abstract super class used to define qualitative and quantitative data and metadata items that belong to a Component List and hence a Structure. Component is refined through its sub-classes. 330 +| |conceptIdentity|(% style="width:537px" %)Association to a Concept in a Concept Scheme that identifies and defines the semantic of the Component 331 +| |localRepresentation|(% style="width:537px" %)Association to the Representation of the Component if this is different from the coreRepresentation of the Concept which the Component uses (ConceptUsage) 332 +|Representation| |(% style="width:537px" %)The allowable value or format for Component or Concept 333 +| |+enumerated|(% style="width:537px" %)Association to an enumerated list that contains the allowable content for the Component when reported in a data or metadata set. The type of enumerated list that is allowed for any concrete Component is shown in the constraints on the association (e.g. Identifier Component can have any of the sub classes of Item Scheme, whereas Measure Dimension must have a Concept Scheme). 334 +| |+nonEnumerated|(% style="width:537px" %)Association to a set of Facets that define the allowable format for the content of the Component when reported in a data or metadata set. 335 +|Facet| |(% style="width:537px" %)Defines the format for the content of the Component when reported in a data or metadata set. 336 +| |facetType|(% style="width:537px" %)A specific content type which is constrained by the FacetType enumeration 337 +| |facetValueType|(% style="width:537px" %)((( 363 363 The format of the value of a Component when reported in a data or metadata set. 364 364 365 365 This is contrained by the FacetValueType enumeration. 366 366 ))) 367 -| |+itemSchemeFacet|Defines the format of the identifiers in an Item Scheme used by a Component. Typically this would define the number of characters (length) of the identifier. 368 -|ExtendedFacet| |This has the same function as Facet but allows additionally an XHTML representation. This is constrained for use with a Metadata Attribute 342 +| |+itemSchemeFacet|(% style="width:537px" %)Defines the format of the identifiers in an Item Scheme used by a Component. Typically this would define the number of characters (length) of the identifier. 343 +|ExtendedFacet| |(% style="width:537px" %)This has the same function as Facet but allows additionally an XHTML representation. This is constrained for use with a Metadata Attribute 369 369 370 -The specification of the content and use of the sub classes to ,,ComponentList,,and,,Component,,can be found in the section in which they are used (DataStructureDefinition and MetadataStructureDefinition)345 +The specification of the content and use of the sub classes to ComponentList and Component can be found in the section in which they are used (DataStructureDefinition and MetadataStructureDefinition) 371 371 372 372 ==== 3.6.3.3 Representation Constructs ==== 373 373 374 374 The majority of SDMX FacetValueTypes are compatible with those found in XML Schema, 818 and have equivalents in most current implementation platforms: 375 375 376 -: 377 - 378 378 ((( 379 -|**SDMX Facet Value Type**|**XML Schema Data Type **|**.NET Framework Type**|**Java Data Type** 380 -|String|xsd:string|System.String|java.lang.String 381 -|Big Integer|xsd:integer|System.Decimal|java.math.BigInteger 382 -|Integer|xsd:int|System.Int32|int 383 -|Long|xsd.long|System.Int64|long 384 -|Short|xsd:short|System.Int16|short 385 -|Decimal|xsd:decimal|System.Decimal|java.math.BigDecimal 386 -|Float|xsd:float|System.Single|float 387 -|Double|xsd:double|System.Double|double 388 -|Boolean|xsd:boolean|System.Boolean|boolean 389 -|URI|xsd:anyURI|System.Uri|Java.net.URI or java.lang.String 390 -|DateTime|xsd:dateTime|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 391 -|Time|xsd:time|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 392 -|GregorianYear|xsd:gYear|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 393 -|GregorianMonth|xsd:gYearMonth|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 394 -|GregorianDay|xsd:date|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 395 -|Day, MonthDay, Month|xsd:g*|System.DateTime|javax.xml.datatype.XMLG regorianCalendar 396 -|Duration|xsd:duration|System.TimeSpan|javax.xml.datatype.Dura tion 352 +(% style="width:1034.29px" %) 353 +|(% style="width:222px" %)**SDMX Facet Value Type**|(% style="width:229px" %)**XML Schema Data Type**|(% style="width:216px" %)**.NET Framework Type**|(% style="width:354px" %)**Java Data Type** 354 +|(% style="width:222px" %)String|(% style="width:229px" %)xsd:string|(% style="width:216px" %)System.String|(% style="width:354px" %)java.lang.String 355 +|(% style="width:222px" %)Big Integer|(% style="width:229px" %)xsd:integer|(% style="width:216px" %)System.Decimal|(% style="width:354px" %)java.math.BigInteger 356 +|(% style="width:222px" %)Integer|(% style="width:229px" %)xsd:int|(% style="width:216px" %)System.Int32|(% style="width:354px" %)int 357 +|(% style="width:222px" %)Long|(% style="width:229px" %)xsd.long|(% style="width:216px" %)System.Int64|(% style="width:354px" %)long 358 +|(% style="width:222px" %)Short|(% style="width:229px" %)xsd:short|(% style="width:216px" %)System.Int16|(% style="width:354px" %)short 359 +|(% style="width:222px" %)Decimal|(% style="width:229px" %)xsd:decimal|(% style="width:216px" %)System.Decimal|(% style="width:354px" %)java.math.BigDecimal 360 +|(% style="width:222px" %)Float|(% style="width:229px" %)xsd:float|(% style="width:216px" %)System.Single|(% style="width:354px" %)float 361 +|(% style="width:222px" %)Double|(% style="width:229px" %)xsd:double|(% style="width:216px" %)System.Double|(% style="width:354px" %)double 362 +|(% style="width:222px" %)Boolean|(% style="width:229px" %)xsd:boolean|(% style="width:216px" %)System.Boolean|(% style="width:354px" %)boolean 363 +|(% style="width:222px" %)URI|(% style="width:229px" %)xsd:anyURI|(% style="width:216px" %)System.Uri|(% style="width:354px" %)Java.net.URI or java.lang.String 364 +|(% style="width:222px" %)DateTime|(% style="width:229px" %)xsd:dateTime|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 365 +|(% style="width:222px" %)Time|(% style="width:229px" %)xsd:time|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 366 +|(% style="width:222px" %)GregorianYear|(% style="width:229px" %)xsd:gYear|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 367 +|(% style="width:222px" %)GregorianMonth|(% style="width:229px" %)xsd:gYearMonth|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 368 +|(% style="width:222px" %)GregorianDay|(% style="width:229px" %)xsd:date|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 369 +|(% style="width:222px" %)Day, MonthDay, Month|(% style="width:229px" %)xsd:g*|(% style="width:216px" %)System.DateTime|(% style="width:354px" %)javax.xml.datatype.XMLG regorianCalendar 370 +|(% style="width:222px" %)Duration|(% style="width:229px" %)xsd:duration|(% style="width:216px" %)System.TimeSpan|(% style="width:354px" %)javax.xml.datatype.Dura tion 397 397 ))) 398 398 399 -There are also a number of SDMX data types which do not have these direct 822correspondences, often because they are composite representations or restrictions of a823broader data type. These are detailed in Section 6 of the standards.373 +There are also a number of SDMX data types which do not have these direct correspondences, often because they are composite representations or restrictions of a broader data type. These are detailed in Section 6 of the standards. 400 400 401 -The ,,Representation,,is composed of,,Facet,,s, each of which conveys characteristic826information related to the definition of a value domain. Often a set of Facets are needed to827convey the required semantic. For example, a sequence is defined by a minimum of two828Facets: one to define the start value, and one to define the interval.375 +The Representation is composed of Facets, each of which conveys characteristic information related to the definition of a value domain. Often a set of Facets are needed to convey the required semantic. For example, a sequence is defined by a minimum of two Facets: one to define the start value, and one to define the interval. 402 402 403 -: 404 - 405 405 ((( 406 - |**FacetType**|**Explanation**|407 -| isSequence|TheisSequence facetindicates whether the values areintendedto be ordered, and it may work in combination withthe interval, startValue, and endValue facetor the timeInterval, startTime,and endTime, facets. Ifthis attribute holds a valueof true, a start value or time anda numeric ortimeinterval must supplied. Ifanend value is notgiven, then the sequence continues indefinitely.|408 -|interval |The interval attribute specifies thepermitted interval(increment)ina|409 -| |(%colspan="2" %)sequence. In order for this to be used, the isSequence attribute must have a value of true.410 -|startValue|(% colspan="2" %)The startValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet is used for a numeric sequence, and indicates the starting point of the sequence. This value is mandatory for a numeric sequence to be expressed. 411 -|endValue|(% colspan="2" %)The endValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet is used for a numeric sequence, and indicates that ending point (if any) of the sequence. 412 -|timeInterval|(% colspan="2" %)The timeInterval facet indicates the permitted duration in a time sequence. In order for this to be used, the isSequence facet must have a value of true. 413 -|startTime|(% colspan="2" %)The startTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This attribute is used for a time sequence, and indicates the start time of the sequence. This value is mandatory for a time sequence to be expressed. 414 -|endTime|(% colspan="2" %)The endTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This facet is used for a time sequence, and indicates that ending point (if any) of the sequence. 415 -|minLength|(% colspan="2" %)The minLength facet specifies the minimum and length of the value in characters. 416 -|maxLength|(% colspan="2" %)The maxLength facet specifies the maximum length of the value in characters. 417 -|minValue|(% colspan="2" %)The minValue facet is used for inclusive and exclusive ranges, indicating what the lower bound of the range is. If this is used with an inclusive range, a valid value will be greater than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g. this facet is used with an integer data type), the value is assumed to be inclusive. 418 -|maxValue|(% colspan="2" %)The maxValue facet is used for inclusive and exclusive ranges, indicating what the upper bound of the range is. If this is used with an inclusive range, a valid value will be less than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g. this facet is used with an integer data type), the value is assumed to be inclusive. 419 -|decimals|(% colspan="2" %)The decimals facet indicates the number of characters allowed after the decimal separator. 420 -|pattern|(% colspan="2" %)The pattern attribute holds any regular expression permitted in the implementation syntax (e.g. W3C XML Schema). 378 +(% style="width:1043.29px" %) 379 +|(% style="width:179px" %)**Facet Type**|(% style="width:862px" %)**Explanation** 380 +|(% style="width:179px" %)isSequence|(% style="width:862px" %)The isSequence facet indicates whether the values are intended to be ordered, and it may work in combination with the interval, startValue, and endValue facet or the timeInterval, startTime, and endTime, facets. If this attribute holds a value of true, a start value or time and a numeric or time interval must supplied. If an end value is not given, then the sequence continues indefinitely. 381 +|(% style="width:179px" %)interval|(% style="width:862px" %)The interval attribute specifies the permitted interval (increment) in a sequence. In order for this to be used, the isSequence attribute must have a value of true. 382 +|(% style="width:179px" %)startValue|(% colspan="1" style="width:862px" %)The startValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet is used for a numeric sequence, and indicates the starting point of the sequence. This value is mandatory for a numeric sequence to be expressed. 383 +|(% style="width:179px" %)endValue|(% colspan="1" style="width:862px" %)The endValue facet is used in conjunction with the isSequence and interval facets (which must be set in order to use this facet). This facet is used for a numeric sequence, and indicates that ending point (if any) of the sequence. 384 +|(% style="width:179px" %)timeInterval|(% colspan="1" style="width:862px" %)The timeInterval facet indicates the permitted duration in a time sequence. In order for this to be used, the isSequence facet must have a value of true. 385 +|(% style="width:179px" %)startTime|(% colspan="1" style="width:862px" %)The startTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This attribute is used for a time sequence, and indicates the start time of the sequence. This value is mandatory for a time sequence to be expressed. 386 +|(% style="width:179px" %)endTime|(% colspan="1" style="width:862px" %)The endTime facet is used in conjunction with the isSequence and timeInterval facets (which must be set in order to use this facet). This facet is used for a time sequence, and indicates that ending point (if any) of the sequence. 387 +|(% style="width:179px" %)minLength|(% colspan="1" style="width:862px" %)The minLength facet specifies the minimum and length of the value in characters. 388 +|(% style="width:179px" %)maxLength|(% colspan="1" style="width:862px" %)The maxLength facet specifies the maximum length of the value in characters. 389 +|(% style="width:179px" %)minValue|(% colspan="1" style="width:862px" %)The minValue facet is used for inclusive and exclusive ranges, indicating what the lower bound of the range is. If this is used with an inclusive range, a valid value will be greater than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g. this facet is used with an integer data type), the value is assumed to be inclusive. 390 +|(% style="width:179px" %)maxValue|(% colspan="1" style="width:862px" %)The maxValue facet is used for inclusive and exclusive ranges, indicating what the upper bound of the range is. If this is used with an inclusive range, a valid value will be less than or equal to the value specified here. If the inclusive and exclusive data type is not specified (e.g. this facet is used with an integer data type), the value is assumed to be inclusive. 391 +|(% style="width:179px" %)decimals|(% colspan="1" style="width:862px" %)The decimals facet indicates the number of characters allowed after the decimal separator. 392 +|(% style="width:179px" %)pattern|(% colspan="1" style="width:862px" %)The pattern attribute holds any regular expression permitted in the implementation syntax (e.g. W3C XML Schema). 421 421 )))
- 1747690333052-506.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.helena - Size
-
... ... @@ -1,0 +1,1 @@ 1 +67.4 KB - Content
- 1747916560887-863.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.helena - Size
-
... ... @@ -1,0 +1,1 @@ 1 +56.0 KB - Content
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,0 +1,1 @@ 1 +4