MainKeyMember¶
Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyValue::MainKeyMember
Definition¶
Identifies the unit of interest, either a statistical unit or a population, via identifier or dimension components, respectively, plus an optional contextual component. If neither identifier nor dimension components are present, then a synthetic id component is used.
Examples¶
The string “income_distribution:male:Ontario:married” in a dimensional key-value datastore, where instance key members are defined by context plus Sex, Province and Marital Status dimensions.
Diagram
Inheritance
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
content |
The content of this value expressed as a string. |
0..1 |
|||
identifier |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
|||
whiteSpace |
The usual setting “collapse” states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. When setting to “replace” all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) but leading and trailing spaces will be retained. If the existence of any of these white spaces is critical to the understanding of the content, change the value of this attribute to “preserve”. |
0..1 |
Associations
Direction |
Association |
Description |
Multiplicity of MainKeyMember |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
---|---|---|---|---|---|---|---|---|
to |
Key has KeyMember |
0..* |
0..1 |
none |
||||
from |
KeyMember isBasedOn DataStructureComponent |
0..* |
0..* |
none |
||||
to |
Datum uses InstanceValue |
1..* |
0..* |
none |
||||
to |
InstanceKey has InstanceValue |
0..1 |
- own package - |
0..* |
none |
|||
from |
InstanceValue hasValueFrom ValueDomain |
0..* |
1..1 |
none |
||||
from |
InstanceValue isStoredIn DataPoint |
0..1 |
0..1 |
none |
||||
from |
InstanceValue represents ConceptualValue |
1..* |
0..1 |
none |
||||
from |
MainKeyMember hasValueFrom SubstantiveValueDomain |
0..* |
0..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 MainKeyMember (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-KeyValue-MainKeyMember"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember"/>
11 <body>Definition
12============
13Identifies the unit of interest, either a statistical unit or a population, via identifier or dimension components, respectively, plus an optional contextual component.
14If neither identifier nor dimension components are present, then a synthetic id component is used.
15
16Examples
17==========
18The string "income_distribution:male:Ontario:married" in a dimensional key-value datastore, where instance key members are defined by context plus Sex, Province and Marital Status dimensions.</body>
19 </ownedComment>
20 <name>MainKeyMember</name>
21 <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember-generalization"
22 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember-generalization"
23 xmi:type="uml:Generalization">
24 <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember"/>
25 </generalization>
26 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember-ownedAttribute"
27 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember-ownedAttribute"
28 xmi:type="uml:Property">
29 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember-ownedAttribute-lowerValue"
30 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember-ownedAttribute-lowerValue"
31 xmi:type="uml:LiteralInteger"/>
32 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember-ownedAttribute-upperValue"
33 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#MainKeyMember-ownedAttribute-upperValue"
34 xmi:type="uml:LiteralUnlimitedNatural">
35 <value>1</value>
36 </upperValue>
37 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyValue-MainKeyMember_hasValueFrom_SubstantiveValueDomain"/>
38 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-SubstantiveValueDomain"/>
39 </ownedAttribute>
40</packagedElement>
Fragment for the class MainKeyMember (entire XML Schema)
1<xs:element name="MainKeyMember"
2 type="MainKeyMemberXsdType"
3 xml:id="MainKeyMember">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyValue::MainKeyMember -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Identifies the unit of interest, either a statistical unit or a population, via identifier or dimension components, respectively, plus an optional contextual component.
9 If neither identifier nor dimension components are present, then a synthetic id component is used.
10
11 Examples
12 ==========
13 The string "income_distribution:male:Ontario:married" in a dimensional key-value datastore, where instance key members are defined by context plus Sex, Province and Marital Status dimensions.</xs:documentation>
14 </xs:annotation>
15</xs:element>
16<xs:complexType name="MainKeyMemberXsdType"
17 xml:id="MainKeyMemberXsdType">
18 <xs:annotation>
19 <xs:documentation>Definition
20 ============
21 Identifies the unit of interest, either a statistical unit or a population, via identifier or dimension components, respectively, plus an optional contextual component.
22 If neither identifier nor dimension components are present, then a synthetic id component is used.
23
24 Examples
25 ==========
26 The string "income_distribution:male:Ontario:married" in a dimensional key-value datastore, where instance key members are defined by context plus Sex, Province and Marital Status dimensions.</xs:documentation>
27 </xs:annotation>
28 <xs:complexContent>
29 <xs:extension base="KeyMemberXsdType">
30 <xs:sequence>
31 <xs:element name="MainKeyMember_hasValueFrom_SubstantiveValueDomain"
32 minOccurs="0"
33 maxOccurs="1"
34 xml:id="MainKeyMember_hasValueFrom_SubstantiveValueDomain">
35 <xs:annotation>
36 <xs:documentation></xs:documentation>
37 </xs:annotation>
38 <xs:complexType>
39 <xs:complexContent>
40 <xs:restriction base="AssociationReferenceXsdType">
41 <xs:sequence>
42 <xs:element name="ddiReference"
43 type="InternationalRegistrationDataIdentifierXsdType"
44 minOccurs="0"
45 maxOccurs="1"
46 xml:id="MainKeyMember_hasValueFrom_SubstantiveValueDomain-ddiReference"/>
47 <xs:element name="validType"
48 minOccurs="0"
49 maxOccurs="unbounded"
50 xml:id="MainKeyMember_hasValueFrom_SubstantiveValueDomain-validType">
51 <xs:simpleType>
52 <xs:restriction base="xs:NMTOKEN">
53 <xs:enumeration value="DescriptorValueDomain"/>
54 <xs:enumeration value="SubstantiveValueDomain"/>
55 </xs:restriction>
56 </xs:simpleType>
57 </xs:element>
58 </xs:sequence>
59 </xs:restriction>
60 </xs:complexContent>
61 </xs:complexType>
62 </xs:element>
63 </xs:sequence>
64 </xs:extension>
65 </xs:complexContent>
66</xs:complexType>
Fragment for the class MainKeyMember (main ontology)
1# class MainKeyMember
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyValue::MainKeyMember
3cdi:MainKeyMember
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "MainKeyMember";
6 rdfs:comment "Definition\n============\nIdentifies the unit of interest, either a statistical unit or a population, via identifier or dimension components, respectively, plus an optional contextual component. \nIf neither identifier nor dimension components are present, then a synthetic id component is used. \n\nExamples\n==========\nThe string \"income_distribution:male:Ontario:married\" in a dimensional key-value datastore, where instance key members are defined by context plus Sex, Province and Marital Status dimensions."@en;
7 rdfs:subClassOf cdi:KeyMember;
8.
9
10
11cdi:MainKeyMember_hasValueFrom_SubstantiveValueDomain
12 a rdf:Property, owl:ObjectProperty, ucmis:Association;
13 # ASSOCIATION
14 rdfs:label "hasValueFrom";
15 skos:altLabel "MainKeyMember_hasValueFrom_SubstantiveValueDomain";
16
17 rdfs:domain cdi:MainKeyMember;
18 rdfs:range cdi:SubstantiveValueDomain;
19.
Fragment for the class MainKeyMember (main JSON-LD)
1{
2 "@context": [
3 "KeyMember.jsonld",
4 {
5 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
6 "xsd": "http://www.w3.org/2001/XMLSchema#",
7 "MainKeyMember": "cdi:MainKeyMember",
8
9 "hasValueFrom": {
10 "@id": "cdi:MainKeyMember_hasValueFrom_SubstantiveValueDomain",
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-03-16 23:40:08.",
16 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyValue::MainKeyMember"
17}