Changes for page 12 Constraints
Last modified by Helena K. on 2026/06/09 11:04
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -51,18 +51,18 @@ 51 51 52 52 ==== 12.3.2.1 Narrative ==== 53 53 54 -The [[constraint>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] mechanism allows specific[[constraints>>doc:sdmx:Glossary2\.1.Constraint.WebHome]]tobe attached to a //ConstrainableArtefact//. These[[constraints>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] specify a subset of the total set of values or keys that may be present in any of the //ConstrainableArtefacts//.54 +The constraint mechanism allows specific constraints to be attached to a //ConstrainableArtefact//. These constraints specify a subset of the total set of values or keys that may be present in any of the //ConstrainableArtefacts//. 55 55 56 -For instance, a DataStructureDefinition specifies, for each [[Dimension>>doc:sdmx:Glossary 2\.1.Dimension.WebHome]], the list of allowable[[code>>doc:sdmx:Glossary2\.1.Code.WebHome]]values. However, a specific[[Dataflow>>doc:sdmx:Glossary2\.1.Dataflow.WebHome]] that uses the56 +For instance, a DataStructureDefinition specifies, for each Dimension, the list of allowable code values. However, a specific Dataflow that uses the 57 57 58 -DataStructureDefinition may contain only a subset of the possible range of keys that is theoretically possible from the DataStructureDefinition definition (the total range of possibilities is sometimes called the Cartesian product of the [[dimension>>doc:sdmx:Glossary2\.1.Dimension.WebHome]]values). In addition to this, a DataProvider that is capable of supplying data according to the[[Dataflow>>doc:sdmx:Glossary2\.1.Dataflow.WebHome]]has a ProvisionAgreement, and the DataProvider may also wish to supply[[constraint>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] information which may further constrain the range of possibilities in order to describe the data that the provider can supply. It may also be useful to describe the content of a[[data source>>doc:sdmx:Glossary2\.1.Data source.WebHome]]in terms of the KeySets or CubeRegions contained within it.58 +DataStructureDefinition may contain only a subset of the possible range of keys that is theoretically possible from the DataStructureDefinition definition (the total range of possibilities is sometimes called the Cartesian product of the dimension values). In addition to this, a DataProvider that is capable of supplying data according to the Dataflow has a ProvisionAgreement, and the DataProvider may also wish to supply constraint information which may further constrain the range of possibilities in order to describe the data that the provider can supply. It may also be useful to describe the content of a data source in terms of the KeySets or CubeRegions contained within it. 59 59 60 -A //ConstrainableArtefact// can have two types of // [[Constraint>>doc:sdmx:Glossary 2\.1.Constraint.WebHome]]//s:60 +A //ConstrainableArtefact// can have two types of //Constraint//s: 61 61 62 -1. DataConstraint – is used as a mechanism to specify the set of keys (DataKeySet), or set of [[component>>doc:sdmx:Glossary2\.1.Component.WebHome]]values (CubeRegion) that can be reported against the target ConstrainableArtefact. Multiple such DataConstraints may be present for a //ConstrainableArtefact//.63 -1. MetadataConstraint – is used as a mechanism to specify a set of [[component>>doc:sdmx:Glossary2\.1.Component.WebHome]]values (MetadatTargetRegion) that can be reported against the target ConstrainableArtefact. Multiple such MetadataConstraints may be present for a //ConstrainableArtefact//.62 +1. DataConstraint – is used as a mechanism to specify the set of keys (DataKeySet), or set of component values (CubeRegion) that can be reported against the target ConstrainableArtefact. Multiple such DataConstraints may be present for a //ConstrainableArtefact//. 63 +1. MetadataConstraint – is used as a mechanism to specify a set of component values (MetadatTargetRegion) that can be reported against the target ConstrainableArtefact. Multiple such MetadataConstraints may be present for a //ConstrainableArtefact//. 64 64 65 -Note also that another possible type of a [[Constraint>>doc:sdmx:Glossary2\.1.Constraint.WebHome]] is available; that is a AvailableDataConstraint, this is used to report the data that exists in a[[data source>>doc:sdmx:Glossary 2\.1.Datasource.WebHome]].An AvailableDataConstraint is not a[[Maintainable Artefact>>doc:sdmx:Glossary2\.1.Maintainable artefact.WebHome]] as it is geneated dynamically based on the query. An AvailableDataConstraint contains only 1 Cube Region which is used to specify the valid values per[[Dimension>>doc:sdmx:Glossary2\.1.Dimension.WebHome]] of the[[DSD>>doc:sdmx:Glossary2\.1.Data structure definition.WebHome]] that is is attached to.65 +Note also that another possible type of a Constraint is available; that is a AvailableDataConstraint, this is used to report the data that exists in a data source. An AvailableDataConstraint is not a Maintainable Artefact as it is geneated dynamically based on the query. An AvailableDataConstraint contains only 1 Cube Region which is used to specify the valid values per Dimension of the DSD that is is attached to. 66 66 67 67 === 12.3.3 Relationship Class Diagram – Detail === 68 68