PhysicalMappingPosition#

Fully qualified class name of the UML model DDI-CDI 1.1beta: DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition

Definition#

Denotes the position of a physical mapping in a sequence within a physical data set.

Diagram#

Diagram

Attributes#

Attributes
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

value

- own class -

Index value of the member in an ordered array.

Integer

1..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of PhysicalMappingPosition

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

PhysicalDataSet has PhysicalMappingPosition

0..*

- own package -

PhysicalDataSet

1..1

none

own class

from

PhysicalMappingPosition indexes PhysicalMapping

Assigns a position to a value mapping within a physical segment.

0..*

- own package -

PhysicalMapping

1..1

none

own class

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 PhysicalMappingPosition (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-FormatDescription-PhysicalMappingPosition"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition"/>
11      <body>Definition 
12============ 
13Denotes the position of a physical mapping in a sequence within a physical data set. </body>
14   </ownedComment>
15   <name>PhysicalMappingPosition</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-identifier"
17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-identifier"
18                    xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-identifier-ownedComment"
20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-identifier-ownedComment"
21                     xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-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-PhysicalMappingPosition-identifier-lowerValue"
26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-identifier-lowerValue"
27                   xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-identifier-upperValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-identifier-upperValue"
30                   xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>identifier</name>
34      <isID>true</isID>
35      <isID>true</isID>
36      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
37   </ownedAttribute>
38   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-ownedAttribute"
39                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-ownedAttribute"
40                    xmi:type="uml:Property">
41      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-ownedAttribute-lowerValue"
42                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-ownedAttribute-lowerValue"
43                   xmi:type="uml:LiteralInteger">
44         <value>1</value>
45      </lowerValue>
46      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-ownedAttribute-upperValue"
47                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-ownedAttribute-upperValue"
48                   xmi:type="uml:LiteralUnlimitedNatural">
49         <value>1</value>
50      </upperValue>
51      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition_indexes_PhysicalMapping"/>
52      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMapping"/>
53   </ownedAttribute>
54   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-value"
55                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-value"
56                    xmi:type="uml:Property">
57      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-value-ownedComment"
58                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-value-ownedComment"
59                     xmi:type="uml:Comment">
60         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-value"/>
61         <body>Index value of the member in an ordered array.</body>
62      </ownedComment>
63      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-value-lowerValue"
64                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-value-lowerValue"
65                   xmi:type="uml:LiteralInteger">
66         <value>1</value>
67      </lowerValue>
68      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-FormatDescription-PhysicalMappingPosition-value-upperValue"
69                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PhysicalMappingPosition-value-upperValue"
70                   xmi:type="uml:LiteralUnlimitedNatural">
71         <value>1</value>
72      </upperValue>
73      <name>value</name>
74      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
75             xmi:type="uml:PrimitiveType"/>
76   </ownedAttribute>
77</packagedElement>

Fragment for the class PhysicalMappingPosition (entire XML Schema)

 1<xs:element name="PhysicalMappingPosition"
 2            type="PhysicalMappingPositionXsdType"
 3            xml:id="PhysicalMappingPosition">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Denotes the position of a physical mapping in a sequence within a physical data set.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="PhysicalMappingPositionXsdType"
12                xml:id="PhysicalMappingPositionXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition 
15          ============ 
16          Denotes the position of a physical mapping in a sequence within a physical data set.</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="PhysicalMappingPosition-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="value"
29                type="xs:integer"
30                minOccurs="1"
31                maxOccurs="1"
32                xml:id="PhysicalMappingPosition-value">
33      <xs:annotation>
34        <xs:documentation>Index value of the member in an ordered array.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="PhysicalMappingPosition_indexes_PhysicalMapping"
38                minOccurs="1"
39                maxOccurs="1"
40                xml:id="PhysicalMappingPosition_indexes_PhysicalMapping">
41      <xs:annotation>
42        <xs:documentation>Assigns a position to a value mapping within a physical segment.</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="PhysicalMappingPosition_indexes_PhysicalMapping-ddiReference"/>
53              <xs:element name="validType"
54                          minOccurs="0"
55                          maxOccurs="unbounded"
56                          xml:id="PhysicalMappingPosition_indexes_PhysicalMapping-validType">
57                <xs:simpleType>
58                  <xs:restriction base="xs:NMTOKEN">
59                    <xs:enumeration value="LocatorMapping"/>
60                    <xs:enumeration value="PhysicalMapping"/>
61                    <xs:enumeration value="TextMapping"/>
62                  </xs:restriction>
63                </xs:simpleType>
64              </xs:element>
65            </xs:sequence>
66          </xs:restriction>
67        </xs:complexContent>
68      </xs:complexType>
69    </xs:element>
70  </xs:sequence>
71</xs:complexType>

Fragment for the class PhysicalMappingPosition (entire JSON Schema)

 1"cls-PhysicalMappingPosition": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/PhysicalMappingPosition",
 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": "PhysicalMappingPosition"
14    },
15    "identifier": {
16      "$comment": "cardinality 0..1 – from cdi:PhysicalMappingPosition",
17      "$ref": "#/defs/dt-Identifier"
18    },
19    "value": {
20      "$comment": "cardinality 1..1 – from cdi:PhysicalMappingPosition",
21      "$ref": "#/defs/xsd:integer"
22    },
23    "indexes": {
24      "description": "PhysicalMappingPosition_indexes_PhysicalMapping",
25      "$comment": "cardinality 1..1",
26       "$ref": "#/defs/target-PhysicalMapping"
27    },
28    "has_PhysicalMappingPosition_OF_PhysicalDataSet": {
29      "description": "PhysicalDataSet_has_PhysicalMappingPosition",
30      "$comment": "cardinality 1..1",
31      "$ref": "#/defs/target-PhysicalDataSet"
32    },
33    "sameAs": {
34      "$ref": "#/defs/owl:sameAs"
35    }
36  },
37  "required": ["value","indexes","@type"],
38  "additionalProperties": false
39},
40"target-PhysicalMappingPosition": {
41  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/PhysicalMappingPosition",
42  "anyOf": [
43    { "$ref": "#/defs/cls-PhysicalMappingPosition" },
44    { "type": "string", "format": "iri-reference" }
45  ]
46},

