AttributeComponent

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

Definition

Role given to a represented variable in the context of a data structure to qualify observations or provide other types of supplementary information.

Examples

The publication status of an observation (e.g. provisional, final, revised).

Diagram

Inheritance
  ᐊ── Components::AttributeComponent
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 AttributeComponent

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

from

AttributeComponent qualifies DataStructureComponent

0..*

- own package -

DataStructureComponent

0..*

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 AttributeComponent (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-AttributeComponent"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent"/>
11      <body>Definition 
12============ 
13Role given to a represented variable in the context of a data structure to qualify observations or provide other types of supplementary information.  
14
15Examples 
16========== 
17The publication status of an observation (e.g. provisional, final, revised).</body>
18   </ownedComment>
19   <name>AttributeComponent</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent-generalization"
21                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent-generalization"
22                   xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-DataStructureComponent"/>
24   </generalization>
25   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent-ownedAttribute"
26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent-ownedAttribute"
27                   xmi:type="uml:Property">
28      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent-ownedAttribute-lowerValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent-ownedAttribute-lowerValue"
30                  xmi:type="uml:LiteralInteger"/>
31      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent-ownedAttribute-upperValue"
32                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AttributeComponent-ownedAttribute-upperValue"
33                  xmi:type="uml:LiteralUnlimitedNatural">
34         <value>*</value>
35      </upperValue>
36      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-AttributeComponent_qualifies_DataStructureComponent"/>
37      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-DataStructureComponent"/>
38   </ownedAttribute>
39</packagedElement>

Fragment for the class AttributeComponent (entire XML Schema)

 1<xs:element name="AttributeComponent"
 2            type="AttributeComponentXsdType"
 3            xml:id="AttributeComponent">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Role given to a represented variable in the context of a data structure to qualify observations or provide other types of supplementary information.  
 9          
10          Examples 
11          ========== 
12          The publication status of an observation (e.g. provisional, final, revised).</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="AttributeComponentXsdType"
16                xml:id="AttributeComponentXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition 
19          ============ 
20          Role given to a represented variable in the context of a data structure to qualify observations or provide other types of supplementary information.  
21          
22          Examples 
23          ========== 
24          The publication status of an observation (e.g. provisional, final, revised).</xs:documentation>
25  </xs:annotation>
26  <xs:complexContent>
27    <xs:extension base="DataStructureComponentXsdType">
28      <xs:sequence>
29        <xs:element name="AttributeComponent_qualifies_DataStructureComponent"
30                    minOccurs="0"
31                    maxOccurs="unbounded"
32                    xml:id="AttributeComponent_qualifies_DataStructureComponent">
33          <xs:annotation>
34            <xs:documentation></xs:documentation>
35          </xs:annotation>
36          <xs:complexType>
37            <xs:complexContent>
38              <xs:restriction base="AssociationReferenceXsdType">
39                <xs:sequence>
40                  <xs:element name="ddiReference"
41                              type="InternationalRegistrationDataIdentifierXsdType"
42                              minOccurs="0"
43                              maxOccurs="1"
44                              xml:id="AttributeComponent_qualifies_DataStructureComponent-ddiReference"/>
45                  <xs:element name="validType"
46                              minOccurs="0"
47                              maxOccurs="unbounded"
48                              xml:id="AttributeComponent_qualifies_DataStructureComponent-validType">
49                    <xs:simpleType>
50                      <xs:restriction base="xs:NMTOKEN">
51                        <xs:enumeration value="AttributeComponent"/>
52                        <xs:enumeration value="ContextualComponent"/>
53                        <xs:enumeration value="DataStructure"/>
54                        <xs:enumeration value="DataStructureComponent"/>
55                        <xs:enumeration value="DimensionComponent"/>
56                        <xs:enumeration value="DimensionalDataStructure"/>
57                        <xs:enumeration value="IdentifierComponent"/>
58                        <xs:enumeration value="KeyValueStructure"/>
59                        <xs:enumeration value="LongDataStructure"/>
60                        <xs:enumeration value="MeasureComponent"/>
61                        <xs:enumeration value="QualifiedMeasure"/>
62                        <xs:enumeration value="SyntheticIdComponent"/>
63                        <xs:enumeration value="VariableDescriptorComponent"/>
64                        <xs:enumeration value="VariableValueComponent"/>
65                        <xs:enumeration value="WideDataStructure"/>
66                      </xs:restriction>
67                    </xs:simpleType>
68                  </xs:element>
69                </xs:sequence>
70              </xs:restriction>
71            </xs:complexContent>
72          </xs:complexType>
73        </xs:element>
74      </xs:sequence>
75    </xs:extension>
76  </xs:complexContent>
77</xs:complexType>

Fragment for the class AttributeComponent (main ontology)

 1# class AttributeComponent
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent
 3cdi:AttributeComponent
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "AttributeComponent";
 6  rdfs:comment "Definition \n============ \nRole given to a represented variable in the context of a data structure to qualify observations or provide other types of supplementary information.  \n\nExamples \n========== \nThe publication status of an observation (e.g. provisional, final, revised)."@en;
 7  rdfs:subClassOf cdi:DataStructureComponent;
 8.
 9
10
11cdi:AttributeComponent_qualifies_DataStructureComponent
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "qualifies";
15  skos:altLabel "AttributeComponent_qualifies_DataStructureComponent";
16  
17  rdfs:domain cdi:AttributeComponent;
18  rdfs:range cdi:DataStructureComponent;
19.

Fragment for the class AttributeComponent (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      "AttributeComponent": "cdi:AttributeComponent",
 8      
 9      "qualifies": {
10        "@id": "cdi:AttributeComponent_qualifies_DataStructureComponent",
11        "@type": "@id"      },
12      " comment ": "tag:json-should-support-trailing-commas" 
13    }
14  ],
15  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:52:56.",
16  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent"
17}