ValueMappingRelationship

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::FormatDescription::ValueMappingRelationship

Definition

Relationships among data points in a physical layout.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

- own class -

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

Identifier

0..1

semantics

- own class -

Specifies the semantics of the object in reference to a vocabulary, ontology, etc.

ControlledVocabularyEntry

0..1

Associations

Direction

Association

Description

Multiplicity of ValueMappingRelationship

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

PhysicalLayoutRelationStructure has ValueMappingRelationship

0..*

- own package -

PhysicalLayoutRelationStructure

1..1

none

- own class -

from

ValueMappingRelationship hasSource ValueMapping

Specialization of source to variable mapping.

0..*

- own package -

ValueMapping

0..*

none

- own class -

from

ValueMappingRelationship hasTarget ValueMapping

Specialization of target to variable mapping. Restricts cardinality.

0..*

- own package -

ValueMapping

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 ValueMappingRelationship (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-FormatDescription-ValueMappingRelationship"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship"/>
11      <body>Definition 
12============ 
13Relationships among data points in a physical layout.</body>
14   </ownedComment>
15   <name>ValueMappingRelationship</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-identifier"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-identifier"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-identifier-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-identifier-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-identifier"/>
23         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-identifier-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-identifier-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-identifier-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-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-FormatDescription-ValueMappingRelationship-ownedAttribute_1"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_1"
39                   xmi:type="uml:Property">
40      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedAttribute_1-lowerValue"
41                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_1-lowerValue"
42                  xmi:type="uml:LiteralInteger"/>
43      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedAttribute_1-upperValue"
44                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_1-upperValue"
45                  xmi:type="uml:LiteralUnlimitedNatural">
46         <value>*</value>
47      </upperValue>
48      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship_hasTarget_ValueMapping"/>
49      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMapping"/>
50   </ownedAttribute>
51   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedAttribute_2"
52                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_2"
53                   xmi:type="uml:Property">
54      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedAttribute_2-lowerValue"
55                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_2-lowerValue"
56                  xmi:type="uml:LiteralInteger"/>
57      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-ownedAttribute_2-upperValue"
58                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-ownedAttribute_2-upperValue"
59                  xmi:type="uml:LiteralUnlimitedNatural">
60         <value>*</value>
61      </upperValue>
62      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship_hasSource_ValueMapping"/>
63      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMapping"/>
64   </ownedAttribute>
65   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-semantics"
66                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-semantics"
67                   xmi:type="uml:Property">
68      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-semantics-ownedComment"
69                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-semantics-ownedComment"
70                    xmi:type="uml:Comment">
71         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-semantics"/>
72         <body>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</body>
73      </ownedComment>
74      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-semantics-lowerValue"
75                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-semantics-lowerValue"
76                  xmi:type="uml:LiteralInteger"/>
77      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-ValueMappingRelationship-semantics-upperValue"
78                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ValueMappingRelationship-semantics-upperValue"
79                  xmi:type="uml:LiteralUnlimitedNatural">
80         <value>1</value>
81      </upperValue>
82      <name>semantics</name>
83      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
84   </ownedAttribute>
85</packagedElement>

Fragment for the class ValueMappingRelationship (entire XML Schema)

  1<xs:element name="ValueMappingRelationship"
  2            type="ValueMappingRelationshipXsdType"
  3            xml:id="ValueMappingRelationship">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::ValueMappingRelationship -->
  5  <xs:annotation>
  6    <xs:documentation>Definition 
  7          ============ 
  8          Relationships among data points in a physical layout.</xs:documentation>
  9  </xs:annotation>
 10</xs:element>
 11<xs:complexType name="ValueMappingRelationshipXsdType"
 12                xml:id="ValueMappingRelationshipXsdType">
 13  <xs:annotation>
 14    <xs:documentation>Definition 
 15          ============ 
 16          Relationships among data points in a physical layout.</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="ValueMappingRelationship-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="semantics"
 29                type="ControlledVocabularyEntryXsdType"
 30                minOccurs="0"
 31                maxOccurs="1"
 32                xml:id="ValueMappingRelationship-semantics">
 33      <xs:annotation>
 34        <xs:documentation>Specifies the semantics of the object in reference to a vocabulary, ontology, etc.</xs:documentation>
 35      </xs:annotation>
 36    </xs:element>
 37    <xs:element name="ValueMappingRelationship_hasTarget_ValueMapping"
 38                minOccurs="0"
 39                maxOccurs="unbounded"
 40                xml:id="ValueMappingRelationship_hasTarget_ValueMapping">
 41      <xs:annotation>
 42        <xs:documentation>Specialization of target to variable mapping. Restricts cardinality.</xs:documentation>
 43      </xs:annotation>
 44      <xs:complexType>
 45        <xs:complexContent>
 46          <xs:restriction base="AssociationReferenceXsdType">
 47            <xs:sequence>
 48              <xs:element name="ddiReference"
 49                          type="InternationalRegistrationDataIdentifierXsdType"
 50                          minOccurs="0"
 51                          maxOccurs="1"
 52                          xml:id="ValueMappingRelationship_hasTarget_ValueMapping-ddiReference"/>
 53              <xs:element name="validType"
 54                          minOccurs="0"
 55                          maxOccurs="unbounded"
 56                          xml:id="ValueMappingRelationship_hasTarget_ValueMapping-validType">
 57                <xs:simpleType>
 58                  <xs:restriction base="xs:NMTOKEN">
 59                    <xs:enumeration value="ValueMapping"/>
 60                  </xs:restriction>
 61                </xs:simpleType>
 62              </xs:element>
 63            </xs:sequence>
 64          </xs:restriction>
 65        </xs:complexContent>
 66      </xs:complexType>
 67    </xs:element>
 68    <xs:element name="ValueMappingRelationship_hasSource_ValueMapping"
 69                minOccurs="0"
 70                maxOccurs="unbounded"
 71                xml:id="ValueMappingRelationship_hasSource_ValueMapping">
 72      <xs:annotation>
 73        <xs:documentation>Specialization of source to variable mapping.</xs:documentation>
 74      </xs:annotation>
 75      <xs:complexType>
 76        <xs:complexContent>
 77          <xs:restriction base="AssociationReferenceXsdType">
 78            <xs:sequence>
 79              <xs:element name="ddiReference"
 80                          type="InternationalRegistrationDataIdentifierXsdType"
 81                          minOccurs="0"
 82                          maxOccurs="1"
 83                          xml:id="ValueMappingRelationship_hasSource_ValueMapping-ddiReference"/>
 84              <xs:element name="validType"
 85                          minOccurs="0"
 86                          maxOccurs="unbounded"
 87                          xml:id="ValueMappingRelationship_hasSource_ValueMapping-validType">
 88                <xs:simpleType>
 89                  <xs:restriction base="xs:NMTOKEN">
 90                    <xs:enumeration value="ValueMapping"/>
 91                  </xs:restriction>
 92                </xs:simpleType>
 93              </xs:element>
 94            </xs:sequence>
 95          </xs:restriction>
 96        </xs:complexContent>
 97      </xs:complexType>
 98    </xs:element>
 99  </xs:sequence>
100</xs:complexType>

Fragment for the class ValueMappingRelationship (main ontology)

 1# class ValueMappingRelationship
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::ValueMappingRelationship
 3cdi:ValueMappingRelationship
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ValueMappingRelationship";
 6  rdfs:comment "Definition \n============ \nRelationships among data points in a physical layout."@en;
 7  
 8.
 9
10cdi:ValueMappingRelationship-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:ValueMappingRelationship;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:ValueMappingRelationship-semantics
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "semantics";
21  rdfs:comment "Specifies the semantics of the object in reference to a vocabulary, ontology, etc."@en;
22  rdfs:domain cdi:ValueMappingRelationship;
23  rdfs:range cdi:ControlledVocabularyEntry;
24.
25
26
27cdi:ValueMappingRelationship_hasSource_ValueMapping
28  a rdf:Property, owl:ObjectProperty, ucmis:Association;
29  # ASSOCIATION
30  rdfs:label "hasSource";
31  skos:altLabel "ValueMappingRelationship_hasSource_ValueMapping";
32  rdfs:comment "Specialization of source to variable mapping."@en;
33  rdfs:domain cdi:ValueMappingRelationship;
34  rdfs:range cdi:ValueMapping;
35.
36
37cdi:ValueMappingRelationship_hasTarget_ValueMapping
38  a rdf:Property, owl:ObjectProperty, ucmis:Association;
39  # ASSOCIATION
40  rdfs:label "hasTarget";
41  skos:altLabel "ValueMappingRelationship_hasTarget_ValueMapping";
42  rdfs:comment "Specialization of target to variable mapping. Restricts cardinality."@en;
43  rdfs:domain cdi:ValueMappingRelationship;
44  rdfs:range cdi:ValueMapping;
45.

Fragment for the class ValueMappingRelationship (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      "ValueMappingRelationship": "cdi:ValueMappingRelationship",
 7      "identifier": {
 8        "@id": "cdi:ValueMappingRelationship-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "semantics": {
13        "@id": "cdi:ValueMappingRelationship-semantics",
14        "@type": "@id",
15        "@context": "ControlledVocabularyEntry.jsonld"
16      },
17      
18      "hasSource": {
19        "@id": "cdi:ValueMappingRelationship_hasSource_ValueMapping",
20        "@type": "@id"      },
21      "hasTarget": {
22        "@id": "cdi:ValueMappingRelationship_hasTarget_ValueMapping",
23        "@type": "@id"      },
24      "has_OF_PhysicalLayoutRelationStructure": {
25        "@reverse": "cdi:PhysicalLayoutRelationStructure_has_ValueMappingRelationship",
26        "@type": "@id"
27      },
28      " comment ": "tag:json-should-support-trailing-commas" 
29    }
30  ],
31  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:52:59.",
32  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::FormatDescription::ValueMappingRelationship"
33}