Changes for page 9 Structure Set and Mappings
Last modified by Helena on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,43 +1,44 @@ 1 -{{box title="**Contents**"}} 2 -{{toc/}} 3 -{{/box}} 1 += {{id name="_Toc371045"/}}9 Structure Set and Mappings = 4 4 5 5 == {{id name="_Toc371046"/}}9.1 Scope == 6 6 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:5 +A ,,StructureSet,, allows components in one structure to be mapped to components 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 mapped, and the components that can be mapped within 1788 these structures are: 8 8 7 +: 8 + 9 9 ((( 10 -(% style="width:982.294px" %) 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 15 -|(% style="width:218px" %)Organisation Scheme|(% style="width:761px" %)((( 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) 10 +|**Structure Type**|**Component type** 11 +|Codelist|Code 12 +|Category Scheme|Category 13 +|Concept Scheme|Concept 14 +|Organisation Scheme|((( 15 +Organisation – this allows mapping any type of Organisation to any type of Organisation (e.g. a Data Provider to an 16 + 17 +Organisation Unit) 17 17 ))) 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 19 -|(% style="width:218px" %)Data Structure Definition|(% style="width:761px" %)((( 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]] 19 +|Hierarchical Codelist|Hierachical Code to Code or vice-versa 20 +|Data Structure Definition|((( 21 +Dimension, Measure Dimension, Time Dimension. Data Attribute, Primary 22 + 23 +Measure 21 21 ))) 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" %)None24 -| (% style="width:218px" %)[[Metadataflow>>doc:sdmx:Glossary.Metadataflow.WebHome]]Definition|(% style="width:761px" %)None25 +|Metadata Structure Definition|Target Object, Metadata Attribute 26 +|Dataflow Definition|None 27 +|Metadataflow Definition|None 25 25 ))) 26 26 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.30 +The ,,StructureSet,, can contain one or more “maps” and can define related structures (via the association +relatedStructure) which group related DataStructureDefinitions, MetadataStructureDefinitions, DataflowDefinintions, 28 28 32 +MetadataflowDefinintions. 33 + 29 29 == {{id name="_Toc371047"/}}9.2 Structure Set == 30 30 31 31 === {{id name="_Toc371048"/}}9.2.1 Class Diagram – Inheritance === 32 32 33 -[[image:1747903802866-183.png]] 34 - 35 35 **Figure 32: Inheritance Class Diagram of the Structure Set** 36 36 37 37 === {{id name="_Toc371049"/}}9.2.2 Class Diagram – Relationship === 38 38 39 -[[image:1747903826235-315.png]] 40 - 41 41 **Figure 33: Relationship Class diagram of the Structure Set** 42 42 43 43 === {{id name="_Toc371050"/}}9.2.3 Explanation of the Diagram === ... ... @@ -46,40 +46,58 @@ 46 46 47 47 The StructureSet is a //MaintainableArtefact//. It can contain: 48 48 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. 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. 50 +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 53 53 52 +DataStructureDefinition defining a part of the cube. 53 + 54 +1. A set of StructureMaps which define which components of one structure are equivalent to those in another in a ComponentMap. 55 +1. A set of ItemSchemeMaps which define the mapping between two concrete classes of ItemScheme, and the mapping of the Items in these schemes, such as the mapping of Codes in two Codelists.. 56 +1. A set of HybridCodelistMaps which define the mapping between a Codelist and a HierachicalCodelist. 57 + 54 54 The StructureMap references two //Structure//s or //StructureUsage//s. In concrete terms these references will be to DataStructureDefinitions, MetadataStructureDefinitions, DataflowDefinitions or MetadataflowDefinitions. 55 55 56 56 ==== 9.2.3.2 Definitions ==== 57 57 58 -(% style="width:911.294px" %) 59 -|**Class**|**Feature**|(% style="width:537px" %)**Description** 62 +|**Class**|**Feature**|**Description** 60 60 |StructureSet|((( 61 61 Inherits from 65 + 62 62 //MaintainableArtefact// 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.Datastructure 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.Itemscheme.WebHome]] (% style="color:#e74c3c" %)Map67 +)))|A maintainable collection of structural maps that link components together in a source/target relationship where there is a semantic equivalence between the source and the target components. 68 +| |+relatedStructure|Association to a set of Data Structure Definitions and Metadata Structure Definitions. 69 +| |+relatedStructureUsage|Association to a set of Dataflow Definition and Metadataflow Definition. 70 +| |+map|Association to Structure Map. 71 +| |+itemSchemeMap|Association to Item Scheme Map 68 68 |StructureMap|((( 69 69 Inherits from 74 + 70 70 //NameableArtefact// 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.76 +)))|Links a source and target structure where there is a semantic equivalence between the source and the target structures. 77 +| |sourceStructure|Association to the source Structure. 78 +| |targetStructure|Association to the target Structure which must be of the same type as the source Structure. 79 +| |sourceStructureUsage|Association to the source Structure Usage. 80 +| |targetStructureUsage|Association to the target Structure Usage which must be of the same type as the source Structure Usage. 76 76 77 77 == {{id name="_Toc371051"/}}9.3 Structure Map == 78 78 79 79 === {{id name="_Toc371052"/}}9.3.1 Class Diagram === 80 80 81 -: [[image:1747903909967-668.png]] 86 +: 87 +:: 88 +::: 89 +:::: 90 +::::: 91 +:::::: 92 +::::::: 93 +:::::::: 94 +::::::::: 95 +:::::::::: 82 82 97 +((( 98 +|<<enumeration>> ToValueType 99 +|name : String description : String id : String 100 +))) 101 + 83 83 **Figure 34: Class diagram of the Structure Map** 84 84 85 85 === {{id name="_Toc371053"/}}9.3.2 Explanation of the Diagram === ... ... @@ -86,51 +86,56 @@ 86 86 87 87 ==== 9.3.2.1 Narrative ==== 88 88 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.108 +The StructureMap contains a set of ComponentMaps, each one indicating equivalence between Components of the referenced //Structure//. ComponentMap has a //RepresentationMapping //which can be one of the concete classes of //ItemSchemeMap// (e.g. for a Dimension this would be a CodelistMap) or ToTextFormat which takes values: id, name, description. This instructs mapping tools to use the id, name or description of a coded component to determine equivalence with an uncoded component's value. 90 90 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).110 +An example of a ComponentMap is linking the source //Component// that is a Dimension in the source DataStructureDefinition (identified in the StructureMap) to the equivalent target //Component// that is a Dimension in the target DataStructureDefinition). 92 92 93 93 ==== 9.3.2.2 Definitions ==== 94 94 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" %)((( 114 +|**Class**|**Feature**|**Description** 115 +|StructureMap|((( 98 98 Inherits from 117 + 99 99 //NameableArtefact// 100 -)))| (% style="width:554px" %)Links a source and target structure where there is a semantic equivalence between the source and the target structures.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(%%).103 -| (% style="width:198px" %)ComponentMap|(% style="width:219px" %)(((119 +)))|Links a source and target structure where there is a semantic equivalence between the source and the target structures. 120 +| |alias|An alternate identification of the map, that allows the relation of multiple maps to be expressed by the sharing of this value. 121 +| |+map|Association to the Component Map. 122 +|ComponentMap|((( 104 104 Inherits from 124 + 105 105 //AnnotableArtefact// 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.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 RepresentationMap109 -| (%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.Itemscheme.WebHome]] or a(% style="color:#e74c3c" %)mapping(%%)to text.112 -| (% style="width:198px" %)//Representation(% style="color:#e74c3c" %)Mapping//|(% style="width:219px" %)(((126 +)))|Links a source and target Component where there is a semantic equivalence between the source and the target Components. 127 +| |alias|An alternate identification of the map, that allows the relation of multiple maps to be expressed by the sharing of this value. 128 +| |preferredLanguage|Specifies the language to use for the content of the To Text Format option of RepresentationMap 129 +| |+source|Association to the source Component. 130 +| |+target|Association to the target Component. 131 +| |+contentMap|Association to the constructs that map the content of the Components – this will be either one of sub classes of Item Scheme or a mapping to text. 132 +|//Representation Mapping//|((( 113 113 AbstractClass Sub classes: 134 + 114 114 SchemeMap 136 + 115 115 ToTextFormat 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]].117 -| (% style="width:198px" %)SchemeMap|(% style="width:219px" %)(((138 +)))|Defines the mapping of the content of the source Component to the content of the target Component. 139 +|SchemeMap|((( 118 118 Inherits from 119 -//RepresentationMapping// 120 -)))|(% style="width:554px" %)Associates an [[Item Scheme>>doc:sdmx:Glossary.Item scheme.WebHome]] (% style="color:#e74c3c" %)Map 121 -|(% style="width:198px" %)ToTextFormat|(% style="width:219px" %)((( 141 + 142 +//RepresentationMapping // 143 +)))|Associates an Item Scheme Map 144 +|ToTextFormat|((( 122 122 Inherits from 123 -//RepresentationMapping// 124 -)))|(% style="width:554px" %)Defines the text format 125 -|(% style="width:198px" %) |(% style="width:219px" %)textFormat|(% style="width:554px" %)Text format type. 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]]. 127 -|(% style="width:198px" %)ToValueType|(% style="width:219px" %) |(% style="width:554px" %)Enumeration of the construct in the Item. 128 128 147 +//RepresentationMapping // 148 +)))|Defines the text format 149 +| |textFormat|Text format type. 150 +| |toValueType|Identifies the construct to be taken from the Item of the source Component when mapping the content of the source Component to the content of the target Component. 151 +|ToValueType| |Enumeration of the construct in the Item. 152 + 129 129 == {{id name="_Toc371054"/}}9.4 Item Scheme Map == 130 130 131 131 === {{id name="_Toc371055"/}}9.4.1 Context === 132 132 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:157 +The ItemSchemeMap is used to associate the //Item//s in two different //ItemSchemes//. This is a generic mechanism that can be used to map //Item//s. Specific models exist for mapping schemes where there is a semantic equivalence between //Item//s in the //ItemScheme//. The model supports the mapping of any two //ItemScheme//s of the same type. These are: 134 134 135 135 * ConceptScheme 136 136 * CategoryScheme ... ... @@ -150,108 +150,134 @@ 150 150 151 151 Both the ItemSchemeMap and the ItemAssociation inherit from NameableArtefact. 152 152 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 anOrganisationUnitScheme).177 +Each of ConceptSchemeMap, CategorySchemeMap, CodelistMap and //OrganisationSchemeMap, //ReportingTaxonomyMap provides a mechanism for specifying semantic equivalence between the items (Concept, Category,Code, //Organisation, //ReportingCategory) in the scheme. Note that any type of //OrganisationScheme //and //Organisation// can be mapped (e.g. an Agency in an AgencyScheme can be mapped to an OrganisationUnit in an 154 154 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.179 +OrganisationUnitScheme). 156 156 181 +Each scheme map identifies a +source and +target scheme whose content is to be 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 Concepts, Categorys, Codes, Organisations, and ReportingCategorys are semantically equivalent and a shared alias can be specified to refer to a set of mapped concepts to facilitate querying. 182 + 157 157 ==== 9.4.3.2 Definitions ==== 158 158 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// 185 +|**Class**|**Feature**|**Description** 186 +|//ItemSchemeMap//|Inherits from|Associates Schemes two Item 187 +| |((( 188 +//NameableArtefact// 189 + 190 +//Sub Classes// 191 + 165 165 ConceptSchemeMap 193 + 166 166 CategorySchemeMap 195 + 167 167 CodelistMap 197 + 168 168 OrganisationSchemeMap 199 + 169 169 ReportingTaxonomyScheme 170 -(% style="color:#e74c3c" %)Map 171 -)))|(% style="width:375px" %) 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]]. 174 -|(% style="width:196px" %) |(% style="width:212px" %)ItemAssociation|(% style="width:375px" %)Association to the Item Association. 175 -|(% style="width:196px" %)//ItemAssociation//|(% style="width:212px" %)((( 201 + 202 +Map 203 +)))| 204 +| |source|Association to the source Item Scheme. 205 +| |target|Association to the target Item Scheme. 206 +| |ItemAssociation|Association to the Item Association. 207 +|//ItemAssociation//|((( 176 176 Inherits from 177 -//AnnotableArtefact 178 -Sub Classes// 209 + 210 +//AnnotableArtefact// 211 + 212 +//Sub Classes// 213 + 179 179 ConceptMap 215 + 180 180 CategoryMap 217 + 181 181 CodeMap 219 + 182 182 OrganisationMap 221 + 183 183 ReportingCategoryMap 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" %)(((223 +)))| 224 +| |source|Association to the source Item. 225 +| |target|Association to the target Item. 226 +|ConceptSchemeMap|((( 188 188 Inherits from 228 + 189 189 //ItemSchemeMap// 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]].193 -| (% style="width:196px" %)ConceptMap|(% style="width:212px" %)(((230 +)))|Associates a source and target Concept Scheme 231 +| |/source|Association to the source Concept Scheme. 232 +| |/target|Association to the target Concept Scheme. 233 +|ConceptMap|((( 194 194 Inherits from 235 + 195 195 //ItemAssociation// 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(%%).199 -| (% style="width:196px" %)CodelistMap|(% style="width:212px" %)(((237 +)))|Associates a source and target Concept. 238 +| |/source|Association to the source Concept. 239 +| |/target|Association to the target Concept. 240 +|CodelistMap|((( 200 200 Inherits from 242 + 201 201 //ItemSchemeMap// 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.244 +)))|Associates a source and target Code list. 245 +| |/source|Association to the source Code list. 246 +| |/target|Association to the target Code list. 205 205 206 -(% style="width:793.294px" %) 207 -|(% style="width:167px" %)CodeMap|(% style="width:218px" %)((( 248 +|CodeMap|((( 208 208 Inherits from 250 + 209 209 //ItemAssociation// 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]].213 -| (% style="width:167px" %)CategorySchemeMap|(% style="width:218px" %)(((252 +)))|Associates a source and target Code. 253 +| |/source|Association to the source Code. 254 +| |/target|Association to the target Code. 255 +|CategorySchemeMap|((( 214 214 Inherits from 257 + 215 215 //ItemSchemeMap// 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.219 -| (% style="width:167px" %)CategoryMap|(% style="width:218px" %)(((259 +)))|Associates a source and target Category Scheme. 260 +| |/source|Association to the source Category Scheme. 261 +| |/target|Association to the target Category Scheme. 262 +|CategoryMap|((( 220 220 Inherits from 264 + 221 221 //ItemAssociation// 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]].225 -| (% style="width:167px" %)OrganisationSchemeMap|(% style="width:218px" %)(((266 +)))|Associates a source and target Category. 267 +| |/source|Association to the source Category. 268 +| |/target|Association to the target Category. 269 +|OrganisationSchemeMap|((( 226 226 Inherits from 271 + 227 227 //ItemSchemeMap// 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" %)(((273 +)))|Associates a source and target Organisation Scheme. 274 +| |/source|Association to the source Organisation Scheme. 275 +| |/target|Association to the target Organisation Scheme. 276 +|OrganisationMap|((( 232 232 Inherits from 278 + 233 233 //ItemAssociation// 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" %)(((280 +)))|Associates a source and target Organisation. 281 +| |/source|Association to the source Organisation. 282 +| |/target|Association to the target Organisation. 283 +|ReportingTaxonomyMap|((( 238 238 Inherits from 285 + 239 239 //ItemSchemeMap// 240 -)))|( % style="width:373px" %)(((287 +)))|((( 241 241 Associates a source and target Reporting 242 242 243 243 Taxonomy. 244 244 ))) 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" %)(((292 +| |/source|Association to the source Reporting Taxonomy. 293 +| |/target|Association to the target Reporting Taxonomy. 294 +|ReportingCategoryMap|((( 248 248 Inherits from 296 + 249 249 //ItemAssociation// 250 -)))|(% style="width:373px" %)((( 251 -Associates a source and target Reporting [[Category>>doc:sdmx:Glossary.Category.WebHome]]. 298 +)))|((( 299 +Associates a source and target Reporting 300 + 301 +Category. 252 252 ))) 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]].303 +| |/source|Association to the source Reporting Category. 304 +| |/target|Association to the target Reporting Category. 255 255 256 256 == {{id name="_Toc371058"/}}9.5 Hybrid Codelist Map == 257 257 ... ... @@ -261,72 +261,90 @@ 261 261 262 262 **Figure 36: Class diagram of the Hybrid Codelist Map** 263 263 264 -=== {{id name="_Toc371060"/}}9.5.2 Explanation of the Diagram === 314 +===== {{id name="_Toc371060"/}}9.5.2 Explanation of the Diagram ===== 265 265 266 266 ==== 9.5.2.1 Narrative ==== 267 267 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.318 +The HybridCodelistMap maps the content of a Codelist and a HierachicalCodelist. It contains a mapping of the codes in the two schemes (HybridCodeMap). The HybridCodeMap maps either a Code or HierachicalCode to a Code or HierarchicalCode. The HierarchicalCode is identified by a combination of the Hierarchy and the HierarchicalCode. 269 269 270 270 ==== 9.5.2.2 Definitions ==== 271 271 272 -(% style="width:992.294px" %) 273 -|(% style="width:219px" %)**Class**|(% style="width:289px" %)**Feature**|(% style="width:481px" %)**Description** 274 -|(% style="width:219px" %)HybridCodelist (% style="color:#e74c3c" %)Map|(% style="width:289px" %)((( 322 +|**Class**|**Feature**|**Description** 323 +|HybridCodelist Map|((( 275 275 Inherits from 325 + 276 276 //NameableArtefact// 277 -)))| (% style="width:481px" %)Associates a Codelist and a Hierarchical Codelist.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.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.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(%%).282 -| (% style="width:219px" %)//SourceList//|(% style="width:289px" %)(((327 +)))|Associates a Codelist and a Hierarchical Codelist. 328 +| |alias|An alternate identification of the map, that allows the relation of multiple maps to be expressed by the sharing of this value. 329 +| |+source|Association to the source List. 330 +| |+target|Association to the target List. 331 +| |+hybridCodeMap|Association to the set of Hybrid Code Maps in the Hybrid Codelist Map. 332 +|//SourceList//|((( 283 283 Abstract Class 334 + 284 284 Sub classes 336 + 285 285 SourceCodelist 338 + 286 286 SourceHierarchical 340 + 287 287 Codelist 288 -)))| (%style="width:481px" %)289 -| (% style="width:219px" %)//TargetList//|(% style="width:289px" %)(((342 +)))| 343 +|//TargetList//|((( 290 290 Abstract Class 345 + 291 291 Sub classes 347 + 292 292 TargetCodelist 349 + 293 293 TargetHierarchical 351 + 294 294 Codelist 295 -)))| (%style="width:481px" %)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(%%).300 -| (% style="width:219px" %)HybridCodeMap|(% style="width:289px" %)(((353 +)))| 354 +|SourceCodelist// //| |Identifies the Codelist where this is the source of the map. 355 +|TargetCodelist// //| |Identifies the Codelist where this is the target of the map. 356 +|SourceHierarchical Codelist// //| |Identifies the Hierarchical Codelist where this is the source of the map. 357 +|TargetHierarchical Codelist// //| |Identifies the Hierarchical Codelist where this is the target of the map. 358 +|HybridCodeMap|((( 301 301 Inherits from 360 + 302 302 //AnnotableArtefact// 303 -)))|( % style="width:481px" %)(((304 -Associates the source and target [[codes>>doc:sdmx:Glossary.Code.WebHome]]in362 +)))|((( 363 +Associates the source and target codes in 305 305 306 -Hybrid Codelist (% style="color:#e74c3c" %)Map(%%).365 +Hybrid Codelist Map. 307 307 ))) 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(%%).310 -| (% style="width:219px" %)//SourceCodeMap//|(% style="width:289px" %)(((367 +| |+source|Associates the Source Code Map. 368 +| |+target|Associates the Target Code Map. 369 +|//SourceCodeMap//|((( 311 311 Abstract Class 371 + 312 312 Sub classes 373 + 313 313 SourceCode 375 + 314 314 SourceHierarchical 315 -[[Code>>doc:sdmx:Glossary.Code.WebHome]] 316 -)))|(% style="width:481px" %) 317 -|(% style="width:219px" %)//TargetCodeMap//|(% style="width:289px" %)((( 377 + 378 +Code 379 +)))| 380 +|//TargetCodeMap//|((( 318 318 Abstract Class 382 + 319 319 Sub classes 384 + 320 320 TargetCode 386 + 321 321 TargetHierarchical 322 -[[Code>>doc:sdmx:Glossary.Code.WebHome]] 323 -)))|(% style="width:481px" %) 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. 329 -|(% style="width:219px" %) |(% style="width:289px" %)((( 388 + 389 +Code 390 +)))| 391 +|SourceCode// //| |Identifies the Code where this is the source of the map. 392 +|TargetCode// //| |Identifies the Code where this is the target of the map. 393 +|SourceHierarchical Code// //| |Identifies the Hierarchical Code where this is the source of the map 394 +|TargetHierarchical Code// //| |Identifies the Hierarchical Code where this is the target of the map. 395 +|HierarchicalCode Reference| |References both the Hierarchy and the Hierarchical Code in a Hierarchical Codelist. 396 +| |((( 330 330 +hierarchy 398 + 331 331 +codeAssociation 332 -)))| (% style="width:481px" %)Associates the[[Hierarchical Code>>doc:sdmx:Glossary.Hierarchicalcode.WebHome]]in the[[Hierarchy>>doc:sdmx:Glossary.Hierarchy.WebHome]]of the Hierarchical Codelist.400 +)))|Associates the Hierarchical Code in the Hierarchy of the Hierarchical Codelist.
- 1747903802866-183.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -40.7 KB - Content
- 1747903826235-315.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -39.8 KB - Content
- 1747903909967-668.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -56.9 KB - Content