Changes for page 12 Constraints
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -29,23 +29,14 @@ 29 29 Any artefact that inherits from the //ConstrainableArtefact// interface can have constraints defined. The artefacts that can have constraint metadata attached are: 30 30 31 31 Dataflow 32 - 33 33 ProvisionAgreement 34 - 35 35 DataProvider – this is restricted to release calendar 36 - 37 37 DataStructureDefinition 38 - 39 39 Metadataflow 40 - 41 41 MetaDataProvider – this is restricted to release calendar 42 - 43 43 MetadataProvisionAgreement 44 - 45 45 MetadataSetMetadataStructureDefinition 46 - 47 47 SimpleDataSource – this is a registered data source where the registration references the actual Data Set or Metadata Set 48 - 49 49 //QueryDataSource// 50 50 51 51 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. As a DataProvider or a MetadataProvider does not link to any one specific DSD or MSD the type of information that can be contained in a Constraint linked to a DataProvider/MetadataProvider is restricted to ReleaseCalendar. ... ... @@ -64,10 +64,8 @@ 64 64 65 65 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//. 66 66 67 -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. 68 68 69 -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. 70 - 71 71 A //ConstrainableArtefact// can have two types of //Constraint//s: 72 72 73 73 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. ... ... @@ -116,37 +116,23 @@ 116 116 |**Class**|**Feature**|(% style="width:442px" %)**Description** 117 117 |//ConstrainableArt efact//|((( 118 118 Abstract Class Sub classes are: 119 - 120 120 Dataflow 121 - 122 122 DataProvider 123 - 124 124 DataStructureDefinition 125 - 126 126 Metadataflow 127 - 128 128 MetadataProvisionAgreement 129 - 130 130 MetadataSet 131 - 132 132 MetadataStructureDefinition 133 - 134 134 ProvisionAgreement 135 - 136 136 //QueryDatasource// 137 - 138 138 SimpleDatasource 139 139 )))|(% style="width:442px" %)An artefact that can have Constraints specified. 140 140 | |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. 141 141 |//Constraint//|((( 142 142 Inherits from 143 - 144 144 //MaintainableArtefact// 145 - 146 146 Abstract class Sub classes are: 147 - 148 148 DataConstraint 149 - 150 150 MetadataConstraint 151 151 )))|(% 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. 152 152 | |+dataContentKeys|(% style="width:442px" %)((( ... ... @@ -208,11 +208,8 @@ 208 208 | |+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. 209 209 |//SelectionValue//|((( 210 210 Abstract class. Sub classes are: 211 - 212 212 MemberValue 213 - 214 214 //TimeRangeValue// 215 - 216 216 LocalisedMemberValue 217 217 )))|(% 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. 218 218 | |validFrom|(% style="width:442px" %)Date from which the Selection Value is valid. ... ... @@ -219,7 +219,6 @@ 219 219 | |validTo|(% style="width:442px" %)Date from which the Selection Value is superseded. 220 220 |MemberValue|((( 221 221 Inherits from 222 - 223 223 //SelectionValue// 224 224 )))|(% style="width:442px" %)A single value of the set of values for the Member Selection. 225 225 | |value|(% style="width:442px" %)A value of the member. ... ... @@ -226,7 +226,6 @@ 226 226 | |cascadeValues|(% style="width:442px" %)Indicates that the child nodes of the member are included in the Member Selection (e.g., child codes) 227 227 |LocalisedMemberV alue|((( 228 228 Inherits from 229 - 230 230 //SelectionValue// 231 231 )))|(% style="width:442px" %)A single localised value of the set of values for a Member Selection. 232 232 | |value|(% style="width:442px" %)A value of the member. ... ... @@ -233,20 +233,14 @@ 233 233 | |locale|(% style="width:442px" %)The locale that the values must adhere to in the dataset. 234 234 |//TimeRangeValue//|((( 235 235 Inherits from 236 - 237 237 //SelectionValue// 238 - 239 239 Abstract Class Concrete Classes: 240 - 241 241 BeforePeriod 242 - 243 243 AfterPeriod 244 - 245 245 RangePeriod 246 246 )))|(% style="width:442px" %)A time value or values that specifies the date or dates for which the constrained selection is valid. 247 247 |BeforePeriod|((( 248 248 Inherits from 249 - 250 250 //TimeRangeValue// 251 251 )))|(% style="width:442px" %)The period before which the constrained selection is valid. 252 252 | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period. ... ... @@ -253,7 +253,6 @@ 253 253 | |period|(% style="width:442px" %)The time period which acts as the latest possible reported period 254 254 |AfterPeriod|((( 255 255 Inherits from 256 - 257 257 //TimeRangeValue// 258 258 )))|(% style="width:442px" %)The period after which the constrained selection is valid. 259 259 | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period. ... ... @@ -263,7 +263,6 @@ 263 263 | |+end|(% style="width:442px" %)Association to the End Period. 264 264 |StartPeriod|((( 265 265 Inherits from 266 - 267 267 //TimeRangeValue// 268 268 )))|(% style="width:442px" %)The period from which the constrained selection is valid. 269 269 | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period. ... ... @@ -270,7 +270,6 @@ 270 270 | |period|(% style="width:442px" %)The time period which acts as the start of the range 271 271 |EndPeriod|((( 272 272 Inherits from 273 - 274 274 //TimeRangeValue// 275 275 )))|(% style="width:442px" %)The period to which the constrained selection is valid. 276 276 | |isInclusive|(% style="width:442px" %)Indication of whether the date is inclusive in the period.