KeyMember

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyMember

Definition

Single data instance that is part of a key.

Diagram

Inheritance
  ᐊ── DataDescription::KeyMember
    ᐊ── Long::Descriptor
    ᐊ── Long::LongMainKeyMember
    ᐊ── KeyValue::MainKeyMember
    ᐊ── Wide::WideKeyMember
Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

content

DataDescription::InstanceValue

The content of this value expressed as a string.

TypedString

0..1

identifier

DataDescription::InstanceValue

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

whiteSpace

DataDescription::InstanceValue

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”.

WhiteSpaceRule

0..1

Associations

Direction

Association

Description

Multiplicity of KeyMember

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

Datum uses InstanceValue

1..*

- own package -

Datum

0..*

none

DataDescription::InstanceValue

to

InstanceKey has InstanceValue

0..1

KeyValue

InstanceKey

0..*

none

DataDescription::InstanceValue

from

InstanceValue hasValueFrom ValueDomain

0..*

Representations

ValueDomain

1..1

none

DataDescription::InstanceValue

from

InstanceValue isStoredIn DataPoint

0..1

- own package -

DataPoint

0..1

none

DataDescription::InstanceValue

from

InstanceValue represents ConceptualValue

1..*

- own package -

ConceptualValue

0..1

none

DataDescription::InstanceValue

to

Key has KeyMember

0..*

- own package -

Key

0..1

none

- own class -

from

KeyMember isBasedOn DataStructureComponent

0..*

Components

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 KeyMember (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-KeyMember"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember"/>
11      <body>Definition 
12============ 
13Single data instance that is part of a key.</body>
14   </ownedComment>
15   <name>KeyMember</name>
16   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember-generalization"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember-generalization"
18                   xmi:type="uml:Generalization">
19      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-InstanceValue"/>
20   </generalization>
21   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember-ownedAttribute"
22                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember-ownedAttribute"
23                   xmi:type="uml:Property">
24      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember-ownedAttribute-lowerValue"
25                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember-ownedAttribute-lowerValue"
26                  xmi:type="uml:LiteralInteger"/>
27      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember-ownedAttribute-upperValue"
28                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#KeyMember-ownedAttribute-upperValue"
29                  xmi:type="uml:LiteralUnlimitedNatural">
30         <value>*</value>
31      </upperValue>
32      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-KeyMember_isBasedOn_DataStructureComponent"/>
33      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Components-DataStructureComponent"/>
34   </ownedAttribute>
35</packagedElement>

Fragment for the class KeyMember (entire XML Schema)

 1<xs:element name="KeyMember"
 2            type="KeyMemberXsdType"
 3            xml:id="KeyMember">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyMember -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Single data instance that is part of a key.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="KeyMemberXsdType"
12                xml:id="KeyMemberXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition 
15          ============ 
16          Single data instance that is part of a key.</xs:documentation>
17  </xs:annotation>
18  <xs:complexContent>
19    <xs:extension base="InstanceValueXsdType">
20      <xs:sequence>
21        <xs:element name="KeyMember_isBasedOn_DataStructureComponent"
22                    minOccurs="0"
23                    maxOccurs="unbounded"
24                    xml:id="KeyMember_isBasedOn_DataStructureComponent">
25          <xs:annotation>
26            <xs:documentation></xs:documentation>
27          </xs:annotation>
28          <xs:complexType>
29            <xs:complexContent>
30              <xs:restriction base="AssociationReferenceXsdType">
31                <xs:sequence>
32                  <xs:element name="ddiReference"
33                              type="InternationalRegistrationDataIdentifierXsdType"
34                              minOccurs="0"
35                              maxOccurs="1"
36                              xml:id="KeyMember_isBasedOn_DataStructureComponent-ddiReference"/>
37                  <xs:element name="validType"
38                              minOccurs="0"
39                              maxOccurs="unbounded"
40                              xml:id="KeyMember_isBasedOn_DataStructureComponent-validType">
41                    <xs:simpleType>
42                      <xs:restriction base="xs:NMTOKEN">
43                        <xs:enumeration value="AttributeComponent"/>
44                        <xs:enumeration value="ContextualComponent"/>
45                        <xs:enumeration value="DataStructure"/>
46                        <xs:enumeration value="DataStructureComponent"/>
47                        <xs:enumeration value="DimensionComponent"/>
48                        <xs:enumeration value="DimensionalDataStructure"/>
49                        <xs:enumeration value="IdentifierComponent"/>
50                        <xs:enumeration value="KeyValueStructure"/>
51                        <xs:enumeration value="LongDataStructure"/>
52                        <xs:enumeration value="MeasureComponent"/>
53                        <xs:enumeration value="QualifiedMeasure"/>
54                        <xs:enumeration value="SyntheticIdComponent"/>
55                        <xs:enumeration value="VariableDescriptorComponent"/>
56                        <xs:enumeration value="VariableValueComponent"/>
57                        <xs:enumeration value="WideDataStructure"/>
58                      </xs:restriction>
59                    </xs:simpleType>
60                  </xs:element>
61                </xs:sequence>
62              </xs:restriction>
63            </xs:complexContent>
64          </xs:complexType>
65        </xs:element>
66      </xs:sequence>
67    </xs:extension>
68  </xs:complexContent>
69</xs:complexType>

Fragment for the class KeyMember (main ontology)

 1# class KeyMember
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyMember
 3cdi:KeyMember
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "KeyMember";
 6  rdfs:comment "Definition \n============ \nSingle data instance that is part of a key."@en;
 7  rdfs:subClassOf cdi:InstanceValue;
 8.
 9
10
11cdi:KeyMember_isBasedOn_DataStructureComponent
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "isBasedOn";
15  skos:altLabel "KeyMember_isBasedOn_DataStructureComponent";
16  
17  rdfs:domain cdi:KeyMember;
18  rdfs:range cdi:DataStructureComponent;
19.

Fragment for the class KeyMember (main JSON-LD)

 1{
 2  "@context": [
 3    "InstanceValue.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7      "KeyMember": "cdi:KeyMember",
 8      
 9      "isBasedOn": {
10        "@id": "cdi:KeyMember_isBasedOn_DataStructureComponent",
11        "@type": "@id"      },
12      "has_OF_Key": {
13        "@reverse": "cdi:Key_has_KeyMember",
14        "@type": "@id"
15      },
16      " comment ": "tag:json-should-support-trailing-commas" 
17    }
18  ],
19  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:09.",
20  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::KeyMember"
21}