Wiki source code of 9 Structure Set and Mappings
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
7.1 | 1 | {{box title="**Contents**"}} |
| 2 | {{toc/}} | ||
| 3 | {{/box}} | ||
| |
2.1 | 4 | |
| 5 | == {{id name="_Toc371046"/}}9.1 Scope == | ||
| 6 | |||
| |
10.1 | 7 | A StructureSet allows [[components>>doc:sdmx:Glossary.Component.WebHome]] in one structure to be (% style="color:#e74c3c" %)mapped(%%) to [[components>>doc:sdmx:Glossary.Component.WebHome]] in another structure of the same type. In this context the term “structure” is used loosely to 1786 include types of //ItemScheme//, types of //Structure//, and types of //StructureUsage//. The allowable structures that can be (% style="color:#e74c3c" %)mapped(%%), and the [[components>>doc:sdmx:Glossary.Component.WebHome]] that can be (% style="color:#e74c3c" %)mapped(%%) within 1788 these structures are: |
| |
2.1 | 8 | |
| 9 | ((( | ||
| |
7.1 | 10 | (% style="width:982.294px" %) |
| |
10.1 | 11 | |(% style="width:218px" %)**Structure Type**|(% style="width:761px" %)**[[Component>>doc:sdmx:Glossary.Component.WebHome]] type** |
| 12 | |(% style="width:218px" %)Codelist|(% style="width:761px" %)[[Code>>doc:sdmx:Glossary.Code.WebHome]] | ||
| 13 | |(% style="width:218px" %)[[Category>>doc:sdmx:Glossary.Category.WebHome]] Scheme|(% style="width:761px" %)[[Category>>doc:sdmx:Glossary.Category.WebHome]] | ||
| 14 | |(% style="width:218px" %)[[Concept Scheme>>doc:sdmx:Glossary.Concept scheme.WebHome]]|(% style="width:761px" %)(% style="color:#e74c3c" %)Concept | ||
| |
7.1 | 15 | |(% style="width:218px" %)Organisation Scheme|(% style="width:761px" %)((( |
| |
10.1 | 16 | Organisation – this allows (% style="color:#e74c3c" %)mapping(%%) any type of Organisation to any type of Organisation (e.g. a [[Data Provider>>doc:sdmx:Glossary.Data provider.WebHome]] to an Organisation Unit) |
| |
2.1 | 17 | ))) |
| |
10.1 | 18 | |(% style="width:218px" %)Hierarchical Codelist|(% style="width:761px" %)Hierachical [[Code>>doc:sdmx:Glossary.Code.WebHome]] to [[Code>>doc:sdmx:Glossary.Code.WebHome]] or vice-versa |
| |
7.1 | 19 | |(% style="width:218px" %)Data Structure Definition|(% style="width:761px" %)((( |
| |
10.1 | 20 | [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]], [[Measure>>doc:sdmx:Glossary.Measure.WebHome]] [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]], Time [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]]. Data [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]], Primary [[Measure>>doc:sdmx:Glossary.Measure.WebHome]] |
| |
2.1 | 21 | ))) |
| |
10.1 | 22 | |(% style="width:218px" %)Metadata Structure Definition|(% style="width:761px" %)Target Object, Metadata [[Attribute>>doc:sdmx:Glossary.Attribute.WebHome]] |
| 23 | |(% style="width:218px" %)[[Dataflow>>doc:sdmx:Glossary.Dataflow.WebHome]] Definition|(% style="width:761px" %)None | ||
| 24 | |(% style="width:218px" %)[[Metadataflow>>doc:sdmx:Glossary.Metadataflow.WebHome]] Definition|(% style="width:761px" %)None | ||
| |
2.1 | 25 | ))) |
| 26 | |||
| |
10.1 | 27 | The StructureSet can contain one or more “(% style="color:#e74c3c" %)maps(%%)” and can define related structures (via the association +relatedStructure) which group related DataStructureDefinitions, MetadataStructureDefinitions, DataflowDefinintions, MetadataflowDefinintions. |
| |
2.1 | 28 | |
| 29 | == {{id name="_Toc371047"/}}9.2 Structure Set == | ||
| 30 | |||
| 31 | === {{id name="_Toc371048"/}}9.2.1 Class Diagram – Inheritance === | ||
| 32 | |||
| |
7.1 | 33 | [[image:1747903802866-183.png]] |
| 34 | |||
| |
2.1 | 35 | **Figure 32: Inheritance Class Diagram of the Structure Set** |
| 36 | |||
| 37 | === {{id name="_Toc371049"/}}9.2.2 Class Diagram – Relationship === | ||
| 38 | |||
| |
7.1 | 39 | [[image:1747903826235-315.png]] |
| 40 | |||
| |
2.1 | 41 | **Figure 33: Relationship Class diagram of the Structure Set** |
| 42 | |||
| 43 | === {{id name="_Toc371050"/}}9.2.3 Explanation of the Diagram === | ||
| 44 | |||
| 45 | ==== 9.2.3.1 Narrative ==== | ||
| 46 | |||
| 47 | The StructureSet is a //MaintainableArtefact//. It can contain: | ||
| 48 | |||
| |
7.1 | 49 | 1. A set of references to concrete sub-classes of //Structure// and //StructureUsage// (DataStructureDefinition, MetadataStructureDefinition, DataflowDefinition or MetadataflowDefinition) to indicate that a relationship exists between them. For example there may be a group of DataStructureDefinition which, together, form the definition of a cube, each DataStructureDefinition defining a part of the cube. |
| |
10.1 | 50 | 1. A set of StructureMaps which define which [[components>>doc:sdmx:Glossary.Component.WebHome]] of one structure are equivalent to those in another in a ComponentMap. |
| 51 | 1. A set of ItemSchemeMaps which define the (% style="color:#e74c3c" %)mapping(%%) between two concrete classes of ItemScheme, and the (% style="color:#e74c3c" %)mapping(%%) of the Items in these schemes, such as the (% style="color:#e74c3c" %)mapping(%%) of [[Codes>>doc:sdmx:Glossary.Code.WebHome]] in two Codelists.. | ||
| 52 | 1. A set of HybridCodelistMaps which define the (% style="color:#e74c3c" %)mapping(%%) between a Codelist and a HierachicalCodelist. | ||
| |
2.1 | 53 | |
| 54 | The StructureMap references two //Structure//s or //StructureUsage//s. In concrete terms these references will be to DataStructureDefinitions, MetadataStructureDefinitions, DataflowDefinitions or MetadataflowDefinitions. | ||
| 55 | |||
| 56 | ==== 9.2.3.2 Definitions ==== | ||
| 57 | |||
| |
7.1 | 58 | (% style="width:911.294px" %) |
| 59 | |**Class**|**Feature**|(% style="width:537px" %)**Description** | ||
| |
2.1 | 60 | |StructureSet|((( |
| 61 | Inherits from | ||
| 62 | //MaintainableArtefact// | ||
| |
10.1 | 63 | )))|(% style="width:537px" %)A maintainable collection of structural (% style="color:#e74c3c" %)maps(%%) that link [[components>>doc:sdmx:Glossary.Component.WebHome]] together in a source/target relationship where there is a semantic equivalence between the source and the target [[components>>doc:sdmx:Glossary.Component.WebHome]]. |
| 64 | | |+relatedStructure|(% style="width:537px" %)Association to a set of [[Data Structure Definitions>>doc:sdmx:Glossary.Data structure definition.WebHome]] and Metadata Structure Definitions. | ||
| 65 | | |+relatedStructureUsage|(% style="width:537px" %)Association to a set of [[Dataflow>>doc:sdmx:Glossary.Dataflow.WebHome]] Definition and [[Metadataflow>>doc:sdmx:Glossary.Metadataflow.WebHome]] Definition. | ||
| 66 | | |+map|(% style="width:537px" %)Association to Structure (% style="color:#e74c3c" %)Map(%%). | ||
| 67 | | |+itemSchemeMap|(% style="width:537px" %)Association to [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]] (% style="color:#e74c3c" %)Map | ||
| |
2.1 | 68 | |StructureMap|((( |
| 69 | Inherits from | ||
| 70 | //NameableArtefact// | ||
| |
7.1 | 71 | )))|(% style="width:537px" %)Links a source and target structure where there is a semantic equivalence between the source and the target structures. |
| 72 | | |sourceStructure|(% style="width:537px" %)Association to the source Structure. | ||
| 73 | | |targetStructure|(% style="width:537px" %)Association to the target Structure which must be of the same type as the source Structure. | ||
| 74 | | |sourceStructureUsage|(% style="width:537px" %)Association to the source Structure Usage. | ||
| 75 | | |targetStructureUsage|(% style="width:537px" %)Association to the target Structure Usage which must be of the same type as the source Structure Usage. | ||
| |
2.1 | 76 | |
| 77 | == {{id name="_Toc371051"/}}9.3 Structure Map == | ||
| 78 | |||
| 79 | === {{id name="_Toc371052"/}}9.3.1 Class Diagram === | ||
| 80 | |||
| |
7.1 | 81 | : [[image:1747903909967-668.png]] |
| |
2.1 | 82 | |
| 83 | **Figure 34: Class diagram of the Structure Map** | ||
| 84 | |||
| 85 | === {{id name="_Toc371053"/}}9.3.2 Explanation of the Diagram === | ||
| 86 | |||
| 87 | ==== 9.3.2.1 Narrative ==== | ||
| 88 | |||
| |
10.1 | 89 | The StructureMap contains a set of ComponentMaps, each one indicating equivalence between [[Components>>doc:sdmx:Glossary.Component.WebHome]] of the referenced //Structure//. ComponentMap has a //RepresentationMapping //which can be one of the concete classes of //ItemSchemeMap// (e.g. for a [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] this would be a CodelistMap) or ToTextFormat which takes values: id, name, description. This instructs (% style="color:#e74c3c" %)mapping(%%) tools to use the id, name or description of a coded [[component>>doc:sdmx:Glossary.Component.WebHome]] to determine equivalence with an uncoded [[component>>doc:sdmx:Glossary.Component.WebHome]]'s value. |
| |
2.1 | 90 | |
| |
10.1 | 91 | An example of a ComponentMap is linking the source //[[Component>>doc:sdmx:Glossary.Component.WebHome]]// that is a [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] in the source DataStructureDefinition (identified in the StructureMap) to the equivalent target //[[Component>>doc:sdmx:Glossary.Component.WebHome]]// that is a [[Dimension>>doc:sdmx:Glossary.Dimension.WebHome]] in the target DataStructureDefinition). |
| |
2.1 | 92 | |
| 93 | ==== 9.3.2.2 Definitions ==== | ||
| 94 | |||
| |
7.1 | 95 | (% style="width:973.294px" %) |
| 96 | |(% style="width:198px" %)**Class**|(% style="width:219px" %)**Feature**|(% style="width:554px" %)**Description** | ||
| 97 | |(% style="width:198px" %)StructureMap|(% style="width:219px" %)((( | ||
| |
2.1 | 98 | Inherits from |
| 99 | //NameableArtefact// | ||
| |
7.1 | 100 | )))|(% style="width:554px" %)Links a source and target structure where there is a semantic equivalence between the source and the target structures. |
| |
10.1 | 101 | |(% style="width:198px" %) |(% style="width:219px" %)alias|(% style="width:554px" %)An alternate identification of the (% style="color:#e74c3c" %)map(%%), that allows the relation of multiple (% style="color:#e74c3c" %)maps(%%) to be expressed by the sharing of this value. |
| 102 | |(% style="width:198px" %) |(% style="width:219px" %)+map|(% style="width:554px" %)Association to the [[Component>>doc:sdmx:Glossary.Component.WebHome]] (% style="color:#e74c3c" %)Map(%%). | ||
| |
7.1 | 103 | |(% style="width:198px" %)ComponentMap|(% style="width:219px" %)((( |
| |
2.1 | 104 | Inherits from |
| 105 | //AnnotableArtefact// | ||
| |
10.1 | 106 | )))|(% style="width:554px" %)Links a source and target [[Component>>doc:sdmx:Glossary.Component.WebHome]] where there is a semantic equivalence between the source and the target [[Components>>doc:sdmx:Glossary.Component.WebHome]]. |
| 107 | |(% style="width:198px" %) |(% style="width:219px" %)alias|(% style="width:554px" %)An alternate identification of the (% style="color:#e74c3c" %)map(%%), that allows the relation of multiple (% style="color:#e74c3c" %)maps(%%) to be expressed by the sharing of this value. | ||
| |
7.1 | 108 | |(% style="width:198px" %) |(% style="width:219px" %)preferredLanguage|(% style="width:554px" %)Specifies the language to use for the content of the To Text Format option of RepresentationMap |
| |
10.1 | 109 | |(% style="width:198px" %) |(% style="width:219px" %)+source|(% style="width:554px" %)Association to the source [[Component>>doc:sdmx:Glossary.Component.WebHome]]. |
| 110 | |(% style="width:198px" %) |(% style="width:219px" %)+target|(% style="width:554px" %)Association to the target [[Component>>doc:sdmx:Glossary.Component.WebHome]]. | ||
| 111 | |(% style="width:198px" %) |(% style="width:219px" %)+contentMap|(% style="width:554px" %)Association to the constructs that (% style="color:#e74c3c" %)map(%%) the content of the [[Components>>doc:sdmx:Glossary.Component.WebHome]] – this will be either one of sub classes of [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]] or a (% style="color:#e74c3c" %)mapping(%%) to text. | ||
| 112 | |(% style="width:198px" %)//Representation (% style="color:#e74c3c" %)Mapping//|(% style="width:219px" %)((( | ||
| |
2.1 | 113 | AbstractClass Sub classes: |
| 114 | SchemeMap | ||
| 115 | ToTextFormat | ||
| |
10.1 | 116 | )))|(% style="width:554px" %)Defines the (% style="color:#e74c3c" %)mapping(%%) of the content of the source [[Component>>doc:sdmx:Glossary.Component.WebHome]] to the content of the target [[Component>>doc:sdmx:Glossary.Component.WebHome]]. |
| |
7.1 | 117 | |(% style="width:198px" %)SchemeMap|(% style="width:219px" %)((( |
| |
2.1 | 118 | Inherits from |
| |
7.1 | 119 | //RepresentationMapping// |
| |
10.1 | 120 | )))|(% style="width:554px" %)Associates an [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]] (% style="color:#e74c3c" %)Map |
| |
7.1 | 121 | |(% style="width:198px" %)ToTextFormat|(% style="width:219px" %)((( |
| |
2.1 | 122 | Inherits from |
| |
7.1 | 123 | //RepresentationMapping// |
| 124 | )))|(% style="width:554px" %)Defines the text format | ||
| 125 | |(% style="width:198px" %) |(% style="width:219px" %)textFormat|(% style="width:554px" %)Text format type. | ||
| |
10.1 | 126 | |(% style="width:198px" %) |(% style="width:219px" %)toValueType|(% style="width:554px" %)Identifies the construct to be taken from the Item of the source [[Component>>doc:sdmx:Glossary.Component.WebHome]] when (% style="color:#e74c3c" %)mapping(%%) the content of the source [[Component>>doc:sdmx:Glossary.Component.WebHome]] to the content of the target [[Component>>doc:sdmx:Glossary.Component.WebHome]]. |
| |
7.1 | 127 | |(% style="width:198px" %)ToValueType|(% style="width:219px" %) |(% style="width:554px" %)Enumeration of the construct in the Item. |
| |
2.1 | 128 | |
| 129 | == {{id name="_Toc371054"/}}9.4 Item Scheme Map == | ||
| 130 | |||
| 131 | === {{id name="_Toc371055"/}}9.4.1 Context === | ||
| 132 | |||
| |
10.1 | 133 | The ItemSchemeMap is used to associate the //Item//s in two different //ItemSchemes//. This is a generic mechanism that can be used to (% style="color:#e74c3c" %)map(%%) //Item//s. Specific models exist for (% style="color:#e74c3c" %)mapping(%%) schemes where there is a semantic equivalence between //Item//s in the //ItemScheme//. The model supports the (% style="color:#e74c3c" %)mapping(%%) of any two //ItemScheme//s of the same type. These are: |
| |
2.1 | 134 | |
| 135 | * ConceptScheme | ||
| 136 | * CategoryScheme | ||
| 137 | * //OrganisationScheme// | ||
| 138 | * Codelist | ||
| 139 | * ReportingTaxonomy | ||
| 140 | |||
| 141 | === {{id name="_Toc371056"/}}9.4.2 Class Diagram === | ||
| 142 | |||
| 143 | [[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_f7e5c308.png||height="343" width="553"]] | ||
| 144 | |||
| 145 | **Figure 35: Class diagram of the Item Scheme Map** | ||
| 146 | |||
| 147 | === {{id name="_Toc371057"/}}9.4.3 Explanation of the Diagram === | ||
| 148 | |||
| 149 | ==== 9.4.3.1 Narrative ==== | ||
| 150 | |||
| 151 | Both the ItemSchemeMap and the ItemAssociation inherit from NameableArtefact. | ||
| 152 | |||
| |
10.1 | 153 | Each of ConceptSchemeMap, CategorySchemeMap, CodelistMap and //OrganisationSchemeMap, //ReportingTaxonomyMap provides a mechanism for specifying semantic equivalence between the items ((% style="color:#e74c3c" %)Concept(%%), [[Category>>doc:sdmx:Glossary.Category.WebHome]],[[Code>>doc:sdmx:Glossary.Code.WebHome]], //Organisation, //ReportingCategory) in the scheme. Note that any type of //OrganisationScheme //and //Organisation// can be (% style="color:#e74c3c" %)mapped(%%) (e.g. an Agency in an AgencyScheme can be (% style="color:#e74c3c" %)mapped(%%) to an OrganisationUnit in an OrganisationUnitScheme). |
| |
2.1 | 154 | |
| |
10.1 | 155 | Each scheme (% style="color:#e74c3c" %)map(%%) identifies a +source and +target scheme whose content is to be (% style="color:#e74c3c" %)mapped(%%). Note that many schemes can be joined together via a set of pair-wise mappings. The ConceptMap, CategoryMap, CodelistMap, OrganisationMap,and ReportingTaxonomyMap denotes which (% style="color:#e74c3c" %)Concepts(%%), [[Categorys>>doc:sdmx:Glossary.Category.WebHome]], [[Codes>>doc:sdmx:Glossary.Code.WebHome]], Organisations, and ReportingCategorys are semantically equivalent and a shared alias can be specified to refer to a set of (% style="color:#e74c3c" %)mapped(%%) (% style="color:#e74c3c" %)concepts(%%) to facilitate querying. |
| |
2.1 | 156 | |
| 157 | ==== 9.4.3.2 Definitions ==== | ||
| 158 | |||
| |
7.1 | 159 | (% style="width:792.294px" %) |
| 160 | |(% style="width:196px" %)**Class**|(% style="width:212px" %)**Feature**|(% style="width:375px" %)**Description** | ||
| 161 | |(% style="width:196px" %)//ItemSchemeMap//|(% style="width:212px" %)Inherits from|(% style="width:375px" %)Associates Schemes two Item | ||
| 162 | |(% style="width:196px" %) |(% style="width:212px" %)((( | ||
| 163 | //NameableArtefact | ||
| 164 | Sub Classes// | ||
| |
2.1 | 165 | ConceptSchemeMap |
| 166 | CategorySchemeMap | ||
| 167 | CodelistMap | ||
| 168 | OrganisationSchemeMap | ||
| 169 | ReportingTaxonomyScheme | ||
| |
10.1 | 170 | (% style="color:#e74c3c" %)Map |
| |
7.1 | 171 | )))|(% style="width:375px" %) |
| |
10.1 | 172 | |(% style="width:196px" %) |(% style="width:212px" %)source|(% style="width:375px" %)Association to the source [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]]. |
| 173 | |(% style="width:196px" %) |(% style="width:212px" %)target|(% style="width:375px" %)Association to the target [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]]. | ||
| |
7.1 | 174 | |(% style="width:196px" %) |(% style="width:212px" %)ItemAssociation|(% style="width:375px" %)Association to the Item Association. |
| 175 | |(% style="width:196px" %)//ItemAssociation//|(% style="width:212px" %)((( | ||
| |
2.1 | 176 | Inherits from |
| |
7.1 | 177 | //AnnotableArtefact |
| 178 | Sub Classes// | ||
| |
2.1 | 179 | ConceptMap |
| 180 | CategoryMap | ||
| 181 | CodeMap | ||
| 182 | OrganisationMap | ||
| 183 | ReportingCategoryMap | ||
| |
7.1 | 184 | )))|(% style="width:375px" %) |
| 185 | |(% style="width:196px" %) |(% style="width:212px" %)source|(% style="width:375px" %)Association to the source Item. | ||
| 186 | |(% style="width:196px" %) |(% style="width:212px" %)target|(% style="width:375px" %)Association to the target Item. | ||
| 187 | |(% style="width:196px" %)ConceptSchemeMap|(% style="width:212px" %)((( | ||
| |
2.1 | 188 | Inherits from |
| 189 | //ItemSchemeMap// | ||
| |
10.1 | 190 | )))|(% style="width:375px" %)Associates a source and target [[Concept Scheme>>doc:sdmx:Glossary.Concept scheme.WebHome]] |
| 191 | |(% style="width:196px" %) |(% style="width:212px" %)/source|(% style="width:375px" %)Association to the source [[Concept Scheme>>doc:sdmx:Glossary.Concept scheme.WebHome]]. | ||
| 192 | |(% style="width:196px" %) |(% style="width:212px" %)/target|(% style="width:375px" %)Association to the target [[Concept Scheme>>doc:sdmx:Glossary.Concept scheme.WebHome]]. | ||
| |
7.1 | 193 | |(% style="width:196px" %)ConceptMap|(% style="width:212px" %)((( |
| |
2.1 | 194 | Inherits from |
| 195 | //ItemAssociation// | ||
| |
10.1 | 196 | )))|(% style="width:375px" %)Associates a source and target (% style="color:#e74c3c" %)Concept(%%). |
| 197 | |(% style="width:196px" %) |(% style="width:212px" %)/source|(% style="width:375px" %)Association to the source (% style="color:#e74c3c" %)Concept(%%). | ||
| 198 | |(% style="width:196px" %) |(% style="width:212px" %)/target|(% style="width:375px" %)Association to the target (% style="color:#e74c3c" %)Concept(%%). | ||
| |
7.1 | 199 | |(% style="width:196px" %)CodelistMap|(% style="width:212px" %)((( |
| |
2.1 | 200 | Inherits from |
| 201 | //ItemSchemeMap// | ||
| |
10.1 | 202 | )))|(% style="width:375px" %)Associates a source and target [[Code>>doc:sdmx:Glossary.Code.WebHome]] list. |
| 203 | |(% style="width:196px" %) |(% style="width:212px" %)/source|(% style="width:375px" %)Association to the source [[Code>>doc:sdmx:Glossary.Code.WebHome]] list. | ||
| 204 | |(% style="width:196px" %) |(% style="width:212px" %)/target|(% style="width:375px" %)Association to the target [[Code>>doc:sdmx:Glossary.Code.WebHome]] list. | ||
| |
2.1 | 205 | |
| |
7.1 | 206 | (% style="width:793.294px" %) |
| 207 | |(% style="width:167px" %)CodeMap|(% style="width:218px" %)((( | ||
| |
2.1 | 208 | Inherits from |
| 209 | //ItemAssociation// | ||
| |
10.1 | 210 | )))|(% style="width:373px" %)Associates a source and target [[Code>>doc:sdmx:Glossary.Code.WebHome]]. |
| 211 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source [[Code>>doc:sdmx:Glossary.Code.WebHome]]. | ||
| 212 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target [[Code>>doc:sdmx:Glossary.Code.WebHome]]. | ||
| |
7.1 | 213 | |(% style="width:167px" %)CategorySchemeMap|(% style="width:218px" %)((( |
| |
2.1 | 214 | Inherits from |
| 215 | //ItemSchemeMap// | ||
| |
10.1 | 216 | )))|(% style="width:373px" %)Associates a source and target [[Category>>doc:sdmx:Glossary.Category.WebHome]] Scheme. |
| 217 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source [[Category>>doc:sdmx:Glossary.Category.WebHome]] Scheme. | ||
| 218 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target [[Category>>doc:sdmx:Glossary.Category.WebHome]] Scheme. | ||
| |
7.1 | 219 | |(% style="width:167px" %)CategoryMap|(% style="width:218px" %)((( |
| |
2.1 | 220 | Inherits from |
| 221 | //ItemAssociation// | ||
| |
10.1 | 222 | )))|(% style="width:373px" %)Associates a source and target [[Category>>doc:sdmx:Glossary.Category.WebHome]]. |
| 223 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source [[Category>>doc:sdmx:Glossary.Category.WebHome]]. | ||
| 224 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target [[Category>>doc:sdmx:Glossary.Category.WebHome]]. | ||
| |
7.1 | 225 | |(% style="width:167px" %)OrganisationSchemeMap|(% style="width:218px" %)((( |
| |
2.1 | 226 | Inherits from |
| 227 | //ItemSchemeMap// | ||
| |
7.1 | 228 | )))|(% style="width:373px" %)Associates a source and target Organisation Scheme. |
| 229 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source Organisation Scheme. | ||
| 230 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target Organisation Scheme. | ||
| 231 | |(% style="width:167px" %)OrganisationMap|(% style="width:218px" %)((( | ||
| |
2.1 | 232 | Inherits from |
| 233 | //ItemAssociation// | ||
| |
7.1 | 234 | )))|(% style="width:373px" %)Associates a source and target Organisation. |
| 235 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source Organisation. | ||
| 236 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target Organisation. | ||
| 237 | |(% style="width:167px" %)ReportingTaxonomyMap|(% style="width:218px" %)((( | ||
| |
2.1 | 238 | Inherits from |
| 239 | //ItemSchemeMap// | ||
| |
7.1 | 240 | )))|(% style="width:373px" %)((( |
| |
2.1 | 241 | Associates a source and target Reporting |
| 242 | |||
| 243 | Taxonomy. | ||
| 244 | ))) | ||
| |
7.1 | 245 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source Reporting Taxonomy. |
| 246 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target Reporting Taxonomy. | ||
| 247 | |(% style="width:167px" %)ReportingCategoryMap|(% style="width:218px" %)((( | ||
| |
2.1 | 248 | Inherits from |
| 249 | //ItemAssociation// | ||
| |
7.1 | 250 | )))|(% style="width:373px" %)((( |
| |
10.1 | 251 | Associates a source and target Reporting [[Category>>doc:sdmx:Glossary.Category.WebHome]]. |
| |
2.1 | 252 | ))) |
| |
10.1 | 253 | |(% style="width:167px" %) |(% style="width:218px" %)/source|(% style="width:373px" %)Association to the source Reporting [[Category>>doc:sdmx:Glossary.Category.WebHome]]. |
| 254 | |(% style="width:167px" %) |(% style="width:218px" %)/target|(% style="width:373px" %)Association to the target Reporting [[Category>>doc:sdmx:Glossary.Category.WebHome]]. | ||
| |
2.1 | 255 | |
| 256 | == {{id name="_Toc371058"/}}9.5 Hybrid Codelist Map == | ||
| 257 | |||
| |
11.1 | 258 | === {{id name="_Toc371059"/}}9.5.1 Class Diagram === |
| |
2.1 | 259 | |
| 260 | [[image:SDMX_2-1_SECTION_2_InformationModel_2020-07_44d2e12d.png||height="305" width="558"]] | ||
| 261 | |||
| 262 | **Figure 36: Class diagram of the Hybrid Codelist Map** | ||
| 263 | |||
| |
7.1 | 264 | === {{id name="_Toc371060"/}}9.5.2 Explanation of the Diagram === |
| |
2.1 | 265 | |
| 266 | ==== 9.5.2.1 Narrative ==== | ||
| 267 | |||
| |
10.1 | 268 | The HybridCodelistMap (% style="color:#e74c3c" %)maps(%%) the content of a Codelist and a HierachicalCodelist. It contains a (% style="color:#e74c3c" %)mapping(%%) of the [[codes>>doc:sdmx:Glossary.Code.WebHome]] in the two schemes (HybridCodeMap). The HybridCodeMap (% style="color:#e74c3c" %)maps(%%) either a [[Code>>doc:sdmx:Glossary.Code.WebHome]] or HierachicalCode to a [[Code>>doc:sdmx:Glossary.Code.WebHome]] or HierarchicalCode. The HierarchicalCode is identified by a combination of the [[Hierarchy>>doc:sdmx:Glossary.Hierarchy.WebHome]] and the HierarchicalCode. |
| |
2.1 | 269 | |
| 270 | ==== 9.5.2.2 Definitions ==== | ||
| 271 | |||
| |
7.1 | 272 | (% style="width:992.294px" %) |
| 273 | |(% style="width:219px" %)**Class**|(% style="width:289px" %)**Feature**|(% style="width:481px" %)**Description** | ||
| |
10.1 | 274 | |(% style="width:219px" %)HybridCodelist (% style="color:#e74c3c" %)Map|(% style="width:289px" %)((( |
| |
2.1 | 275 | Inherits from |
| 276 | //NameableArtefact// | ||
| |
7.1 | 277 | )))|(% style="width:481px" %)Associates a Codelist and a Hierarchical Codelist. |
| |
10.1 | 278 | |(% style="width:219px" %) |(% style="width:289px" %)alias|(% style="width:481px" %)An alternate identification of the (% style="color:#e74c3c" %)map(%%), that allows the relation of multiple (% style="color:#e74c3c" %)maps(%%) to be expressed by the sharing of this value. |
| |
7.1 | 279 | |(% style="width:219px" %) |(% style="width:289px" %)+source|(% style="width:481px" %)Association to the source List. |
| 280 | |(% style="width:219px" %) |(% style="width:289px" %)+target|(% style="width:481px" %)Association to the target List. | ||
| |
10.1 | 281 | |(% style="width:219px" %) |(% style="width:289px" %)+hybridCodeMap|(% style="width:481px" %)Association to the set of Hybrid [[Code>>doc:sdmx:Glossary.Code.WebHome]] (% style="color:#e74c3c" %)Maps(%%) in the Hybrid Codelist (% style="color:#e74c3c" %)Map(%%). |
| |
7.1 | 282 | |(% style="width:219px" %)//SourceList//|(% style="width:289px" %)((( |
| |
2.1 | 283 | Abstract Class |
| 284 | Sub classes | ||
| 285 | SourceCodelist | ||
| 286 | SourceHierarchical | ||
| 287 | Codelist | ||
| |
7.1 | 288 | )))|(% style="width:481px" %) |
| 289 | |(% style="width:219px" %)//TargetList//|(% style="width:289px" %)((( | ||
| |
2.1 | 290 | Abstract Class |
| 291 | Sub classes | ||
| 292 | TargetCodelist | ||
| 293 | TargetHierarchical | ||
| 294 | Codelist | ||
| |
7.1 | 295 | )))|(% style="width:481px" %) |
| |
10.1 | 296 | |(% style="width:219px" %)SourceCodelist|(% style="width:289px" %) |(% style="width:481px" %)Identifies the Codelist where this is the source of the (% style="color:#e74c3c" %)map(%%). |
| 297 | |(% style="width:219px" %)TargetCodelist|(% style="width:289px" %) |(% style="width:481px" %)Identifies the Codelist where this is the target of the (% style="color:#e74c3c" %)map(%%). | ||
| 298 | |(% style="width:219px" %)SourceHierarchical Codelist|(% style="width:289px" %) |(% style="width:481px" %)Identifies the Hierarchical Codelist where this is the source of the (% style="color:#e74c3c" %)map(%%). | ||
| 299 | |(% style="width:219px" %)TargetHierarchical Codelist// //|(% style="width:289px" %) |(% style="width:481px" %)Identifies the Hierarchical Codelist where this is the target of the (% style="color:#e74c3c" %)map(%%). | ||
| |
7.1 | 300 | |(% style="width:219px" %)HybridCodeMap|(% style="width:289px" %)((( |
| |
2.1 | 301 | Inherits from |
| 302 | //AnnotableArtefact// | ||
| |
7.1 | 303 | )))|(% style="width:481px" %)((( |
| |
10.1 | 304 | Associates the source and target [[codes>>doc:sdmx:Glossary.Code.WebHome]] in |
| |
2.1 | 305 | |
| |
10.1 | 306 | Hybrid Codelist (% style="color:#e74c3c" %)Map(%%). |
| |
2.1 | 307 | ))) |
| |
10.1 | 308 | |(% style="width:219px" %) |(% style="width:289px" %)+source|(% style="width:481px" %)Associates the Source [[Code>>doc:sdmx:Glossary.Code.WebHome]] (% style="color:#e74c3c" %)Map(%%). |
| 309 | |(% style="width:219px" %) |(% style="width:289px" %)+target|(% style="width:481px" %)Associates the Target [[Code>>doc:sdmx:Glossary.Code.WebHome]] (% style="color:#e74c3c" %)Map(%%). | ||
| |
7.1 | 310 | |(% style="width:219px" %)//SourceCodeMap//|(% style="width:289px" %)((( |
| |
2.1 | 311 | Abstract Class |
| 312 | Sub classes | ||
| 313 | SourceCode | ||
| 314 | SourceHierarchical | ||
| |
10.1 | 315 | [[Code>>doc:sdmx:Glossary.Code.WebHome]] |
| |
7.1 | 316 | )))|(% style="width:481px" %) |
| 317 | |(% style="width:219px" %)//TargetCodeMap//|(% style="width:289px" %)((( | ||
| |
2.1 | 318 | Abstract Class |
| 319 | Sub classes | ||
| 320 | TargetCode | ||
| 321 | TargetHierarchical | ||
| |
10.1 | 322 | [[Code>>doc:sdmx:Glossary.Code.WebHome]] |
| |
7.1 | 323 | )))|(% style="width:481px" %) |
| |
10.1 | 324 | |(% style="width:219px" %)SourceCode|(% style="width:289px" %) |(% style="width:481px" %)Identifies the [[Code>>doc:sdmx:Glossary.Code.WebHome]] where this is the source of the (% style="color:#e74c3c" %)map(%%). |
| 325 | |(% style="width:219px" %)TargetCode|(% style="width:289px" %) |(% style="width:481px" %)Identifies the [[Code>>doc:sdmx:Glossary.Code.WebHome]] where this is the target of the (% style="color:#e74c3c" %)map(%%). | ||
| 326 | |(% style="width:219px" %)SourceHierarchical [[Code>>doc:sdmx:Glossary.Code.WebHome]]|(% style="width:289px" %) |(% style="width:481px" %)Identifies the [[Hierarchical Code>>doc:sdmx:Glossary.Hierarchical code.WebHome]] where this is the source of the (% style="color:#e74c3c" %)map | ||
| 327 | |(% style="width:219px" %)TargetHierarchical [[Code>>doc:sdmx:Glossary.Code.WebHome]]|(% style="width:289px" %) |(% style="width:481px" %)Identifies the [[Hierarchical Code>>doc:sdmx:Glossary.Hierarchical code.WebHome]] where this is the target of the (% style="color:#e74c3c" %)map(%%). | ||
| 328 | |(% style="width:219px" %)HierarchicalCode Reference|(% style="width:289px" %) |(% style="width:481px" %)References both the [[Hierarchy>>doc:sdmx:Glossary.Hierarchy.WebHome]] and the [[Hierarchical Code>>doc:sdmx:Glossary.Hierarchical code.WebHome]] in a Hierarchical Codelist. | ||
| |
7.1 | 329 | |(% style="width:219px" %) |(% style="width:289px" %)((( |
| |
2.1 | 330 | +hierarchy |
| 331 | +codeAssociation | ||
| |
10.1 | 332 | )))|(% style="width:481px" %)Associates the [[Hierarchical Code>>doc:sdmx:Glossary.Hierarchical code.WebHome]] in the [[Hierarchy>>doc:sdmx:Glossary.Hierarchy.WebHome]] of the Hierarchical Codelist. |