KeyDefinition¶
Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyDefinition
Definition¶
Collection of concepts that uniquely defines a collection of data points in a dataset.
Diagram
Inheritance
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
identifier |
- own class - |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
Associations
Direction |
Association |
Description |
Multiplicity of KeyDefinition |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
---|---|---|---|---|---|---|---|---|
from |
KeyDefinition correspondsTo Unit |
0..* |
0..1 |
none |
- own class - |
|||
from |
KeyDefinition correspondsTo Universe |
0..* |
0..1 |
none |
- own class - |
|||
to |
Key represents KeyDefinition |
0..1 |
- own package - |
1..* |
none |
- own class - |
||
from |
KeyDefinition has KeyDefinitionMember |
0..1 |
- own package - |
0..* |
shared |
- 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 KeyDefinition (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-KeyDefinition"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition"/>
11 <body>Definition
12============
13Collection of concepts that uniquely defines a collection of data points in a dataset.</body>
14 </ownedComment>
15 <name>KeyDefinition</name>
16 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-identifier"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-identifier"
18 xmi:type="uml:Property">
19 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-identifier-ownedComment"
20 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-identifier-ownedComment"
21 xmi:type="uml:Comment">
22 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-identifier"/>
23 <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
24 </ownedComment>
25 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-identifier-lowerValue"
26 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-identifier-lowerValue"
27 xmi:type="uml:LiteralInteger"/>
28 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-identifier-upperValue"
29 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-identifier-upperValue"
30 xmi:type="uml:LiteralUnlimitedNatural">
31 <value>1</value>
32 </upperValue>
33 <name>identifier</name>
34 <isID>true</isID>
35 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
36 </ownedAttribute>
37 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_1"
38 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_1"
39 xmi:type="uml:Property">
40 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_1-lowerValue"
41 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_1-lowerValue"
42 xmi:type="uml:LiteralInteger"/>
43 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_1-upperValue"
44 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_1-upperValue"
45 xmi:type="uml:LiteralUnlimitedNatural">
46 <value>1</value>
47 </upperValue>
48 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-KeyDefinition_correspondsTo_Universe"/>
49 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Universe"/>
50 </ownedAttribute>
51 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_2"
52 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_2"
53 xmi:type="uml:Property">
54 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_2-lowerValue"
55 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_2-lowerValue"
56 xmi:type="uml:LiteralInteger"/>
57 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_2-upperValue"
58 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_2-upperValue"
59 xmi:type="uml:LiteralUnlimitedNatural">
60 <value>1</value>
61 </upperValue>
62 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-KeyDefinition_correspondsTo_Unit"/>
63 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Unit"/>
64 </ownedAttribute>
65 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_3"
66 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_3"
67 xmi:type="uml:Property">
68 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_3-lowerValue"
69 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_3-lowerValue"
70 xmi:type="uml:LiteralInteger"/>
71 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition-ownedAttribute_3-upperValue"
72 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyDefinition-ownedAttribute_3-upperValue"
73 xmi:type="uml:LiteralUnlimitedNatural">
74 <value>*</value>
75 </upperValue>
76 <aggregation>shared</aggregation>
77 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinition_has_KeyDefinitionMember"/>
78 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyDefinitionMember"/>
79 </ownedAttribute>
80</packagedElement>
Fragment for the class KeyDefinition (entire XML Schema)
1<xs:element name="KeyDefinition"
2 type="KeyDefinitionXsdType"
3 xml:id="KeyDefinition">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyDefinition -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Collection of concepts that uniquely defines a collection of data points in a dataset.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="KeyDefinitionXsdType"
12 xml:id="KeyDefinitionXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 Collection of concepts that uniquely defines a collection of data points in a dataset.</xs:documentation>
17 </xs:annotation>
18 <xs:sequence>
19 <xs:element name="identifier"
20 type="IdentifierXsdType"
21 minOccurs="0"
22 maxOccurs="1"
23 xml:id="KeyDefinition-identifier">
24 <xs:annotation>
25 <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
26 </xs:annotation>
27 </xs:element>
28 <xs:element name="KeyDefinition_correspondsTo_Universe"
29 minOccurs="0"
30 maxOccurs="1"
31 xml:id="KeyDefinition_correspondsTo_Universe">
32 <xs:annotation>
33 <xs:documentation></xs:documentation>
34 </xs:annotation>
35 <xs:complexType>
36 <xs:complexContent>
37 <xs:restriction base="AssociationReferenceXsdType">
38 <xs:sequence>
39 <xs:element name="ddiReference"
40 type="InternationalRegistrationDataIdentifierXsdType"
41 minOccurs="0"
42 maxOccurs="1"
43 xml:id="KeyDefinition_correspondsTo_Universe-ddiReference"/>
44 <xs:element name="validType"
45 minOccurs="0"
46 maxOccurs="unbounded"
47 xml:id="KeyDefinition_correspondsTo_Universe-validType">
48 <xs:simpleType>
49 <xs:restriction base="xs:NMTOKEN">
50 <xs:enumeration value="Population"/>
51 <xs:enumeration value="Universe"/>
52 </xs:restriction>
53 </xs:simpleType>
54 </xs:element>
55 </xs:sequence>
56 </xs:restriction>
57 </xs:complexContent>
58 </xs:complexType>
59 </xs:element>
60 <xs:element name="KeyDefinition_correspondsTo_Unit"
61 minOccurs="0"
62 maxOccurs="1"
63 xml:id="KeyDefinition_correspondsTo_Unit">
64 <xs:annotation>
65 <xs:documentation></xs:documentation>
66 </xs:annotation>
67 <xs:complexType>
68 <xs:complexContent>
69 <xs:restriction base="AssociationReferenceXsdType">
70 <xs:sequence>
71 <xs:element name="ddiReference"
72 type="InternationalRegistrationDataIdentifierXsdType"
73 minOccurs="0"
74 maxOccurs="1"
75 xml:id="KeyDefinition_correspondsTo_Unit-ddiReference"/>
76 <xs:element name="validType"
77 minOccurs="0"
78 maxOccurs="unbounded"
79 xml:id="KeyDefinition_correspondsTo_Unit-validType">
80 <xs:simpleType>
81 <xs:restriction base="xs:NMTOKEN">
82 <xs:enumeration value="Unit"/>
83 </xs:restriction>
84 </xs:simpleType>
85 </xs:element>
86 </xs:sequence>
87 </xs:restriction>
88 </xs:complexContent>
89 </xs:complexType>
90 </xs:element>
91 <xs:element name="KeyDefinition_has_KeyDefinitionMember"
92 minOccurs="0"
93 maxOccurs="unbounded"
94 xml:id="KeyDefinition_has_KeyDefinitionMember">
95 <xs:annotation>
96 <xs:documentation></xs:documentation>
97 </xs:annotation>
98 <xs:complexType>
99 <xs:complexContent>
100 <xs:restriction base="AssociationReferenceXsdType">
101 <xs:sequence>
102 <xs:element name="ddiReference"
103 type="InternationalRegistrationDataIdentifierXsdType"
104 minOccurs="0"
105 maxOccurs="1"
106 xml:id="KeyDefinition_has_KeyDefinitionMember-ddiReference"/>
107 <xs:element name="validType"
108 minOccurs="0"
109 maxOccurs="1"
110 xml:id="KeyDefinition_has_KeyDefinitionMember-validType">
111 <xs:simpleType>
112 <xs:restriction base="xs:NMTOKEN">
113 <xs:enumeration value="KeyDefinitionMember"/>
114 </xs:restriction>
115 </xs:simpleType>
116 </xs:element>
117 </xs:sequence>
118 </xs:restriction>
119 </xs:complexContent>
120 </xs:complexType>
121 </xs:element>
122 </xs:sequence>
123</xs:complexType>
Fragment for the class KeyDefinition (main ontology)
1# class KeyDefinition
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyDefinition
3cdi:KeyDefinition
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "KeyDefinition";
6 rdfs:comment "Definition \n============ \nCollection of concepts that uniquely defines a collection of data points in a dataset."@en;
7
8.
9
10cdi:KeyDefinition-identifier
11 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12 rdfs:label "identifier";
13 rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
14 rdfs:domain cdi:KeyDefinition;
15 rdfs:range cdi:Identifier;
16.
17
18
19cdi:KeyDefinition_correspondsTo_Unit
20 a rdf:Property, owl:ObjectProperty, ucmis:Association;
21 # ASSOCIATION
22 rdfs:label "correspondsTo";
23 skos:altLabel "KeyDefinition_correspondsTo_Unit";
24
25 rdfs:domain cdi:KeyDefinition;
26 rdfs:range cdi:Unit;
27.
28
29cdi:KeyDefinition_correspondsTo_Universe
30 a rdf:Property, owl:ObjectProperty, ucmis:Association;
31 # ASSOCIATION
32 rdfs:label "correspondsTo";
33 skos:altLabel "KeyDefinition_correspondsTo_Universe";
34
35 rdfs:domain cdi:KeyDefinition;
36 rdfs:range cdi:Universe;
37.
38
39cdi:KeyDefinition_has_KeyDefinitionMember
40 a rdf:Property, owl:ObjectProperty, ucmis:Association;
41 # ASSOCIATION
42 rdfs:label "has";
43 skos:altLabel "KeyDefinition_has_KeyDefinitionMember";
44
45 rdfs:domain cdi:KeyDefinition;
46 rdfs:range cdi:KeyDefinitionMember;
47.
Fragment for the class KeyDefinition (main 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 "KeyDefinition": "cdi:KeyDefinition",
7 "identifier": {
8 "@id": "cdi:KeyDefinition-identifier",
9 "@type": "@id",
10 "@context": "Identifier.jsonld"
11 },
12
13 "correspondsTo": {
14 "@id": "cdi:KeyDefinition_correspondsTo_Unit",
15 "@type": "@id" },
16 "correspondsTo": {
17 "@id": "cdi:KeyDefinition_correspondsTo_Universe",
18 "@type": "@id" },
19 "has": {
20 "@id": "cdi:KeyDefinition_has_KeyDefinitionMember",
21 "@type": "@id" },
22 "represents_OF_Key": {
23 "@reverse": "cdi:Key_represents_KeyDefinition",
24 "@type": "@id"
25 },
26 " comment ": "tag:json-should-support-trailing-commas"
27 }
28 ],
29 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:52:58.",
30 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyDefinition"
31}