Changes for page 12 Constraints

Last modified by Artur on 2025/09/10 11:19

From version 7.2
edited by Helena
on 2025/05/16 14:00
Change comment: There is no comment for this version
To version 8.1
edited by Helena
on 2025/05/16 14:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -55,10 +55,8 @@
55 55  
56 56  The constraint mechanism allows specific constraints to be attached to a //ConstrainableArtefact//. With the exception of ReleaseCalendar these constraints specify a subset of the total set of values or keys that may be present in any of the //ConstrainableArtefacts//.
57 57  
58 -For instance, a DataStructureDefinition specifies, for each Dimension, the list of allowable code values. However, a specific Dataflow that uses the
58 +For instance, a DataStructureDefinition specifies, for each Dimension, the list of allowable code values. However, a specific Dataflow that uses the 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 -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.
61 -
62 62  A //ConstrainableArtefact// can have two types of //Constraint//s:
63 63  
64 64  1. DataConstraint – is used as a mechanism to specify, either the available set of keys (DataKeySet), or set of component values (CubeRegion) in a //DataSource// such as a Simpledatasource or a database (//QueryDatasource//), or the allowable keys that can be constructed from a DataStructureDefinition. Multiple such DataConstraints may be present for a //ConstrainableArtefact//. For instance, there may be a DataConstraint that specifies the values allowed for the //ConstrainableArtefact //(role is allowableContent) which can be used for validation or for constructing a partial code list for one Dimension, while another provides the validation for another Dimension within the same DSD.
... ... @@ -107,37 +107,23 @@
107 107  |**Class**|**Feature**|(% style="width:442px" %)**Description**
108 108  |//ConstrainableArt efact//|(((
109 109  Abstract Class Sub classes are:
110 -
111 111  Dataflow
112 -
113 113  DataProvider
114 -
115 115  DataStructureDefinition
116 -
117 117  Metadataflow
118 -
119 119  MetadataProvisionAgreement
120 -
121 121  MetadataSet
122 -
123 123  MetadataStructureDefinition
124 -
125 125  ProvisionAgreement
126 -
127 127  //QueryDatasource//
128 -
129 129  SimpleDatasource
130 130  )))|(% style="width:442px" %)An artefact that can have Constraints specified.
131 131  | |content|(% style="width:442px" %)Associates the metadata that constrains the content to be found in a data or metadata source linked to the Constrainable Artefact.
132 132  |//Constraint//|(((
133 133  Inherits from
134 -
135 135  //MaintainableArtefact//
136 -
137 137  Abstract class Sub classes are:
138 -
139 139  DataConstraint
140 -
141 141  MetadataConstraint
142 142  )))|(% style="width:442px" %)Specifies a subset of the definition of the allowable or actual content of a data or metadata source that can be derived from the Structure that defines code lists and other valid content.
143 143  | |+dataContentKeys|(% style="width:442px" %)(((
... ... @@ -199,11 +199,8 @@
199 199  | |+valuesFor|(% style="width:442px" %)Association to the Component in the Structure to which the Constrainable Artefact is linked, which defines the valid Representation for the Member Values.
200 200  |//SelectionValue//|(((
201 201  Abstract class. Sub classes are:
202 -
203 203  MemberValue
204 -
205 205  //TimeRangeValue//
206 -
207 207  LocalisedMemberValue
208 208  )))|(% style="width:442px" %)A collection of values for the Member Selections that, combined with other Member Selections, comprise the value content of the Cube Region.
209 209  | |validFrom|(% style="width:442px" %)Date from which the Selection Value is valid.
... ... @@ -210,7 +210,6 @@
210 210  | |validTo|(% style="width:442px" %)Date from which the Selection Value is superseded.
211 211  |MemberValue|(((
212 212  Inherits from
213 -
214 214  //SelectionValue//
215 215  )))|(% style="width:442px" %)A single value of the set of values for the Member Selection.
216 216  | |value|(% style="width:442px" %)A value of the member.
... ... @@ -217,7 +217,6 @@
217 217  | |cascadeValues|(% style="width:442px" %)Indicates that the child nodes of the member are included in the Member Selection (e.g., child codes)
218 218  |LocalisedMemberV alue|(((
219 219  Inherits from
220 -
221 221  //SelectionValue//
222 222  )))|(% style="width:442px" %)A single localised value of the set of values for a Member Selection.
223 223  | |value|(% style="width:442px" %)A value of the member.
... ... @@ -224,20 +224,14 @@
224 224  | |locale|(% style="width:442px" %)The locale that the values must adhere to in the dataset.
225 225  |//TimeRangeValue//|(((
226 226  Inherits from
227 -
228 228  //SelectionValue//
229 -
230 230  Abstract Class Concrete Classes:
231 -
232 232  BeforePeriod
233 -
234 234  AfterPeriod
235 -
236 236  RangePeriod
237 237  )))|(% style="width:442px" %)A time value or values that specifies the date or dates for which the constrained selection is valid.
238 238  |BeforePeriod|(((
239 239  Inherits from
240 -
241 241  //TimeRangeValue//
242 242  )))|(% style="width:442px" %)The period before which the constrained selection is valid.
243 243  | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period.
... ... @@ -244,7 +244,6 @@
244 244  | |period|(% style="width:442px" %)The time period which acts as the latest possible reported period
245 245  |AfterPeriod|(((
246 246  Inherits from
247 -
248 248  //TimeRangeValue//
249 249  )))|(% style="width:442px" %)The period after which the constrained selection is valid.
250 250  | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period.
... ... @@ -254,7 +254,6 @@
254 254  | |+end|(% style="width:442px" %)Association to the End Period.
255 255  |StartPeriod|(((
256 256  Inherits from
257 -
258 258  //TimeRangeValue//
259 259  )))|(% style="width:442px" %)The period from which the constrained selection is valid.
260 260  | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period.
... ... @@ -261,7 +261,6 @@
261 261  | |period|(% style="width:442px" %)The time period which acts as the start of the range
262 262  |EndPeriod|(((
263 263  Inherits from
264 -
265 265  //TimeRangeValue//
266 266  )))|(% style="width:442px" %)The period to which the constrained selection is valid.
267 267  | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period.