Changes for page 12 Constraints
Last modified by Helena K. on 2026/06/09 11:04
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 2 removed)
-
Objects (0 modified, 1 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,21 +4,19 @@ 4 4 5 5 == 12.1 Scope == 6 6 7 -The scope of this section is to describe the support in the metamodel for specifying both the access to and the content of a [[data source>>doc:sdmx:Glossary2\.1.Data source.WebHome]]. The informationmay be stored in7 +The scope of this section is to describe the support in the metamodel for specifying both the access to and the content of a data source. The information may be stored in a resource such as a registry for use by applications wishing to locate data and metadata which are available via the Internet. The //Constraint// is also used to specify a subset of a Codelist which may be used as a partial Codelist, relevant in the context of the artefact to which the //Constraint// is attached e.g., DataStructureDefinition, Dataflow, ProvisionAgreement, MetadataStructureDefinition, Metadataflow, MetadataProvisionAgreement. 8 8 9 - a resourcesuchas a registryfor use by applicationswishingto locate data andmetadata which areavailableviatheInternet. The //[[Constraint>>doc:sdmx:Glossary2\.1.Constraint.WebHome]]// is also usedto specifyasubsetofa[[Codelist>>doc:sdmx:Glossary 2\.1.Code list.WebHome]] which may be used as apartial [[Codelist>>doc:sdmx:Glossary2\.1.Code list.WebHome]],relevant in the context ofthe[[artefact>>doc:sdmx:Glossary2\.1.Artefact.WebHome]]towhichthe//[[Constraint>>doc:sdmx:Glossary 2\.1.Constraint.WebHome]]//isattached e.g., DataStructureDefinition, [[Dataflow>>doc:sdmx:Glossary 2\.1.Dataflow.WebHome]],ProvisionAgreement, MetadataStructureDefinition, [[Metadataflow>>doc:sdmx:Glossary 2\.1.Metadataflow.WebHome]], MetadataProvisionAgreement.9 +Note that in this metamodel the term data provider refers to both data and metadata providers. 10 10 11 - Notethatin this metamodel theterm[[dataprovider>>doc:sdmx:Glossary2\.1.Dataprovider.WebHome]]refersto bothdataandmetadataproviders.11 +The Dataflow and Metadataflow, themselves may be specified as containing only a subset of all the possible keys that could be derived from a DataStructureDefinition or MetadataStructureDefinition. Respectively, further subsets may be defined within a ProvisionAgreement and MetadataProvisionAgreement. 12 12 13 -The [[Dataflow>>doc:sdmx:Glossary 2\.1.Dataflow.WebHome]]and [[Metadataflow>>doc:sdmx:Glossary 2\.1.Metadataflow.WebHome]], themselves may be specified ascontainingonlyasubsetofallthepossible keys that couldbe derived from a DataStructureDefinition orMetadataStructureDefinition.Respectively, further subsets may be definedwithin a ProvisionAgreementandMetadataProvisionAgreement.13 +These specifications are called //Constraint// in this model. 14 14 15 -These specifications are called //[[Constraint>>doc:sdmx:Glossary 2\.1.Constraint.WebHome]]// in this model. 16 - 17 17 == 12.2 Inheritance == 18 18 19 19 === 12.2.1 Class Diagram of Constrainable Artefacts - Inheritance === 20 20 21 -[[image: image67.png]]19 +[[image:1749246701058-316.jpeg]]** ** 22 22 23 23 **Figure 41: Inheritance class diagram of constrainable and provisioning artefacts** 24 24 ... ... @@ -26,24 +26,24 @@ 26 26 27 27 ==== 12.2.2.1 Narrative ==== 28 28 29 -Any [[artefact>>doc:sdmx:Glossary2\.1.Artefact.WebHome]] that inherits from the //ConstrainableArtefact// interface can have[[constraints>>doc:sdmx:Glossary2\.1.Constraint.WebHome]]defined. The[[artefacts>>doc:sdmx:Glossary2\.1.Artefact.WebHome]] that can have[[constraint>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] metadata attached are:27 +Any artefact that inherits from the //ConstrainableArtefact// interface can have constraints defined. The artefacts that can have constraint metadata attached are: 30 30 31 - [[Dataflow>>doc:sdmx:Glossary 2\.1.Dataflow.WebHome]]29 +Dataflow 32 32 ProvisionAgreement 33 33 DataProvider 34 34 DataStructureDefinition 35 - [[Metadataflow>>doc:sdmx:Glossary 2\.1.Metadataflow.WebHome]]33 +Metadataflow 36 36 MetaDataProvider 37 37 MetadataProvisionAgreement 38 38 MetadataStructureDefinition 39 39 40 -Note that, because the // [[Constraint>>doc:sdmx:Glossary 2\.1.Constraint.WebHome]]// can specify a subset of the[[component>>doc:sdmx:Glossary2\.1.Component.WebHome]]values implied by a specific //Structure// (such as a specific DataStructureDefinition or specific MetadataStructureDefinition), the //ConstrainableArtefact//s must be associated with a specific //Structure//. Therefore, whilst the //[[Constraint>>doc:sdmx:Glossary 2\.1.Constraint.WebHome]]// itself may not be linked directly to a DataStructureDefinition or MetadataStructureDefinition, the[[artefact>>doc:sdmx:Glossary2\.1.Artefact.WebHome]] that it is constraining will be linked to a DataStructureDefinition or MetadataStructureDefinition. A DataProvider and MetadataProvider indirectly refernece DSDs and MSDs through their associated Data and Metadata[[Provision Agreements>>doc:sdmx:Glossary2\.1.Provisionagreement.WebHome]] as such these[[Constraints>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] are restricted to Cube Regions and are applicable only to the DSDs / MSDs which contain the Componets being restricted.38 +Note that, because the //Constraint// can specify a subset of the component values implied by a specific //Structure// (such as a specific DataStructureDefinition or specific MetadataStructureDefinition), the //ConstrainableArtefact//s must be associated with a specific //Structure//. Therefore, whilst the //Constraint// itself may not be linked directly to a DataStructureDefinition or MetadataStructureDefinition, the artefact that it is constraining will be linked to a DataStructureDefinition or MetadataStructureDefinition. A DataProvider and MetadataProvider indirectly refernece DSDs and MSDs through their associated Data and Metadata Provision Agreements as such these Constraints are restricted to Cube Regions and are applicable only to the DSDs / MSDs which contain the Componets being restricted. 41 41 42 42 == 12.3 Constraints == 43 43 44 44 === 12.3.1 Relationship Class Diagram – high level view === 45 45 46 -[[image: image68.png]]44 +[[image:1749246701062-899.jpeg]] 47 47 48 48 **Figure 42: Relationship class diagram showing constraint metadata** 49 49 ... ... @@ -115,7 +115,7 @@ 115 115 Metadataflow 116 116 MetadataProvisionAgreement 117 117 MetadataSet 118 -MetadataStructureDefinition 116 +MetadataStructureDefini tion 119 119 ProvisionAgreement 120 120 //QueryDatasource// 121 121 SimpleDatasource ... ... @@ -164,6 +164,9 @@ 164 164 A value of lessThan or lessThanOrEqual indicates that the value is the end or a range (exclusive or inclusive, respectively). 165 165 In the absence of the opposite bound being specified for the range, this bound is to be treated as infinite (e.g., any time period after the beginning of the provided time period for greaterThanOrEqual) 166 166 ))) 165 + 166 +(% style="width:978.835px" %) 167 +|(% style="width:172px" %)**Class**|(% style="width:231px" %)**Feature**|(% style="width:572px" %)**Description** 167 167 |(% style="width:172px" %)CubeRegion|(% style="width:231px" %) |(% style="width:572px" %)A set of Components and their values that defines a subset or “slice” of the total range of possible content of a data structure to which the Constrainable Artefact is linked. 168 168 |(% style="width:172px" %) |(% style="width:231px" %)isIncluded|(% style="width:572px" %)Indicates whether the Cube Region is included in the constraint definition or excluded from the constraint definition. 169 169 |(% style="width:172px" %) |(% style="width:231px" %)+member|(% style="width:572px" %)Associates the set of Components that define the subset of values.
- image67.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -80.5 KB - Content
- image68.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -163.3 KB - Content
- 1749246701058-316.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.helena - Size
-
... ... @@ -1,0 +1,1 @@ 1 +13.7 KB - Content
- 1749246701062-899.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +xwiki:XWiki.helena - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.9 KB - Content
- SKMS.Methodology.Code.MethodologyClass[0]
-
- Index
-
... ... @@ -1,1 +1,0 @@ 1 -13
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,0 +1,1 @@ 1 +13