VariableCollection#
Fully qualified class name of the UML model DDI-CDI 1.1beta: DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection
Definition#
Group of any type of variable within the variable cascade (conceptual, represented, instance).
Examples#
Variables within a specific section of a study
Variables related to a specific subject or keyword
Variables at a specified level of development or review
Explanatory notes#
A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.
Diagram#
Diagram
Attributes#
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
|---|---|---|---|---|---|
allowsDuplicates |
- own class - |
If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.) |
Boolean |
0..1 |
false |
displayLabel |
- own class - |
A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations. |
0..* |
||
identifier |
- own class - |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
||
name |
- own class - |
Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage. |
0..* |
||
purpose |
- own class - |
Intent or reason for the object/the description of the object. |
0..1 |
||
usage |
- own class - |
Explanation of the ways in which the object is employed. |
0..1 |
Associations#
Associations
Direction |
Association |
Description |
Multiplicity of VariableCollection |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
|---|---|---|---|---|---|---|---|---|
to |
VariableCollectionStructure structures VariableCollection |
Variable structure structures zero to one variable collection. |
0..1 |
- own package - |
0..* |
none |
own class |
|
from |
VariableCollection has ConceptualVariable |
Variable collection has zero to many conceptual variables. |
0..* |
- own package - |
0..* |
shared |
own class |
|
from |
VariableCollection has VariablePosition |
Variable collection has zero to many variable positions. |
1..1 |
- own package - |
0..* |
composite |
own class |
|
from |
VariableCollection isDefinedBy Concept |
The conceptual basis for the collection of members. |
0..* |
- own package - |
0..* |
none |
own class |
Encodings#
Syntax representations / encodings
All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.
Fragment for the class VariableCollection (entire model as XMI)
1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
2 xmlns:uml="http://www.omg.org/spec/UML/20131001"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection"/>
11 <body>Definition
12==========
13Group of any type of variable within the variable cascade (conceptual, represented, instance).
14
15Examples
16========
171. Variables within a specific section of a study
182. Variables related to a specific subject or keyword
193. Variables at a specified level of development or review
20
21Explanatory notes
22=================
23A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.
24</body>
25 </ownedComment>
26 <name>VariableCollection</name>
27 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates"
28 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates"
29 xmi:type="uml:Property">
30 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-ownedComment"
31 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-ownedComment"
32 xmi:type="uml:Comment">
33 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates"/>
34 <body>If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)
35</body>
36 </ownedComment>
37 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-lowerValue"
38 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-lowerValue"
39 xmi:type="uml:LiteralInteger"/>
40 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-upperValue"
41 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-upperValue"
42 xmi:type="uml:LiteralUnlimitedNatural">
43 <value>1</value>
44 </upperValue>
45 <name>allowsDuplicates</name>
46 <defaultValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-allowsDuplicates-defaultValue"
47 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-allowsDuplicates-defaultValue"
48 xmi:type="uml:LiteralBoolean">
49 <value>False</value>
50 </defaultValue>
51 <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Boolean"
52 xmi:type="uml:PrimitiveType"/>
53 </ownedAttribute>
54 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"
55 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel"
56 xmi:type="uml:Property">
57 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-ownedComment"
58 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-ownedComment"
59 xmi:type="uml:Comment">
60 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel"/>
61 <body>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
62</body>
63 </ownedComment>
64 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-lowerValue"
65 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-lowerValue"
66 xmi:type="uml:LiteralInteger"/>
67 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-displayLabel-upperValue"
68 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-displayLabel-upperValue"
69 xmi:type="uml:LiteralUnlimitedNatural">
70 <value>*</value>
71 </upperValue>
72 <name>displayLabel</name>
73 <isOrdered>true</isOrdered>
74 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LabelForDisplay"/>
75 </ownedAttribute>
76 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"
77 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier"
78 xmi:type="uml:Property">
79 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-ownedComment"
80 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-ownedComment"
81 xmi:type="uml:Comment">
82 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier"/>
83 <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
84 </ownedComment>
85 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-lowerValue"
86 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-lowerValue"
87 xmi:type="uml:LiteralInteger"/>
88 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-identifier-upperValue"
89 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-identifier-upperValue"
90 xmi:type="uml:LiteralUnlimitedNatural">
91 <value>1</value>
92 </upperValue>
93 <name>identifier</name>
94 <isID>true</isID>
95 <isID>true</isID>
96 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
97 </ownedAttribute>
98 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"
99 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name"
100 xmi:type="uml:Property">
101 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-ownedComment"
102 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-ownedComment"
103 xmi:type="uml:Comment">
104 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name"/>
105 <body>Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</body>
106 </ownedComment>
107 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-lowerValue"
108 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-lowerValue"
109 xmi:type="uml:LiteralInteger"/>
110 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-name-upperValue"
111 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-name-upperValue"
112 xmi:type="uml:LiteralUnlimitedNatural">
113 <value>*</value>
114 </upperValue>
115 <name>name</name>
116 <isOrdered>true</isOrdered>
117 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ObjectName"/>
118 </ownedAttribute>
119 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1"
120 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1"
121 xmi:type="uml:Property">
122 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-lowerValue"
123 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-lowerValue"
124 xmi:type="uml:LiteralInteger"/>
125 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_1-upperValue"
126 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_1-upperValue"
127 xmi:type="uml:LiteralUnlimitedNatural">
128 <value>*</value>
129 </upperValue>
130 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_isDefinedBy_Concept"/>
131 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Concept"/>
132 </ownedAttribute>
133 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2"
134 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2"
135 xmi:type="uml:Property">
136 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-lowerValue"
137 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-lowerValue"
138 xmi:type="uml:LiteralInteger"/>
139 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_2-upperValue"
140 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_2-upperValue"
141 xmi:type="uml:LiteralUnlimitedNatural">
142 <value>*</value>
143 </upperValue>
144 <aggregation>shared</aggregation>
145 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_ConceptualVariable"/>
146 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-ConceptualVariable"/>
147 </ownedAttribute>
148 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3"
149 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3"
150 xmi:type="uml:Property">
151 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-lowerValue"
152 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-lowerValue"
153 xmi:type="uml:LiteralInteger"/>
154 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-ownedAttribute_3-upperValue"
155 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-ownedAttribute_3-upperValue"
156 xmi:type="uml:LiteralUnlimitedNatural">
157 <value>*</value>
158 </upperValue>
159 <aggregation>composite</aggregation>
160 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection_has_VariablePosition"/>
161 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariablePosition"/>
162 </ownedAttribute>
163 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"
164 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose"
165 xmi:type="uml:Property">
166 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-ownedComment"
167 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-ownedComment"
168 xmi:type="uml:Comment">
169 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose"/>
170 <body>Intent or reason for the object/the description of the object.</body>
171 </ownedComment>
172 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-lowerValue"
173 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-lowerValue"
174 xmi:type="uml:LiteralInteger"/>
175 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-purpose-upperValue"
176 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-purpose-upperValue"
177 xmi:type="uml:LiteralUnlimitedNatural">
178 <value>1</value>
179 </upperValue>
180 <name>purpose</name>
181 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
182 </ownedAttribute>
183 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"
184 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage"
185 xmi:type="uml:Property">
186 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-ownedComment"
187 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-ownedComment"
188 xmi:type="uml:Comment">
189 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage"/>
190 <body>Explanation of the ways in which the object is employed.</body>
191 </ownedComment>
192 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-lowerValue"
193 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-lowerValue"
194 xmi:type="uml:LiteralInteger"/>
195 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Conceptual-VariableCollection-usage-upperValue"
196 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableCollection-usage-upperValue"
197 xmi:type="uml:LiteralUnlimitedNatural">
198 <value>1</value>
199 </upperValue>
200 <name>usage</name>
201 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
202 </ownedAttribute>
203</packagedElement>
Fragment for the class VariableCollection (entire XML Schema)
1<xs:element name="VariableCollection"
2 type="VariableCollectionXsdType"
3 xml:id="VariableCollection">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ==========
8 Group of any type of variable within the variable cascade (conceptual, represented, instance).
9
10 Examples
11 ========
12 1. Variables within a specific section of a study
13 2. Variables related to a specific subject or keyword
14 3. Variables at a specified level of development or review
15
16 Explanatory notes
17 =================
18 A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.</xs:documentation>
19 </xs:annotation>
20</xs:element>
21<xs:complexType name="VariableCollectionXsdType"
22 xml:id="VariableCollectionXsdType">
23 <xs:annotation>
24 <xs:documentation>Definition
25 ==========
26 Group of any type of variable within the variable cascade (conceptual, represented, instance).
27
28 Examples
29 ========
30 1. Variables within a specific section of a study
31 2. Variables related to a specific subject or keyword
32 3. Variables at a specified level of development or review
33
34 Explanatory notes
35 =================
36 A simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout.</xs:documentation>
37 </xs:annotation>
38 <xs:sequence>
39 <xs:element name="allowsDuplicates"
40 type="xs:boolean"
41 minOccurs="0"
42 maxOccurs="1"
43 xml:id="VariableCollection-allowsDuplicates">
44 <xs:annotation>
45 <xs:documentation>If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)</xs:documentation>
46 </xs:annotation>
47 </xs:element>
48 <xs:element name="displayLabel"
49 type="LabelForDisplayXsdType"
50 minOccurs="0"
51 maxOccurs="unbounded"
52 xml:id="VariableCollection-displayLabel">
53 <xs:annotation>
54 <xs:documentation>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
55 </xs:annotation>
56 </xs:element>
57 <xs:element name="identifier"
58 type="IdentifierXsdType"
59 minOccurs="0"
60 maxOccurs="1"
61 xml:id="VariableCollection-identifier">
62 <xs:annotation>
63 <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
64 </xs:annotation>
65 </xs:element>
66 <xs:element name="name"
67 type="ObjectNameXsdType"
68 minOccurs="0"
69 maxOccurs="unbounded"
70 xml:id="VariableCollection-name">
71 <xs:annotation>
72 <xs:documentation>Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage.</xs:documentation>
73 </xs:annotation>
74 </xs:element>
75 <xs:element name="purpose"
76 type="InternationalStringXsdType"
77 minOccurs="0"
78 maxOccurs="1"
79 xml:id="VariableCollection-purpose">
80 <xs:annotation>
81 <xs:documentation>Intent or reason for the object/the description of the object.</xs:documentation>
82 </xs:annotation>
83 </xs:element>
84 <xs:element name="usage"
85 type="InternationalStringXsdType"
86 minOccurs="0"
87 maxOccurs="1"
88 xml:id="VariableCollection-usage">
89 <xs:annotation>
90 <xs:documentation>Explanation of the ways in which the object is employed.</xs:documentation>
91 </xs:annotation>
92 </xs:element>
93 <xs:element name="VariableCollection_isDefinedBy_Concept"
94 minOccurs="0"
95 maxOccurs="unbounded"
96 xml:id="VariableCollection_isDefinedBy_Concept">
97 <xs:annotation>
98 <xs:documentation>The conceptual basis for the collection of members.</xs:documentation>
99 </xs:annotation>
100 <xs:complexType>
101 <xs:complexContent>
102 <xs:restriction base="AssociationReferenceXsdType">
103 <xs:sequence>
104 <xs:element name="ddiReference"
105 type="InternationalRegistrationDataIdentifierXsdType"
106 minOccurs="0"
107 maxOccurs="1"
108 xml:id="VariableCollection_isDefinedBy_Concept-ddiReference"/>
109 <xs:element name="validType"
110 minOccurs="0"
111 maxOccurs="unbounded"
112 xml:id="VariableCollection_isDefinedBy_Concept-validType">
113 <xs:simpleType>
114 <xs:restriction base="xs:NMTOKEN">
115 <xs:enumeration value="Category"/>
116 <xs:enumeration value="Concept"/>
117 <xs:enumeration value="ConceptualValue"/>
118 <xs:enumeration value="ConceptualVariable"/>
119 <xs:enumeration value="DescriptorVariable"/>
120 <xs:enumeration value="DimensionalKeyDefinitionMember"/>
121 <xs:enumeration value="InstanceVariable"/>
122 <xs:enumeration value="KeyDefinitionMember"/>
123 <xs:enumeration value="Population"/>
124 <xs:enumeration value="ReferenceVariable"/>
125 <xs:enumeration value="RepresentedVariable"/>
126 <xs:enumeration value="UnitType"/>
127 <xs:enumeration value="Universe"/>
128 </xs:restriction>
129 </xs:simpleType>
130 </xs:element>
131 </xs:sequence>
132 </xs:restriction>
133 </xs:complexContent>
134 </xs:complexType>
135 </xs:element>
136 <xs:element name="VariableCollection_has_ConceptualVariable"
137 minOccurs="0"
138 maxOccurs="unbounded"
139 xml:id="VariableCollection_has_ConceptualVariable">
140 <xs:annotation>
141 <xs:documentation>Variable collection has zero to many conceptual variables.</xs:documentation>
142 </xs:annotation>
143 <xs:complexType>
144 <xs:complexContent>
145 <xs:restriction base="AssociationReferenceXsdType">
146 <xs:sequence>
147 <xs:element name="ddiReference"
148 type="InternationalRegistrationDataIdentifierXsdType"
149 minOccurs="0"
150 maxOccurs="1"
151 xml:id="VariableCollection_has_ConceptualVariable-ddiReference"/>
152 <xs:element name="validType"
153 minOccurs="0"
154 maxOccurs="unbounded"
155 xml:id="VariableCollection_has_ConceptualVariable-validType">
156 <xs:simpleType>
157 <xs:restriction base="xs:NMTOKEN">
158 <xs:enumeration value="ConceptualVariable"/>
159 <xs:enumeration value="DescriptorVariable"/>
160 <xs:enumeration value="InstanceVariable"/>
161 <xs:enumeration value="ReferenceVariable"/>
162 <xs:enumeration value="RepresentedVariable"/>
163 </xs:restriction>
164 </xs:simpleType>
165 </xs:element>
166 </xs:sequence>
167 </xs:restriction>
168 </xs:complexContent>
169 </xs:complexType>
170 </xs:element>
171 <xs:element name="VariableCollection_has_VariablePosition"
172 minOccurs="0"
173 maxOccurs="unbounded"
174 xml:id="VariableCollection_has_VariablePosition">
175 <xs:annotation>
176 <xs:documentation>Variable collection has zero to many variable positions.</xs:documentation>
177 </xs:annotation>
178 <xs:complexType>
179 <xs:complexContent>
180 <xs:restriction base="AssociationReferenceXsdType">
181 <xs:sequence>
182 <xs:element name="ddiReference"
183 type="InternationalRegistrationDataIdentifierXsdType"
184 minOccurs="0"
185 maxOccurs="1"
186 xml:id="VariableCollection_has_VariablePosition-ddiReference"/>
187 <xs:element name="validType"
188 minOccurs="1"
189 maxOccurs="1"
190 xml:id="VariableCollection_has_VariablePosition-validType">
191 <xs:simpleType>
192 <xs:restriction base="xs:NMTOKEN">
193 <xs:enumeration value="VariablePosition"/>
194 </xs:restriction>
195 </xs:simpleType>
196 </xs:element>
197 </xs:sequence>
198 </xs:restriction>
199 </xs:complexContent>
200 </xs:complexType>
201 </xs:element>
202 </xs:sequence>
203</xs:complexType>
Fragment for the class VariableCollection (entire JSON Schema)
1"cls-VariableCollection": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/VariableCollection",
3 "type": "object",
4 "properties": {
5 "@context": {
6 "$ref": "#/defs/at-context"
7 },
8 "@id": {
9 "type": "string",
10 "format": "iri-reference"
11 },
12 "@type": {
13 "const": "VariableCollection"
14 },
15 "allowsDuplicates": {
16 "$comment": "cardinality 0..1 – from cdi:VariableCollection",
17 "$ref": "#/defs/xsd:boolean"
18 },
19 "displayLabel": {
20 "$comment": "cardinality 0..-1 – from cdi:VariableCollection",
21 "if": { "type": "array" },
22 "then": { "items": { "$ref": "#/defs/dt-LabelForDisplay" } },
23 "else": { "$ref": "#/defs/dt-LabelForDisplay" }
24 },
25 "identifier": {
26 "$comment": "cardinality 0..1 – from cdi:VariableCollection",
27 "$ref": "#/defs/dt-Identifier"
28 },
29 "name": {
30 "$comment": "cardinality 0..-1 – from cdi:VariableCollection",
31 "if": { "type": "array" },
32 "then": { "items": { "$ref": "#/defs/dt-ObjectName" } },
33 "else": { "$ref": "#/defs/dt-ObjectName" }
34 },
35 "purpose": {
36 "$comment": "cardinality 0..1 – from cdi:VariableCollection",
37 "$ref": "#/defs/dt-InternationalString"
38 },
39 "usage": {
40 "$comment": "cardinality 0..1 – from cdi:VariableCollection",
41 "$ref": "#/defs/dt-InternationalString"
42 },
43 "has_ConceptualVariable": {
44 "description": "VariableCollection_has_ConceptualVariable",
45 "$comment": "cardinality 0..-1",
46 "anyOf": [
47 {
48 "$ref": "#/defs/target-ConceptualVariable"
49 },
50 {
51 "type": "array",
52 "items": {
53 "$ref": "#/defs/target-ConceptualVariable"
54 }
55 }
56 ]
57 },
58 "has_VariablePosition": {
59 "description": "VariableCollection_has_VariablePosition",
60 "$comment": "cardinality 0..-1",
61 "anyOf": [
62 {
63 "$ref": "#/defs/target-VariablePosition"
64 },
65 {
66 "type": "array",
67 "items": {
68 "$ref": "#/defs/target-VariablePosition"
69 }
70 }
71 ]
72 },
73 "isDefinedBy_Concept": {
74 "description": "VariableCollection_isDefinedBy_Concept",
75 "$comment": "cardinality 0..-1",
76 "anyOf": [
77 {
78 "$ref": "#/defs/target-Concept"
79 },
80 {
81 "type": "array",
82 "items": {
83 "$ref": "#/defs/target-Concept"
84 }
85 }
86 ]
87 },
88 "structures_OF_VariableCollectionStructure": {
89 "description": "VariableCollectionStructure_structures_VariableCollection",
90 "$comment": "cardinality 0..-1",
91 "anyOf": [
92 {
93 "$ref": "#/defs/target-VariableCollectionStructure"
94 },
95 {
96 "type": "array",
97 "items": {
98 "$ref": "#/defs/target-VariableCollectionStructure"
99 }
100 }
101 ]
102 },
103 "sameAs": {
104 "$ref": "#/defs/owl:sameAs"
105 }
106 },
107 "required": ["@type"],
108 "additionalProperties": false
109},
110"target-VariableCollection": {
111 "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/VariableCollection",
112 "anyOf": [
113 { "$ref": "#/defs/cls-VariableCollection" },
114 { "type": "string", "format": "iri-reference" }
115 ]
116},
Fragment for the class VariableCollection (main ontology)
1# class VariableCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection
3cdi:VariableCollection
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "VariableCollection";
6 rdfs:comment "Definition\n==========\nGroup of any type of variable within the variable cascade (conceptual, represented, instance).\n\nExamples\n========\n1. Variables within a specific section of a study\n2. Variables related to a specific subject or keyword\n3. Variables at a specified level of development or review\n\nExplanatory notes\n================= \nA simple ordered or unordered list of variables can be described via a set of variable position parameters. An optional variable structure can describe a more complex structure for the collection. We might, for example, use the variable structure to group variables by content within a single collection of data or a wave of on-going data collection. For the purposes of management, conceptualization or anything other than organizing a logical record or physical layout."@en;
7
8.
9
10cdi:VariableCollection-allowsDuplicates
11 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
12 rdfs:label "allowsDuplicates";
13 rdfs:comment "If value is False, the members are unique within the collection - if True, there may be duplicates. (Note that a mathematical “bag” permits duplicates and is unordered - a “set” does not have duplicates and may be ordered.)"@en;
14 rdfs:domain cdi:VariableCollection;
15 rdfs:range xsd:boolean;
16.
17
18cdi:VariableCollection-displayLabel
19 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20 rdfs:label "displayLabel";
21 rdfs:comment "A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations."@en;
22 rdfs:domain cdi:VariableCollection;
23 rdfs:range cdi:LabelForDisplay;
24.
25
26cdi:VariableCollection-identifier
27 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28 rdfs:label "identifier";
29 rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
30 rdfs:domain cdi:VariableCollection;
31 rdfs:range cdi:Identifier;
32.
33
34cdi:VariableCollection-name
35 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
36 rdfs:label "name";
37 rdfs:comment "Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage."@en;
38 rdfs:domain cdi:VariableCollection;
39 rdfs:range cdi:ObjectName;
40.
41
42cdi:VariableCollection-purpose
43 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
44 rdfs:label "purpose";
45 rdfs:comment "Intent or reason for the object/the description of the object."@en;
46 rdfs:domain cdi:VariableCollection;
47 rdfs:range cdi:InternationalString;
48.
49
50cdi:VariableCollection-usage
51 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
52 rdfs:label "usage";
53 rdfs:comment "Explanation of the ways in which the object is employed."@en;
54 rdfs:domain cdi:VariableCollection;
55 rdfs:range cdi:InternationalString;
56.
57
58
59cdi:VariableCollection_has_ConceptualVariable
60 a rdf:Property, owl:ObjectProperty, ucmis:Association;
61 # ASSOCIATION
62 rdfs:label "has_ConceptualVariable";
63 skos:altLabel "VariableCollection_has_ConceptualVariable";
64 rdfs:comment "Variable collection has zero to many conceptual variables."@en;
65 rdfs:domain cdi:VariableCollection;
66 rdfs:range cdi:ConceptualVariable;
67.
68
69cdi:VariableCollection_has_VariablePosition
70 a rdf:Property, owl:ObjectProperty, ucmis:Association;
71 # ASSOCIATION
72 rdfs:label "has_VariablePosition";
73 skos:altLabel "VariableCollection_has_VariablePosition";
74 rdfs:comment "Variable collection has zero to many variable positions."@en;
75 rdfs:domain cdi:VariableCollection;
76 rdfs:range cdi:VariablePosition;
77.
78
79cdi:VariableCollection_isDefinedBy_Concept
80 a rdf:Property, owl:ObjectProperty, ucmis:Association;
81 # ASSOCIATION
82 rdfs:label "isDefinedBy_Concept";
83 skos:altLabel "VariableCollection_isDefinedBy_Concept";
84 rdfs:comment "The conceptual basis for the collection of members."@en;
85 rdfs:domain cdi:VariableCollection;
86 rdfs:range cdi:Concept;
87.
Fragment for the class VariableCollection (entire JSON-LD)
1{
2 "@context": [
3 {
4 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
5 "xsd": "http://www.w3.org/2001/XMLSchema#",
6
7 "allowsDuplicates": {
8 "@id": "cdi:VariableCollection-allowsDuplicates",
9 "@type": "xsd:boolean"
10 },
11 "displayLabel": {
12 "@id": "cdi:VariableCollection-displayLabel",
13 "@type": "@id",
14 "@context": "LabelForDisplay.jsonld"
15 },
16 "identifier": {
17 "@id": "cdi:VariableCollection-identifier",
18 "@type": "@id",
19 "@context": "Identifier.jsonld"
20 },
21 "name": {
22 "@id": "cdi:VariableCollection-name",
23 "@type": "@id",
24 "@context": "ObjectName.jsonld"
25 },
26 "purpose": {
27 "@id": "cdi:VariableCollection-purpose",
28 "@type": "@id",
29 "@context": "InternationalString.jsonld"
30 },
31 "usage": {
32 "@id": "cdi:VariableCollection-usage",
33 "@type": "@id",
34 "@context": "InternationalString.jsonld"
35 },
36
37 "has_ConceptualVariable": {
38 "@id": "cdi:VariableCollection_has_ConceptualVariable",
39 "@type": "@id",
40 "@context": "ConceptualVariable.jsonld"
41 },
42 "has_VariablePosition": {
43 "@id": "cdi:VariableCollection_has_VariablePosition",
44 "@type": "@id",
45 "@context": "VariablePosition.jsonld"
46 },
47 "isDefinedBy_Concept": {
48 "@id": "cdi:VariableCollection_isDefinedBy_Concept",
49 "@type": "@id",
50 "@context": "Concept.jsonld"
51 },
52 "structures_OF_VariableCollectionStructure": {
53 "@reverse": "cdi:VariableCollectionStructure_structures_VariableCollection",
54 "@type": "@id",
55 "@context": "VariableCollectionStructure.jsonld"
56 },
57 " comment ": "tag:json-should-support-trailing-commas"
58 }
59 ],
60 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2026-04-15 14:38:38.",
61 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection"
62}
Fragment for the class VariableCollection (entire SHACL - Shapes Constraint Language)
1# class VariableCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection
3<#VariableCollection> a sh:NodeShape;
4 sh:targetClass cdi:VariableCollection;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/VariableCollection";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( cdi:VariableCollection
11 ) ;
12 ];
13 # attributes
14 sh:property <#VariableCollection-allowsDuplicates>;
15 sh:property <#VariableCollection-displayLabel>;
16 sh:property <#VariableCollection-identifier>;
17 sh:property <#VariableCollection-name>;
18 sh:property <#VariableCollection-purpose>;
19 sh:property <#VariableCollection-usage>;
20 # associations from VariableCollection
21 sh:property <#VariableCollection_has_ConceptualVariable>;
22 sh:property <#VariableCollection_has_VariablePosition>;
23 sh:property <#VariableCollection_isDefinedBy_Concept>;
24 # associations to VariableCollection
25 sh:property <#rev_VariableCollectionStructure_structures_VariableCollection>;
26
27
28
29.
30
31<#VariableCollection-allowsDuplicates> a sh:PropertyShape ;
32 sh:path cdi:VariableCollection-allowsDuplicates;
33 sh:datatype xsd:boolean;
34 sh:maxCount 1;
35.
36<#VariableCollection-displayLabel> a sh:PropertyShape ;
37 sh:path cdi:VariableCollection-displayLabel;
38 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
39 cdi:LabelForDisplay
40
41 ) ]];
42.
43<#VariableCollection-identifier> a sh:PropertyShape ;
44 sh:path cdi:VariableCollection-identifier;
45 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
46 cdi:Identifier
47
48 ) ]];
49 sh:maxCount 1;
50.
51<#VariableCollection-name> a sh:PropertyShape ;
52 sh:path cdi:VariableCollection-name;
53 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
54 cdi:ObjectName
55 cdi:OrganizationName
56
57 ) ]];
58.
59<#VariableCollection-purpose> a sh:PropertyShape ;
60 sh:path cdi:VariableCollection-purpose;
61 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
62 cdi:InternationalString
63 cdi:BibliographicName
64 cdi:LabelForDisplay
65
66 ) ]];
67 sh:maxCount 1;
68.
69<#VariableCollection-usage> a sh:PropertyShape ;
70 sh:path cdi:VariableCollection-usage;
71 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
72 cdi:InternationalString
73 cdi:BibliographicName
74 cdi:LabelForDisplay
75
76 ) ]];
77 sh:maxCount 1;
78.
79
80<#VariableCollection_has_ConceptualVariable> a sh:PropertyShape ;
81 sh:path cdi:VariableCollection_has_ConceptualVariable;
82 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
83 cdi:ConceptualVariable
84 cdi:RepresentedVariable
85 cdi:InstanceVariable
86 cdi:DescriptorVariable
87 cdi:ReferenceVariable
88
89 ) ]];
90.
91<#rev_VariableCollection_has_ConceptualVariable> a sh:PropertyShape ;
92 sh:path [ sh:inversePath cdi:VariableCollection_has_ConceptualVariable ];
93.
94<#VariableCollection_has_VariablePosition> a sh:PropertyShape ;
95 sh:path cdi:VariableCollection_has_VariablePosition;
96 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
97 cdi:VariablePosition
98
99 ) ]];
100.
101<#rev_VariableCollection_has_VariablePosition> a sh:PropertyShape ;
102 sh:path [ sh:inversePath cdi:VariableCollection_has_VariablePosition ];
103 sh:minCount 1;
104 sh:maxCount 1;
105.
106<#VariableCollection_isDefinedBy_Concept> a sh:PropertyShape ;
107 sh:path cdi:VariableCollection_isDefinedBy_Concept;
108 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
109 cdi:Concept
110 cdi:Category
111 cdi:ConceptualValue
112 cdi:DimensionalKeyDefinitionMember
113 cdi:KeyDefinitionMember
114 cdi:ConceptualVariable
115 cdi:RepresentedVariable
116 cdi:InstanceVariable
117 cdi:DescriptorVariable
118 cdi:ReferenceVariable
119 cdi:UnitType
120 cdi:Universe
121 cdi:Population
122
123 ) ]];
124.
125<#rev_VariableCollection_isDefinedBy_Concept> a sh:PropertyShape ;
126 sh:path [ sh:inversePath cdi:VariableCollection_isDefinedBy_Concept ];
127.
Fragment for the class VariableCollection (entire ShEx - Shape Expressions)
1# class VariableCollection
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Conceptual::VariableCollection
3cdi:VariableCollectionShape CLOSED {
4 a [cdi:VariableCollection];
5 cdi:VariableCollection-allowsDuplicates xsd:boolean?;
6 cdi:VariableCollection-displayLabel @cdi:LabelForDisplayShape*;
7 cdi:VariableCollection-identifier @cdi:IdentifierShape?;
8 cdi:VariableCollection-name @cdi:ObjectNameShape*;
9 cdi:VariableCollection-purpose @cdi:InternationalStringShape?;
10 cdi:VariableCollection-usage @cdi:InternationalStringShape?;
11 ^cdi:VariableCollectionStructure_structures_VariableCollection @cdi:VariableCollectionStructureShape *;
12 cdi:VariableCollection_has_ConceptualVariable @cdi:ConceptualVariableShape OR @cdi:RepresentedVariableShape*;
13
14 cdi:VariableCollection_has_VariablePosition @cdi:VariablePositionShape *;
15
16 cdi:VariableCollection_isDefinedBy_Concept @cdi:ConceptShape OR @cdi:CategoryShape OR @cdi:ConceptualValueShape OR @cdi:ConceptualVariableShape OR @cdi:UnitTypeShape*;
17
18 }