AttributeComponent#
Fully qualified class name of the UML model DDI-CDI 1.0: 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#
Diagram
Inheritance#
Inheritance
Attributes#
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
|---|---|---|---|---|---|
identifier |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
|||
semantic |
Qualifies the purpose or use expressed as a paired external controlled vocabulary. |
0..* |
|||
specialization |
The role played by the component for the data set for purposes of harmonization and integration, typically regarding geography, time, etc. |
0..1 |
Associations#
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..* |
0..1 |
none |
|||
to |
DataPoint correspondsTo DataStructureComponent |
0..* |
0..* |
none |
||||
to |
DataStructure has DataStructureComponent |
0..* |
0..1 |
none |
||||
to |
KeyMember isBasedOn DataStructureComponent |
0..* |
0..* |
none |
||||
to |
AttributeComponent qualifies DataStructureComponent |
0..* |
- own package - |
0..* |
none |
|||
to |
ComponentPosition indexes DataStructureComponent |
0..1 |
- own package - |
0..* |
none |
|||
to |
ForeignKeyComponent correspondsTo DataStructureComponent |
1..1 |
- own package - |
0..1 |
none |
|||
to |
PrimaryKeyComponent correspondsTo DataStructureComponent |
1..1 |
- own package - |
0..1 |
none |
|||
from |
AttributeComponent qualifies DataStructureComponent |
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 AttributeComponent (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-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 (entire JSON Schema)
1"cls-AttributeComponent": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/AttributeComponent",
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": "AttributeComponent"
14 },
15 "identifier": {
16 "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
17 "$ref": "#/defs/dt-Identifier"
18 },
19 "semantic": {
20 "$comment": "cardinality 0..-1 – from cdi:DataStructureComponent",
21 "if": { "type": "array" },
22 "then": { "items": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" } },
23 "else": { "$ref": "#/defs/dt-PairedControlledVocabularyEntry" }
24 },
25 "specialization": {
26 "$comment": "cardinality 0..1 – from cdi:DataStructureComponent",
27 "$ref": "#/defs/dt-SpecializationRole"
28 },
29 "qualifies": {
30 "description": "AttributeComponent_qualifies_DataStructureComponent",
31 "$comment": "cardinality 0..-1",
32 "anyOf": [
33 {
34 "$ref": "#/defs/target-DataStructureComponent"
35 },
36 {
37 "type": "array",
38 "items": {
39 "$ref": "#/defs/target-DataStructureComponent"
40 }
41 }
42 ]
43 },
44 "isDefinedBy_RepresentedVariable": {
45 "description": "DataStructureComponent_isDefinedBy_RepresentedVariable",
46 "$comment": "cardinality 0..1",
47 "$ref": "#/defs/target-RepresentedVariable"
48 },
49 "correspondsTo_DataStructureComponent_OF_DataPoint": {
50 "description": "DataPoint_correspondsTo_DataStructureComponent",
51 "$comment": "cardinality 0..-1",
52 "anyOf": [
53 {
54 "$ref": "#/defs/target-DataPoint"
55 },
56 {
57 "type": "array",
58 "items": {
59 "$ref": "#/defs/target-DataPoint"
60 }
61 }
62 ]
63 },
64 "has_DataStructureComponent_OF_DataStructure": {
65 "description": "DataStructure_has_DataStructureComponent",
66 "$comment": "cardinality 0..1",
67 "$ref": "#/defs/target-DataStructure"
68 },
69 "isBasedOn_OF_KeyMember": {
70 "description": "KeyMember_isBasedOn_DataStructureComponent",
71 "$comment": "cardinality 0..-1",
72 "anyOf": [
73 {
74 "$ref": "#/defs/target-KeyMember"
75 },
76 {
77 "type": "array",
78 "items": {
79 "$ref": "#/defs/target-KeyMember"
80 }
81 }
82 ]
83 },
84 "qualifies_OF_AttributeComponent": {
85 "description": "AttributeComponent_qualifies_DataStructureComponent",
86 "$comment": "cardinality 0..-1",
87 "anyOf": [
88 {
89 "$ref": "#/defs/target-AttributeComponent"
90 },
91 {
92 "type": "array",
93 "items": {
94 "$ref": "#/defs/target-AttributeComponent"
95 }
96 }
97 ]
98 },
99 "indexes_OF_ComponentPosition": {
100 "description": "ComponentPosition_indexes_DataStructureComponent",
101 "$comment": "cardinality 0..-1",
102 "anyOf": [
103 {
104 "$ref": "#/defs/target-ComponentPosition"
105 },
106 {
107 "type": "array",
108 "items": {
109 "$ref": "#/defs/target-ComponentPosition"
110 }
111 }
112 ]
113 },
114 "correspondsTo_DataStructureComponent_OF_ForeignKeyComponent": {
115 "description": "ForeignKeyComponent_correspondsTo_DataStructureComponent",
116 "$comment": "cardinality 0..1",
117 "$ref": "#/defs/target-ForeignKeyComponent"
118 },
119 "correspondsTo_DataStructureComponent_OF_PrimaryKeyComponent": {
120 "description": "PrimaryKeyComponent_correspondsTo_DataStructureComponent",
121 "$comment": "cardinality 0..1",
122 "$ref": "#/defs/target-PrimaryKeyComponent"
123 },
124 "sameAs": {
125 "$ref": "#/defs/owl:sameAs"
126 }
127 },
128 "required": ["@type"],
129 "additionalProperties": false
130},
131"target-AttributeComponent": {
132 "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/AttributeComponent",
133 "anyOf": [
134 { "$ref": "#/defs/cls-AttributeComponent" },
135 { "type": "string", "format": "iri-reference" }
136 ]
137},
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 (entire 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
8
9 "qualifies": {
10 "@id": "cdi:AttributeComponent_qualifies_DataStructureComponent",
11 "@type": "@id",
12 "@context": "DataStructureComponent.jsonld"
13 },
14 " comment ": "tag:json-should-support-trailing-commas"
15 }
16 ],
17 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:49.",
18 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent"
19}
Fragment for the class AttributeComponent (entire SHACL - Shapes Constraint Language)
1# class AttributeComponent
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent
3<#AttributeComponent> a sh:NodeShape;
4 sh:targetClass cdi:AttributeComponent;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/AttributeComponent";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( cdi:AttributeComponent
11 ) ;
12 ];
13 # attributes
14 # associations from AttributeComponent
15 sh:property <#AttributeComponent_qualifies_DataStructureComponent>;
16 # associations to AttributeComponent
17
18 # ---- superclass: DataStructureComponent
19 # attributes
20 sh:property <#DataStructureComponent-identifier>;
21 sh:property <#DataStructureComponent-semantic>;
22 sh:property <#DataStructureComponent-specialization>;
23 # associations from DataStructureComponent
24 sh:property <#DataStructureComponent_isDefinedBy_RepresentedVariable>;
25 # associations to DataStructureComponent
26 sh:property <#rev_DataPoint_correspondsTo_DataStructureComponent>;
27 sh:property <#rev_DataStructure_has_DataStructureComponent>;
28 sh:property <#rev_KeyMember_isBasedOn_DataStructureComponent>;
29 sh:property <#rev_AttributeComponent_qualifies_DataStructureComponent>;
30 sh:property <#rev_ComponentPosition_indexes_DataStructureComponent>;
31 sh:property <#rev_ForeignKeyComponent_correspondsTo_DataStructureComponent>;
32 sh:property <#rev_PrimaryKeyComponent_correspondsTo_DataStructureComponent>;
33
34
35
36
37
38.
39
40
41<#AttributeComponent_qualifies_DataStructureComponent> a sh:PropertyShape ;
42 sh:path cdi:AttributeComponent_qualifies_DataStructureComponent;
43 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
44 cdi:DataStructureComponent
45 cdi:AttributeComponent
46 cdi:ContextualComponent
47 cdi:DataStructure
48 cdi:DimensionalDataStructure
49 cdi:KeyValueStructure
50 cdi:LongDataStructure
51 cdi:WideDataStructure
52 cdi:DimensionComponent
53 cdi:IdentifierComponent
54 cdi:MeasureComponent
55 cdi:QualifiedMeasure
56 cdi:SyntheticIdComponent
57 cdi:VariableDescriptorComponent
58 cdi:VariableValueComponent
59
60 ) ]];
61.
62<#rev_AttributeComponent_qualifies_DataStructureComponent> a sh:PropertyShape ;
63 sh:path [ sh:inversePath cdi:AttributeComponent_qualifies_DataStructureComponent ];
64.
Fragment for the class AttributeComponent (entire ShEx - Shape Expressions)
1# class AttributeComponent
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Components::AttributeComponent
3cdi:AttributeComponentShape CLOSED {
4 a [cdi:AttributeComponent];
5 cdi:AttributeComponent_qualifies_DataStructureComponent @cdi:DataStructureComponentShape OR @cdi:AttributeComponentShape OR @cdi:ContextualComponentShape OR @cdi:DataStructureShape OR @cdi:DimensionComponentShape OR @cdi:IdentifierComponentShape OR @cdi:MeasureComponentShape OR @cdi:SyntheticIdComponentShape OR @cdi:VariableDescriptorComponentShape OR @cdi:VariableValueComponentShape*;
6
7 &cdi:DataStructureComponentProperties;
8 }