ReferenceVariable¶
Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::ReferenceVariable
Definition¶
Variable that records values of multiple variables in the context of a data structure. Variable playing the role of a variable value component.
Examples¶
Consider two variables, i.e. income and age, with values appearing in the same column, e.g. 100000, 45, 85000, 34, etc. Values 100000, 45, 85000, 34 are reference values in the reference value domain corresponding to the reference variable.
Inheritance
Attributes
Associations
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 ReferenceVariable (entire model as XMI)
1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
2 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable"/>
11 <body>Definition
12============
13Variable that records values of multiple variables in the context of a data structure.
14Variable playing the role of a variable value component.
15
16Examples
17==========
18Consider two variables, i.e. income and age, with values appearing in the same column, e.g. 100000, 45, 85000, 34, etc.
19Values 100000, 45, 85000, 34 are reference values in the reference value domain corresponding to the reference variable.</body>
20 </ownedComment>
21 <name>ReferenceVariable</name>
22 <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable-generalization"
23 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable-generalization"
24 xmi:type="uml:Generalization">
25 <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-RepresentedVariable"/>
26 </generalization>
27 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable-ownedAttribute"
28 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable-ownedAttribute"
29 xmi:type="uml:Property">
30 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable-ownedAttribute-lowerValue"
31 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable-ownedAttribute-lowerValue"
32 xmi:type="uml:LiteralInteger"/>
33 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable-ownedAttribute-upperValue"
34 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ReferenceVariable-ownedAttribute-upperValue"
35 xmi:type="uml:LiteralUnlimitedNatural">
36 <value>1</value>
37 </upperValue>
38 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceVariable_takesValuesFrom_ReferenceValueDomain"/>
39 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-ReferenceValueDomain"/>
40 </ownedAttribute>
41</packagedElement>
Fragment for the class ReferenceVariable (entire XML Schema)
1<xs:element name="ReferenceVariable"
2 type="ReferenceVariableXsdType"
3 xml:id="ReferenceVariable">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::ReferenceVariable -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Variable that records values of multiple variables in the context of a data structure.
9 Variable playing the role of a variable value component.
10
11 Examples
12 ==========
13 Consider two variables, i.e. income and age, with values appearing in the same column, e.g. 100000, 45, 85000, 34, etc.
14 Values 100000, 45, 85000, 34 are reference values in the reference value domain corresponding to the reference variable.</xs:documentation>
15 </xs:annotation>
16</xs:element>
17<xs:complexType name="ReferenceVariableXsdType"
18 xml:id="ReferenceVariableXsdType">
19 <xs:annotation>
20 <xs:documentation>Definition
21 ============
22 Variable that records values of multiple variables in the context of a data structure.
23 Variable playing the role of a variable value component.
24
25 Examples
26 ==========
27 Consider two variables, i.e. income and age, with values appearing in the same column, e.g. 100000, 45, 85000, 34, etc.
28 Values 100000, 45, 85000, 34 are reference values in the reference value domain corresponding to the reference variable.</xs:documentation>
29 </xs:annotation>
30 <xs:complexContent>
31 <xs:extension base="RepresentedVariableXsdType">
32 <xs:sequence>
33 <xs:element name="ReferenceVariable_takesValuesFrom_ReferenceValueDomain"
34 minOccurs="0"
35 maxOccurs="1"
36 xml:id="ReferenceVariable_takesValuesFrom_ReferenceValueDomain">
37 <xs:annotation>
38 <xs:documentation>Points to a value domain that contains values that may be drawn from the domains of multiple simple variables.</xs:documentation>
39 </xs:annotation>
40 <xs:complexType>
41 <xs:complexContent>
42 <xs:restriction base="AssociationReferenceXsdType">
43 <xs:sequence>
44 <xs:element name="ddiReference"
45 type="InternationalRegistrationDataIdentifierXsdType"
46 minOccurs="0"
47 maxOccurs="1"
48 xml:id="ReferenceVariable_takesValuesFrom_ReferenceValueDomain-ddiReference"/>
49 <xs:element name="validType"
50 minOccurs="0"
51 maxOccurs="unbounded"
52 xml:id="ReferenceVariable_takesValuesFrom_ReferenceValueDomain-validType">
53 <xs:simpleType>
54 <xs:restriction base="xs:NMTOKEN">
55 <xs:enumeration value="ReferenceValueDomain"/>
56 </xs:restriction>
57 </xs:simpleType>
58 </xs:element>
59 </xs:sequence>
60 </xs:restriction>
61 </xs:complexContent>
62 </xs:complexType>
63 </xs:element>
64 </xs:sequence>
65 </xs:extension>
66 </xs:complexContent>
67</xs:complexType>
Fragment for the class ReferenceVariable (main ontology)
1# class ReferenceVariable
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::ReferenceVariable
3cdi:ReferenceVariable
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "ReferenceVariable";
6 rdfs:comment "Definition\n============\nVariable that records values of multiple variables in the context of a data structure.\nVariable playing the role of a variable value component.\n\nExamples\n==========\nConsider two variables, i.e. income and age, with values appearing in the same column, e.g. 100000, 45, 85000, 34, etc. \nValues 100000, 45, 85000, 34 are reference values in the reference value domain corresponding to the reference variable."@en;
7 rdfs:subClassOf cdi:RepresentedVariable;
8.
9
10
11cdi:ReferenceVariable_takesValuesFrom_ReferenceValueDomain
12 a rdf:Property, owl:ObjectProperty, ucmis:Association;
13 # ASSOCIATION
14 rdfs:label "takesValuesFrom";
15 skos:altLabel "ReferenceVariable_takesValuesFrom_ReferenceValueDomain";
16 rdfs:comment "Points to a value domain that contains values that may be drawn from the domains of multiple simple variables."@en;
17 rdfs:domain cdi:ReferenceVariable;
18 rdfs:range cdi:ReferenceValueDomain;
19.
Fragment for the class ReferenceVariable (main JSON-LD)
1{
2 "@context": [
3 "RepresentedVariable.jsonld",
4 {
5 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
6 "xsd": "http://www.w3.org/2001/XMLSchema#",
7 "ReferenceVariable": "cdi:ReferenceVariable",
8
9 "takesValuesFrom": {
10 "@id": "cdi:ReferenceVariable_takesValuesFrom_ReferenceValueDomain",
11 "@type": "@id" },
12 "identifies_OF_Descriptor": {
13 "@reverse": "cdi:Descriptor_identifies_ReferenceVariable",
14 "@type": "@id"
15 },
16 " comment ": "tag:json-should-support-trailing-commas"
17 }
18 ],
19 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:08.",
20 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::ReferenceVariable"
21}