Changes for page 10 Constraints
Last modified by Artur on 2025/09/10 11:19
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
-
Objects (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Methodology.SDMX 2\.1 Standards\. Section 2\. Information model\: UML conceptual design.WebHome - Content
-
... ... @@ -1,6 +1,4 @@ 1 -{{box title="**Contents**"}} 2 -{{toc/}} 3 -{{/box}} 1 += {{id name="_Toc371061"/}}10 Constraints = 4 4 5 5 == {{id name="_Toc371062"/}}10.1 Scope == 6 6 ... ... @@ -18,8 +18,6 @@ 18 18 19 19 === {{id name="_Toc371064"/}}10.2.1 Class Diagram of Constrainable Artefacts - Inheritance === 20 20 21 -[[image:1747904390682-586.png]] 22 - 23 23 **Figure 37: Inheritance class diagram of constrainable and provisioning artefacts** 24 24 25 25 === {{id name="_Toc371065"/}}10.2.2 Explanation of the Diagram === ... ... @@ -44,8 +44,6 @@ 44 44 45 45 === {{id name="_Toc371067"/}}10.3.1 Relationship Class Diagram – high level view === 46 46 47 -[[image:1747904434659-835.png]] 48 - 49 49 **Figure 38: Relationship class diagram showing constraint metadata** 50 50 51 51 === {{id name="_Toc371068"/}}10.3.2 Explanation of the Diagram === ... ... @@ -65,12 +65,8 @@ 65 65 66 66 === {{id name="_Toc371069"/}}10.3.3 Relationship Class Diagram – Detail === 67 67 68 -[[image:1747904480223-768.png]] 69 - 70 70 **Figure 39: Constraints - Key Set Constraints** 71 71 72 -[[image:1747904523939-355.png]] 73 - 74 74 **Figure 40: Constraints - Cube Region and Metadata Target Region Constraints** 75 75 76 76 ==== 10.3.3.1 Explanation of the Diagram ==== ... ... @@ -79,10 +79,13 @@ 79 79 80 80 A //Constraint// has a choice of two ways of specifying value sub sets: 81 81 82 -1. As a set of keys that can be present in the DataSet (DataKeySet) or MetadataSet (MetadataKeySet). Each DataKey or MetadataKey specifies a number of ComponentValues each of which reference a //Component// (e.g. Dimension, TargetObject). Each ComponentValue is a value that may be present for a //Component// of a structure when contained in a DataSet or MetadataSet. The MetadataKeySet must also identify the MetadataTarget as there can be many of each of these in a MetadataStructureDefinition. For the DataKeySet the equivalent identification is not necessary as there is only one DimensionDescriptor and one AttributeDescriptor. 72 +1. As a set of keys that can be present in the DataSet (DataKeySet) or MetadataSet 73 + 74 +(MetadataKeySet). Each DataKey or MetadataKey specifies a number of ComponentValues each of which reference a //Component// (e.g. Dimension, TargetObject). Each ComponentValue is a value that may be present for a //Component// of a structure when contained in a DataSet or MetadataSet. The MetadataKeySet must also identify the MetadataTarget as there can be many of each of these in a MetadataStructureDefinition. For the DataKeySet the equivalent identification is not necessary as there is only one DimensionDescriptor and one AttributeDescriptor. 75 + 83 83 1. As a set of CubeRegions or MetadataTaregetRegions each of which defines a “slice” of the total structure (MemberSelection) in terms of one or more MemberValues that may be present for a //Component// of a structure when contained in a //DataSet// or MetadataSet. 84 84 85 -The difference between (1) and (2) above is that in (1) a complete key is defined whereas in (2) above the “slice” defines a list of possible values for each of the// Component//s but does not specify specific key combinations. In addition, in (1) the association between //Component// and DataKeyValue or MetadataKeyValue is constrained to the components that comprise the key or identifier, whereas in (2) it can contain other component types (such as attributes). The value in ComponentValue.value and MemberValue.value must be consistent with the //Representation// declared for the //Component// in the DataStructureDefinition or MetadataStructureDefinition. Note that in all cases the “operator” on the value is deemed to be “equals”. Furthermore, it is possible in a MemberValue to specify that child values (e.g. child codes) are included in the constraint by means of the cascadeValues attribute.78 +The difference between (1) and (2) above is that in (1) a complete key is defined whereas in (2) above the “slice” defines a list of possible values for each of the// Component//s but does not specify specific key combinations. In addition, in (1) the association between //Component// and DataKeyValue or MetadataKeyValue is constrained to the components that comprise the key or identifier, whereas in (2) it can contain other component types (such as attributes). The value in ComponentValue.value and MemberValue.value must be consistent with the //Representation// declared for the //Component// in the DataStructureDefinition or MetadataStructureDefinition. Note that in all cases the “operator” on the value is deemed to be “equals”. Furthermore, it is possible in a MemberValue to specify that child values (e.g. child codes) are included in the constraint by means of the cascadeValues attribute. 86 86 87 87 It is possible to define for the DataKeySet, DataKey, MetadataKeySet, MetadataKey, CubeRegion, MetadataTargetRegion, and MemberSelection whether the set is included (isIncluded = “true”) or excluded (isIncluded = ”false”) from the constraint definition. This attribute is useful if, for example, only a small sub-set of the possible values are not included in the set, then this smaller sub-set can be defined and excluded from the constraint. Note that if the child construct is “included: and the parent construct is “excluded” then the child construct is included in the list of constructs that are “excluded”. 88 88 ... ... @@ -114,8 +114,8 @@ 114 114 115 115 Definition 116 116 )))|An artefact that can have Constraints specified. 117 -| |content|Associates the metadata that constrains the content to be found in a data or metadata source linked to the Constrainable Artefact.118 -| |attachment|Associates the metadata that constrains the valid content of a Constrainable Artefact to which metadata may be attached.110 +||content|Associates the metadata that constrains the content to be found in a data or metadata source linked to the Constrainable Artefact. 111 +||attachment|Associates the metadata that constrains the valid content of a Constrainable Artefact to which metadata may be attached. 119 119 |//Constraint//|((( 120 120 Inherits from 121 121 ... ... @@ -127,20 +127,20 @@ 127 127 128 128 ContentConstraint 129 129 )))|Specifies a sub set 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. 130 -| |+availableDates// //|Association to the time period that identifies the time range for which data or metadata are available in the data source.131 -| |+dataContentKeys|Association to a sub set of Data Key Sets (i.e. value combinations) that can be derived from the definition of the structure to which the Constrainable Artefact is linked.132 -| |+metadataContentKeys|Association to a sub set of Metdata Key Sets (i.e. value combinations) that can be derived from the definition of the Structure to which the Constrainable Artefact is linke133 -| |+dataContentRegion|Association to a sub set of component values that can be derived from the Data Structure Definition to which the Constrainable Artefact is linked.134 -| |+metadataContentRegion|Association to a sub set of component values that can be derived from the Metadata Structure Definition to which the Constrainable Artefact is linked.123 +||+availableDates// //|Association to the time period that identifies the time range for which data or metadata are available in the data source. 124 +||+dataContentKeys|Association to a sub set of Data Key Sets (i.e. value combinations) that can be derived from the definition of the structure to which the Constrainable Artefact is linked. 125 +||+metadataContentKeys|Association to a sub set of Metdata Key Sets (i.e. value combinations) that can be derived from the definition of the Structure to which the Constrainable Artefact is linke 126 +||+dataContentRegion|Association to a sub set of component values that can be derived from the Data Structure Definition to which the Constrainable Artefact is linked. 127 +||+metadataContentRegion|Association to a sub set of component values that can be derived from the Metadata Structure Definition to which the Constrainable Artefact is linked. 135 135 |ContentConstraint|((( 136 136 Inherits from 137 137 138 138 //Constraint// 139 139 )))|Defines a Constraint in terms of the content that can be found in data or metadata sources linked to the Constrainable Artefact to which this constraint is associated. 140 -| |+role|Association to the role that the Constraint plays141 -|ConstraintRole| |Specifies the way the type of content of a Constraint in terms of its purpose.142 -| |allowableContent|The Constraint contains a specification of the valid sub set of the Component values or keys.143 -| |actualContent|The Constraint contains a specification of the actual content of a data or metadata source in terms of the Component values or keys in the source.133 +||+role|Association to the role that the Constraint plays 134 +|ConstraintRole||Specifies the way the type of content of a Constraint in terms of its purpose. 135 +||allowableContent|The Constraint contains a specification of the valid sub set of the Component values or keys. 136 +||actualContent|The Constraint contains a specification of the actual content of a data or metadata source in terms of the Component values or keys in the source. 144 144 |((( 145 145 Attachment 146 146 ... ... @@ -150,24 +150,24 @@ 150 150 151 151 //Constraint// 152 152 )))|Defines a Constraint in terms of the combination of component values that may be found in a data source, and to which a Constrainable Artefact may be associated in a structure definition. 153 -|DataKeySet| |A set of data keys.154 -| |isIncluded|Indicates whether the Data Key Set is included in the constraint definition or excluded from the constraint definition.155 -| |+keys|Association to the Data Keys in the set.156 -|MetadataKeySet| |A set of metadata keys.157 -| |isIncluded|Indicates whether the Metadata Key Set is included in the constraint definition or excluded from the constraint definition.158 -| |+keys|Association to the Metadata Keys in the set.159 -|DataKey| |The values of a key in a data set.160 -| |isIncluded|Indicates whether the Data Key is included in the constraint definition or excluded from the constraint definition.161 -| |+keyValue|Associates the Component Values that comprise the key.162 -|MetadataKey| |The values of a key in a metadata set.163 -| |isIncluded|Indicates whether the Metdadata Key is included in the constraint definition or excluded from the constraint definition.164 -| |+keyValue|Associates the Component Values that comprise the key.165 -|ComponentValue| |The identification of and value of a Component of the key (e.g. Dimension)166 -| |value|The value of Component167 -| |+valueFor|Association to the Component (e.g. Dimension) in the Structure to which the Constrainable Artefact is linked.168 -|TimeDimensionValue| |The value of the Time Dimension component.169 -| |timeValue|The value of the time period.170 -| |operator|(((146 +|DataKeySet||A set of data keys. 147 +||isIncluded|Indicates whether the Data Key Set is included in the constraint definition or excluded from the constraint definition. 148 +||+keys|Association to the Data Keys in the set. 149 +|MetadataKeySet||A set of metadata keys. 150 +||isIncluded|Indicates whether the Metadata Key Set is included in the constraint definition or excluded from the constraint definition. 151 +||+keys|Association to the Metadata Keys in the set. 152 +|DataKey||The values of a key in a data set. 153 +||isIncluded|Indicates whether the Data Key is included in the constraint definition or excluded from the constraint definition. 154 +||+keyValue|Associates the Component Values that comprise the key. 155 +|MetadataKey||The values of a key in a metadata set. 156 +||isIncluded|Indicates whether the Metdadata Key is included in the constraint definition or excluded from the constraint definition. 157 +||+keyValue|Associates the Component Values that comprise the key. 158 +|ComponentValue||The identification of and value of a Component of the key (e.g. Dimension) 159 +||value|The value of Component 160 +||+valueFor|Association to the Component (e.g. Dimension) in the Structure to which the Constrainable Artefact is linked. 161 +|TimeDimensionValue||The value of the Time Dimension component. 162 +||timeValue|The value of the time period. 163 +||operator|((( 171 171 Indicates whether the specified value represents and exact time or time period, or whether the value should be handled as a range. 172 172 173 173 A value of greaterThan or greaterThanOrEqual indicates that the value is the beginning of a range (exclusive or inclusive, respectively). ... ... @@ -176,15 +176,15 @@ 176 176 177 177 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) 178 178 ))) 179 -|CubeRegion| |A set of Components and their values that defines a sub set or “slice” of the total range of possible content of a data structure to which the Constrainable Artefact is linked.180 -| |isIncluded|Indicates whether the Cube Region is included in the constraint definition or excluded from the constraint definition.181 -| |+member|Associates the set of Components that define the sub set of values.182 -|MetadataTargetRegion| |A set of Components and their values that defines a sub set or “slice” of the total range of possible content of a metadata structure to which the Constrainable Artefact is linked.183 -| |isIncluded|Indicates whether the Metadata Target Region is included in the constraint definition or excluded from the constraint definition.184 -| |+member|Associates the set of Components that define the sub set of values.185 -|MemberSelection| |A set of permissible values for one component of the axis.186 -| |isIncluded|Indicates whether the Member Selection is included in the constraint definition or excluded from the constraint definition.187 -| |+valuesFor|Association to the Component in the Structure to which the Constrainable Artefact is linked, which defines the valid Representation for the Member Values.172 +|CubeRegion||A set of Components and their values that defines a sub set or “slice” of the total range of possible content of a data structure to which the Constrainable Artefact is linked. 173 +||isIncluded|Indicates whether the Cube Region is included in the constraint definition or excluded from the constraint definition. 174 +||+member|Associates the set of Components that define the sub set of values. 175 +|MetadataTargetRegion||A set of Components and their values that defines a sub set or “slice” of the total range of possible content of a metadata structure to which the Constrainable Artefact is linked. 176 +||isIncluded|Indicates whether the Metadata Target Region is included in the constraint definition or excluded from the constraint definition. 177 +||+member|Associates the set of Components that define the sub set of values. 178 +|MemberSelection||A set of permissible values for one component of the axis. 179 +||isIncluded|Indicates whether the Member Selection is included in the constraint definition or excluded from the constraint definition. 180 +||+valuesFor|Association to the Component in the Structure to which the Constrainable Artefact is linked, which defines the valid Representation for the Member Values. 188 188 |SelectionValue|((( 189 189 Abstract class. Sub classes are: 190 190 ... ... @@ -197,8 +197,8 @@ 197 197 198 198 SelectionValue 199 199 )))|A single value of the set of values for the Member Selection. 200 -| |value|A value of the member.201 -| |cascadeValues|Indicates that the child nodes of the member are included in the Member Selection (e.g. child codes)193 +||value|A value of the member. 194 +||cascadeValues|Indicates that the child nodes of the member are included in the Member Selection (e.g. child codes) 202 202 |//TimeRangeValue//|((( 203 203 Inherits from 204 204 ... ... @@ -219,38 +219,38 @@ 219 219 220 220 //TimeRangeValue// 221 221 )))|The period before which the constrained selection is valid. 222 -| |isInclusive|Indication of whether the date is inclusive in the period.215 +||isInclusive|Indication of whether the date is inclusive in the period. 223 223 |AfterPeriod|((( 224 224 Inherits from 225 225 226 226 //TimeRangeValue// 227 227 )))|The period after which the constrained selection is valid. 228 -| |isInclusive|Indication of whether the date is inclusive in the period.229 -|RangePeriod| |The start and end periods in a date range.230 -| |+start|Association to the Start Period.231 -| |+end|Association to the End Period.221 +||isInclusive|Indication of whether the date is inclusive in the period. 222 +|RangePeriod||The start and end periods in a date range. 223 +||+start|Association to the Start Period. 224 +||+end|Association to the End Period. 232 232 |StartPeriod|((( 233 233 Inherits from 234 234 235 235 //TimeRangeValue// 236 236 )))|The period from which the constrained selection is valid. 237 -| |isInclusive|Indication of whether the date is inclusive in the period.230 +||isInclusive|Indication of whether the date is inclusive in the period. 238 238 |EndPeriod|((( 239 239 Inherits from 240 240 241 241 //TimeRangeValue// 242 242 )))|The period to which the constrained selection is valid. 243 -| |isInclusive|Indication of whether the date is inclusive in the period.244 -|ReferencePeriod| |A set of dates that constrain the content that may be found in a data or metadata set.245 -| |startDate|The start date of the period.246 -| |endDate|The end date of the period.247 -|ReleaseCalendar| |The schedule of publication or reporting of the data or metadata248 -| |periodicity|The time period between the releases of the data or metadata249 -| |offset|Interval between January 1^^st^^ and the first release of the data250 -| |tolerance|Period after which the data or metadata may be deemed late.236 +||isInclusive|Indication of whether the date is inclusive in the period. 237 +|ReferencePeriod||A set of dates that constrain the content that may be found in a data or metadata set. 238 +||startDate|The start date of the period. 239 +||endDate|The end date of the period. 240 +|ReleaseCalendar||The schedule of publication or reporting of the data or metadata 241 +||periodicity|The time period between the releases of the data or metadata 242 +||offset|Interval between January 1^^st^^ and the first release of the data 243 +||tolerance|Period after which the data or metadata may be deemed late. 251 251 252 252 253 253 254 254 255 255 256 - 249 +
- 1747904390682-586.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.9 KB - Content
- 1747904434659-835.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -37.4 KB - Content
- 1747904480223-768.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -41.6 KB - Content
- 1747904523939-355.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:XWiki.helena - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.6 KB - Content
- SUZ.Methodology.Code.MethodologyClass[0]
-
- index
-
... ... @@ -1,1 +1,0 @@ 1 -11