LongKey#
Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey
Definition#
Collection of data instances that uniquely identify a collection of data points in a long dataset.
Examples#
Collection containing the single “K1Z1C1” string in a long dataset where rows are identified by postal code representations.
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 |
Associations#
Associations
Direction |
Association |
Description |
Multiplicity of LongKey |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
|---|---|---|---|---|---|---|---|---|
from |
Key correspondsTo Unit |
0..* |
0..1 |
none |
||||
from |
Key correspondsTo Universe |
0..* |
0..1 |
none |
||||
to |
DataSet has Key |
0..* |
1..1 |
none |
||||
from |
Key has KeyMember |
0..1 |
0..* |
shared |
||||
from |
Key identifies DataPoint |
0..1 |
1..* |
none |
||||
from |
Key represents KeyDefinition |
1..* |
0..1 |
none |
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 LongKey (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-Long-LongKey"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LongKey"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-LongKey-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LongKey-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-LongKey"/>
11 <body>Definition
12============
13Collection of data instances that uniquely identify a collection of data points in a long dataset.
14
15Examples
16==========
17Collection containing the single "K1Z1C1" string in a long dataset where rows are identified by postal code representations.</body>
18 </ownedComment>
19 <name>LongKey</name>
20 <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Long-LongKey-generalization"
21 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LongKey-generalization"
22 xmi:type="uml:Generalization">
23 <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Key"/>
24 </generalization>
25</packagedElement>
Fragment for the class LongKey (entire XML Schema)
1<xs:element name="LongKey"
2 type="LongKeyXsdType"
3 xml:id="LongKey">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Collection of data instances that uniquely identify a collection of data points in a long dataset.
9
10 Examples
11 ==========
12 Collection containing the single "K1Z1C1" string in a long dataset where rows are identified by postal code representations.</xs:documentation>
13 </xs:annotation>
14</xs:element>
15<xs:complexType name="LongKeyXsdType"
16 xml:id="LongKeyXsdType">
17 <xs:annotation>
18 <xs:documentation>Definition
19 ============
20 Collection of data instances that uniquely identify a collection of data points in a long dataset.
21
22 Examples
23 ==========
24 Collection containing the single "K1Z1C1" string in a long dataset where rows are identified by postal code representations.</xs:documentation>
25 </xs:annotation>
26 <xs:complexContent>
27 <xs:extension base="KeyXsdType">
28
29 </xs:extension>
30 </xs:complexContent>
31</xs:complexType>
Fragment for the class LongKey (entire JSON Schema)
1"cls-LongKey": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/LongKey",
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": "LongKey"
14 },
15 "identifier": {
16 "$comment": "cardinality 0..1 – from cdi:Key",
17 "$ref": "#/defs/dt-Identifier"
18 },
19 "correspondsTo_Unit": {
20 "description": "Key_correspondsTo_Unit",
21 "$comment": "cardinality 0..1",
22 "$ref": "#/defs/target-Unit"
23 },
24 "correspondsTo_Universe": {
25 "description": "Key_correspondsTo_Universe",
26 "$comment": "cardinality 0..1",
27 "$ref": "#/defs/target-Universe"
28 },
29 "has_KeyMember": {
30 "description": "Key_has_KeyMember",
31 "$comment": "cardinality 0..-1",
32 "anyOf": [
33 {
34 "$ref": "#/defs/target-KeyMember"
35 },
36 {
37 "type": "array",
38 "items": {
39 "$ref": "#/defs/target-KeyMember"
40 }
41 }
42 ]
43 },
44 "identifies": {
45 "description": "Key_identifies_DataPoint",
46 "$comment": "cardinality 1..-1",
47 "anyOf": [
48 {
49 "$ref": "#/defs/target-DataPoint"
50 },
51 {
52 "type": "array",
53 "items": {
54 "$ref": "#/defs/target-DataPoint"
55 }
56 }
57 ]
58 },
59 "represents": {
60 "description": "Key_represents_KeyDefinition",
61 "$comment": "cardinality 0..1",
62 "$ref": "#/defs/target-KeyDefinition"
63 },
64 "has_Key_OF_DataSet": {
65 "description": "DataSet_has_Key",
66 "$comment": "cardinality 1..1",
67 "$ref": "#/defs/target-DataSet"
68 },
69 "sameAs": {
70 "$ref": "#/defs/owl:sameAs"
71 }
72 },
73 "required": ["identifies","@type"],
74 "additionalProperties": false
75},
76"target-LongKey": {
77 "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/LongKey",
78 "anyOf": [
79 { "$ref": "#/defs/cls-LongKey" },
80 { "type": "string", "format": "iri-reference" }
81 ]
82},
Fragment for the class LongKey (main ontology)
1# class LongKey
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey
3cdi:LongKey
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "LongKey";
6 rdfs:comment "Definition\n============\nCollection of data instances that uniquely identify a collection of data points in a long dataset.\n\nExamples\n==========\nCollection containing the single \"K1Z1C1\" string in a long dataset where rows are identified by postal code representations."@en;
7 rdfs:subClassOf cdi:Key;
8.
Fragment for the class LongKey (entire JSON-LD)
1{
2 "@context": [
3 "Key.jsonld",
4 {
5 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
6 "xsd": "http://www.w3.org/2001/XMLSchema#",
7
8
9 " comment ": "tag:json-should-support-trailing-commas"
10 }
11 ],
12 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:51.",
13 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey"
14}
Fragment for the class LongKey (entire SHACL - Shapes Constraint Language)
1# class LongKey
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey
3<#LongKey> a sh:NodeShape;
4 sh:targetClass cdi:LongKey;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/LongKey";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( cdi:LongKey
11 ) ;
12 ];
13 # attributes
14 # associations from LongKey
15 # associations to LongKey
16
17 # ---- superclass: Key
18 # attributes
19 sh:property <#Key-identifier>;
20 # associations from Key
21 sh:property <#Key_correspondsTo_Unit>;
22 sh:property <#Key_correspondsTo_Universe>;
23 sh:property <#Key_has_KeyMember>;
24 sh:property <#Key_identifies_DataPoint>;
25 sh:property <#Key_represents_KeyDefinition>;
26 # associations to Key
27 sh:property <#rev_DataSet_has_Key>;
28
29
30
31
32
33.
Fragment for the class LongKey (entire ShEx - Shape Expressions)
1# class LongKey
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Long::LongKey
3cdi:LongKeyShape CLOSED {
4 a [cdi:LongKey];
5 &cdi:KeyProperties;
6 }