SequencePosition

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::Process::SequencePosition

Definition

Assigns a sequence number to an activity within a sequence.

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

value

- own class -

Indexes the activities in a sequence using integers with a position indicated by incrementing upward from 0 or 1.

Integer

1..1

Associations

Direction

Association

Description

Multiplicity of SequencePosition

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

to

Sequence has SequencePosition

0..*

- own package -

Sequence

1..1

none

- own class -

from

SequencePosition indexes Activity

0..*

- own package -

Activity

1..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 SequencePosition (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-Process-SequencePosition"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition"/>
11      <body>Definition
12============
13Assigns a sequence number to an activity within a sequence.</body>
14   </ownedComment>
15   <name>SequencePosition</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-identifier"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-identifier"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-identifier-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-identifier-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-identifier"/>
23         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-identifier-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-identifier-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-identifier-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-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-Process-SequencePosition-ownedAttribute"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-ownedAttribute"
39                   xmi:type="uml:Property">
40      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-ownedAttribute-lowerValue"
41                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-ownedAttribute-lowerValue"
42                  xmi:type="uml:LiteralInteger">
43         <value>1</value>
44      </lowerValue>
45      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-ownedAttribute-upperValue"
46                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-ownedAttribute-upperValue"
47                  xmi:type="uml:LiteralUnlimitedNatural">
48         <value>1</value>
49      </upperValue>
50      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition_indexes_Activity"/>
51      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Activity"/>
52   </ownedAttribute>
53   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-value"
54                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-value"
55                   xmi:type="uml:Property">
56      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-value-ownedComment"
57                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-value-ownedComment"
58                    xmi:type="uml:Comment">
59         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-value"/>
60         <body>Indexes the activities in a sequence using integers with a position indicated by incrementing upward from 0 or 1.</body>
61      </ownedComment>
62      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-value-lowerValue"
63                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-value-lowerValue"
64                  xmi:type="uml:LiteralInteger">
65         <value>1</value>
66      </lowerValue>
67      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition-value-upperValue"
68                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#SequencePosition-value-upperValue"
69                  xmi:type="uml:LiteralUnlimitedNatural">
70         <value>1</value>
71      </upperValue>
72      <name>value</name>
73      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Integer"
74            xmi:type="uml:PrimitiveType"/>
75   </ownedAttribute>
76</packagedElement>

Fragment for the class SequencePosition (entire XML Schema)

 1<xs:element name="SequencePosition"
 2            type="SequencePositionXsdType"
 3            xml:id="SequencePosition">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::SequencePosition -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Assigns a sequence number to an activity within a sequence.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="SequencePositionXsdType"
12                xml:id="SequencePositionXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          Assigns a sequence number to an activity within a sequence.</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="SequencePosition-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="SequencePosition-value">
33      <xs:annotation>
34        <xs:documentation>Indexes the activities in a sequence using integers with a position indicated by incrementing upward from 0 or 1.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="SequencePosition_indexes_Activity"
38                minOccurs="1"
39                maxOccurs="1"
40                xml:id="SequencePosition_indexes_Activity">
41      <xs:annotation>
42        <xs:documentation></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="SequencePosition_indexes_Activity-ddiReference"/>
53              <xs:element name="validType"
54                          minOccurs="0"
55                          maxOccurs="unbounded"
56                          xml:id="SequencePosition_indexes_Activity-validType">
57                <xs:simpleType>
58                  <xs:restriction base="xs:NMTOKEN">
59                    <xs:enumeration value="Activity"/>
60                    <xs:enumeration value="Step"/>
61                  </xs:restriction>
62                </xs:simpleType>
63              </xs:element>
64            </xs:sequence>
65          </xs:restriction>
66        </xs:complexContent>
67      </xs:complexType>
68    </xs:element>
69  </xs:sequence>
70</xs:complexType>

Fragment for the class SequencePosition (main ontology)

 1# class SequencePosition
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::SequencePosition
 3cdi:SequencePosition
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "SequencePosition";
 6  rdfs:comment "Definition\n============\nAssigns a sequence number to an activity within a sequence."@en;
 7  
 8.
 9
10cdi:SequencePosition-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:SequencePosition;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:SequencePosition-value
19  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
20  rdfs:label "value";
21  rdfs:comment "Indexes the activities in a sequence using integers with a position indicated by incrementing upward from 0 or 1."@en;
22  rdfs:domain cdi:SequencePosition;
23  rdfs:range xsd:integer;
24.
25
26
27cdi:SequencePosition_indexes_Activity
28  a rdf:Property, owl:ObjectProperty, ucmis:Association;
29  # ASSOCIATION
30  rdfs:label "indexes";
31  skos:altLabel "SequencePosition_indexes_Activity";
32  
33  rdfs:domain cdi:SequencePosition;
34  rdfs:range cdi:Activity;
35.

Fragment for the class SequencePosition (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      "SequencePosition": "cdi:SequencePosition",
 7      "identifier": {
 8        "@id": "cdi:SequencePosition-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "value": {
13        "@id": "cdi:SequencePosition-value",
14        "@type": "xsd:integer"
15      },
16      
17      "indexes": {
18        "@id": "cdi:SequencePosition_indexes_Activity",
19        "@type": "@id"      },
20      "has_OF_Sequence": {
21        "@reverse": "cdi:Sequence_has_SequencePosition",
22        "@type": "@id"
23      },
24      " comment ": "tag:json-should-support-trailing-commas" 
25    }
26  ],
27  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:00.",
28  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Process::SequencePosition"
29}