Fragment for the class PhysicalMappingPosition (main ontology)

 1# class PhysicalMappingPosition
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition
 3cdi:PhysicalMappingPosition
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "PhysicalMappingPosition";
 6  rdfs:comment "Definition \n============ \nDenotes the position of a physical mapping in a sequence within a physical data set."@en;
 7  
 8.
 9
10cdi:PhysicalMappingPosition-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:PhysicalMappingPosition;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:PhysicalMappingPosition-value
19  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
20  rdfs:label "value";
21  rdfs:comment "Index value of the member in an ordered array."@en;
22  rdfs:domain cdi:PhysicalMappingPosition;
23  rdfs:range xsd:integer;
24.
25
26
27cdi:PhysicalMappingPosition_indexes_PhysicalMapping
28  a rdf:Property, owl:ObjectProperty, ucmis:Association;
29  # ASSOCIATION
30  rdfs:label "indexes";
31  skos:altLabel "PhysicalMappingPosition_indexes_PhysicalMapping";
32  rdfs:comment "Assigns a position to a value mapping within a physical segment."@en;
33  rdfs:domain cdi:PhysicalMappingPosition;
34  rdfs:range cdi:PhysicalMapping;
35.

Fragment for the class PhysicalMappingPosition (entire 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
 7      "identifier": {
 8        "@id": "cdi:PhysicalMappingPosition-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "value": {
13        "@id": "cdi:PhysicalMappingPosition-value",
14        "@type": "xsd:integer"
15      },
16      
17      "indexes": {
18        "@id": "cdi:PhysicalMappingPosition_indexes_PhysicalMapping",
19        "@type": "@id",
20        "@context": "PhysicalMapping.jsonld"
21      },
22      "has_PhysicalMappingPosition_OF_PhysicalDataSet": {
23        "@reverse": "cdi:PhysicalDataSet_has_PhysicalMappingPosition",
24        "@type": "@id",
25        "@context": "PhysicalDataSet.jsonld"
26      },
27      " comment ": "tag:json-should-support-trailing-commas"
28    }
29  ],
30  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2026-04-15 14:38:41.",
31  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition"
32}

Fragment for the class PhysicalMappingPosition (entire SHACL - Shapes Constraint Language)

 1# class PhysicalMappingPosition
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition
 3<#PhysicalMappingPosition> a sh:NodeShape;
 4    sh:targetClass cdi:PhysicalMappingPosition;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/PhysicalMappingPosition";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:PhysicalMappingPosition
11			 ) ;
12    ];
13    # attributes
14    sh:property <#PhysicalMappingPosition-identifier>;
15    sh:property <#PhysicalMappingPosition-value>;
16    # associations from PhysicalMappingPosition
17    sh:property <#PhysicalMappingPosition_indexes_PhysicalMapping>;
18    # associations to PhysicalMappingPosition
19    sh:property <#rev_PhysicalDataSet_has_PhysicalMappingPosition>;
20
21
22
23.
24
25<#PhysicalMappingPosition-identifier> a sh:PropertyShape ;
26    sh:path cdi:PhysicalMappingPosition-identifier;
27    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
28        cdi:Identifier
29      
30    ) ]];
31    sh:maxCount 1;
32.
33<#PhysicalMappingPosition-value> a sh:PropertyShape ;
34    sh:path cdi:PhysicalMappingPosition-value;
35    sh:datatype xsd:integer;
36    sh:minCount 1;
37    sh:maxCount 1;
38.
39
40<#PhysicalMappingPosition_indexes_PhysicalMapping> a sh:PropertyShape ;
41    sh:path cdi:PhysicalMappingPosition_indexes_PhysicalMapping;
42	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
43        cdi:PhysicalMapping
44        cdi:LocatorMapping
45        cdi:TextMapping
46      
47    ) ]];
48    sh:minCount 1;
49    sh:maxCount 1;
50.
51<#rev_PhysicalMappingPosition_indexes_PhysicalMapping> a sh:PropertyShape ;
52    sh:path [ sh:inversePath cdi:PhysicalMappingPosition_indexes_PhysicalMapping ];
53.

Fragment for the class PhysicalMappingPosition (entire ShEx - Shape Expressions)

 1# class PhysicalMappingPosition
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::FormatDescription::PhysicalMappingPosition
 3cdi:PhysicalMappingPositionShape CLOSED {
 4	a [cdi:PhysicalMappingPosition];
 5	cdi:PhysicalMappingPosition-identifier	@cdi:IdentifierShape?;
 6	cdi:PhysicalMappingPosition-value	xsd:integer;
 7	^cdi:PhysicalDataSet_has_PhysicalMappingPosition @cdi:PhysicalDataSetShape OR @cdi:StructuredDataSetShape OR @cdi:TabularTextDataSetShape;
 8	cdi:PhysicalMappingPosition_indexes_PhysicalMapping	@cdi:PhysicalMappingShape OR @cdi:LocatorMappingShape OR @cdi:TextMappingShape;
 9	
10	}