VariableValueComponent

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::VariableValueComponent

Definition

Role given to a represented variable in the context of a data structure to record values of multiple variables.

Examples

Consider two variables, i.e. income and age, with their values living together in different entries in the same column. The values of those two variables are now in the value domain of a single variable (the one working as a variable value component). Another column, based on a variable descriptor component, use codes for “income” and “age” to distinguish income values from age values.

Explanatory notes

A variable value component captures the values of multiple variables that have been transposed into a single column. The variable descriptor component provides a mechanism to identify which of those values correspond to which variable. This structure provides a flexible mechanism avoiding the need for a formal pointer.

Diagram

Inheritance
  ᐊ── Components::VariableValueComponent
Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

Components::DataStructureComponent

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

semantic

Components::DataStructureComponent

Qualifies the purpose or use expressed as a paired external controlled vocabulary.

PairedControlledVocabularyEntry

0..*

specialization

Components::DataStructureComponent

The role played by the component for the data set for purposes of harmonization and integration, typically regarding geography, time, etc.

SpecializationRole

0..1

Associations

Direction

Association

Description

Multiplicity of VariableValueComponent

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

DataStructureComponent isDefinedBy RepresentedVariable

Data structure component is defined by zero to one represented variable.

0..*

Conceptual

RepresentedVariable

0..1

none

Components::DataStructureComponent

to

DataPoint correspondsTo DataStructureComponent

0..*

DataDescription

DataPoint

0..*

none

Components::DataStructureComponent

to

DataStructure has DataStructureComponent

0..*

DataDescription

DataStructure

0..1

none

Components::DataStructureComponent

to

KeyMember isBasedOn DataStructureComponent

0..*

DataDescription

KeyMember

0..*

none

Components::DataStructureComponent

to

AttributeComponent qualifies DataStructureComponent

0..*

- own package -

AttributeComponent

0..*

none

Components::DataStructureComponent

to

ComponentPosition indexes DataStructureComponent

0..1

- own package -

ComponentPosition

0..*

none

Components::DataStructureComponent

to

ForeignKeyComponent correspondsTo DataStructureComponent

1..1

- own package -

ForeignKeyComponent

0..1

none

Components::DataStructureComponent

to

PrimaryKeyComponent correspondsTo DataStructureComponent

1..1

- own package -

PrimaryKeyComponent

0..1

none

Components::DataStructureComponent

to

ReferenceValue correspondsTo VariableValueComponent

1..1

Long

ReferenceValue

0..*

none

- own class -

to

VariableDescriptorComponent refersTo VariableValueComponent

1..1

- own package -

VariableDescriptorComponent

1..1

none

- own class -

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 VariableValueComponent (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-Components-VariableValueComponent"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableValueComponent"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-VariableValueComponent-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableValueComponent-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-VariableValueComponent"/>
11      <body>Definition 
12============ 
13Role given to a represented variable in the context of a data structure to record values of multiple variables.   
14
15Examples 
16========== 
17Consider two variables, i.e. income and age, with their values living together in different entries in the same column.  The values of those two variables are now in the value domain of a single variable (the one working as a variable value component).  Another column, based on a variable descriptor component, use codes for "income" and "age" to distinguish income values from age values.   
18
19Explanatory notes 
20=================== 
21A variable value component captures the values of multiple variables that have been transposed into a single column.  The variable descriptor component provides a mechanism to identify which of those values correspond to which variable.   This structure provides a flexible mechanism avoiding the need for a formal pointer.</body>
22   </ownedComment>
23   <name>VariableValueComponent</name>
24   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-VariableValueComponent-generalization"
25                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#VariableValueComponent-generalization"
26                   xmi:type="uml:Generalization">
27      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-DataStructureComponent"/>
28   </generalization>
29</packagedElement>

Fragment for the class VariableValueComponent (entire XML Schema)

 1<xs:element name="VariableValueComponent"
 2            type="VariableValueComponentXsdType"
 3            xml:id="VariableValueComponent">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::VariableValueComponent -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Role given to a represented variable in the context of a data structure to record values of multiple variables.   
 9          
10          Examples 
11          ========== 
12          Consider two variables, i.e. income and age, with their values living together in different entries in the same column.  The values of those two variables are now in the value domain of a single variable (the one working as a variable value component).  Another column, based on a variable descriptor component, use codes for "income" and "age" to distinguish income values from age values.   
13          
14          Explanatory notes 
15          =================== 
16          A variable value component captures the values of multiple variables that have been transposed into a single column.  The variable descriptor component provides a mechanism to identify which of those values correspond to which variable.   This structure provides a flexible mechanism avoiding the need for a formal pointer.</xs:documentation>
17  </xs:annotation>
18</xs:element>
19<xs:complexType name="VariableValueComponentXsdType"
20                xml:id="VariableValueComponentXsdType">
21  <xs:annotation>
22    <xs:documentation>Definition 
23          ============ 
24          Role given to a represented variable in the context of a data structure to record values of multiple variables.   
25          
26          Examples 
27          ========== 
28          Consider two variables, i.e. income and age, with their values living together in different entries in the same column.  The values of those two variables are now in the value domain of a single variable (the one working as a variable value component).  Another column, based on a variable descriptor component, use codes for "income" and "age" to distinguish income values from age values.   
29          
30          Explanatory notes 
31          =================== 
32          A variable value component captures the values of multiple variables that have been transposed into a single column.  The variable descriptor component provides a mechanism to identify which of those values correspond to which variable.   This structure provides a flexible mechanism avoiding the need for a formal pointer.</xs:documentation>
33  </xs:annotation>
34  <xs:complexContent>
35    <xs:extension base="DataStructureComponentXsdType">
36      
37    </xs:extension>
38  </xs:complexContent>
39</xs:complexType>

Fragment for the class VariableValueComponent (main ontology)

1# class VariableValueComponent
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::VariableValueComponent
3cdi:VariableValueComponent
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "VariableValueComponent";
6  rdfs:comment "Definition \n============ \nRole given to a represented variable in the context of a data structure to record values of multiple variables.   \n\nExamples \n========== \nConsider two variables, i.e. income and age, with their values living together in different entries in the same column.  The values of those two variables are now in the value domain of a single variable (the one working as a variable value component).  Another column, based on a variable descriptor component, use codes for \"income\" and \"age\" to distinguish income values from age values.   \n\nExplanatory notes \n=================== \nA variable value component captures the values of multiple variables that have been transposed into a single column.  The variable descriptor component provides a mechanism to identify which of those values correspond to which variable.   This structure provides a flexible mechanism avoiding the need for a formal pointer."@en;
7  rdfs:subClassOf cdi:DataStructureComponent;
8.

Fragment for the class VariableValueComponent (main JSON-LD)

 1{
 2  "@context": [
 3    "DataStructureComponent.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7      "VariableValueComponent": "cdi:VariableValueComponent",
 8      
 9      "correspondsTo_OF_ReferenceValue": {
10        "@reverse": "cdi:ReferenceValue_correspondsTo_VariableValueComponent",
11        "@type": "@id"
12      },
13      "refersTo_OF_VariableDescriptorComponent": {
14        "@reverse": "cdi:VariableDescriptorComponent_refersTo_VariableValueComponent",
15        "@type": "@id"
16      },
17      " comment ": "tag:json-should-support-trailing-commas" 
18    }
19  ],
20  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:07.",
21  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::VariableValueComponent"
22}