Sequence¶
Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::Process::Sequence
Definition¶
A sequence controls the order of activities or steps by defining a simple sequence.
Examples¶
A sequence might contain two subordinate sequences of activity - one for Round 1 activity of the research and the second for Round 2.
Explanatory notes¶
Unlike temporal constraints, sequence is NOT pairwise. However, a group of temporal constraints can specify an order with more precision than a sequence.
Diagram
Inheritance
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
description |
A description of the control logic in human-readable language. |
String |
0..1 |
||
displayLabel |
A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations. |
0..* |
|||
identifier |
Identifier for objects requiring short- or long-lasting referencing and management. |
0..1 |
|||
name |
Human understandable name (linguistic signifier, word, phrase, or mnemonic). May follow ISO/IEC 11179-5 naming principles, and have context provided to specify usage. |
0..* |
|||
workflow |
Reference to the system or standard from which the workflow was taken. |
0..1 |
Associations
Direction |
Association |
Description |
Multiplicity of Sequence |
Package of Other Class |
Other Class |
Multiplicity of other class |
Aggregation Kind |
Inherited from |
---|---|---|---|---|---|---|---|---|
to |
Activity hasInternal ControlLogic |
An activity is embedded in the control construct which launches it. |
0..* |
- own package - |
0..* |
none |
||
from |
ControlLogic has InformationFlowDefinition |
A control construct has zero or more information flow definitions each of which provides the control construct with zero or more input and output parameters used or produced in the step/sub-step with which it is associated. |
0..* |
- own package - |
0..* |
shared |
||
to |
ControlLogic hasSubControlLogic ControlLogic |
Control logic is a container of control logic which is in turn a container of control logic ad infinitum so that it is able to represent the structure of a program. |
0..* |
- own package - |
0..1 |
none |
||
from |
ControlLogic informs ProcessingAgent |
Control logic informs a processing agent. The information may be deterministic or non-deterministic. |
0..* |
- own package - |
0..* |
none |
||
from |
ControlLogic invokes Activity |
Control logic invokes an activity deterministically (either conditionally or unconditionally) or non-derministically (based on temporal constraints or rule-based scheduling). |
0..* |
- own package - |
1..* |
none |
||
from |
Sequence has SequencePosition |
1..1 |
- own package - |
0..* |
composite |
- 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 Sequence (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-Sequence"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence"
6 xmi:type="uml:Class">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Sequence-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Sequence"/>
11 <body>Definition
12============
13A sequence controls the order of activities or steps by defining a simple sequence.
14
15Examples
16==========
17A sequence might contain two subordinate sequences of activity - one for Round 1 activity of the research and the second for Round 2.
18
19Explanatory notes
20===================
21Unlike temporal constraints, sequence is NOT pairwise. However, a group of temporal constraints can specify an order with more precision than a sequence.</body>
22 </ownedComment>
23 <name>Sequence</name>
24 <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Sequence-generalization"
25 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence-generalization"
26 xmi:type="uml:Generalization">
27 <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-DeterministicImperative"/>
28 </generalization>
29 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Sequence-ownedAttribute"
30 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence-ownedAttribute"
31 xmi:type="uml:Property">
32 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Sequence-ownedAttribute-lowerValue"
33 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence-ownedAttribute-lowerValue"
34 xmi:type="uml:LiteralInteger"/>
35 <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Process-Sequence-ownedAttribute-upperValue"
36 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Sequence-ownedAttribute-upperValue"
37 xmi:type="uml:LiteralUnlimitedNatural">
38 <value>*</value>
39 </upperValue>
40 <aggregation>composite</aggregation>
41 <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-Sequence_has_SequencePosition"/>
42 <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Process-SequencePosition"/>
43 </ownedAttribute>
44</packagedElement>
Fragment for the class Sequence (entire XML Schema)
1<xs:element name="Sequence"
2 type="SequenceXsdType"
3 xml:id="Sequence">
4 <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Sequence -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 A sequence controls the order of activities or steps by defining a simple sequence.
9
10 Examples
11 ==========
12 A sequence might contain two subordinate sequences of activity - one for Round 1 activity of the research and the second for Round 2.
13
14 Explanatory notes
15 ===================
16 Unlike temporal constraints, sequence is NOT pairwise. However, a group of temporal constraints can specify an order with more precision than a sequence.</xs:documentation>
17 </xs:annotation>
18</xs:element>
19<xs:complexType name="SequenceXsdType"
20 xml:id="SequenceXsdType">
21 <xs:annotation>
22 <xs:documentation>Definition
23 ============
24 A sequence controls the order of activities or steps by defining a simple sequence.
25
26 Examples
27 ==========
28 A sequence might contain two subordinate sequences of activity - one for Round 1 activity of the research and the second for Round 2.
29
30 Explanatory notes
31 ===================
32 Unlike temporal constraints, sequence is NOT pairwise. However, a group of temporal constraints can specify an order with more precision than a sequence.</xs:documentation>
33 </xs:annotation>
34 <xs:complexContent>
35 <xs:extension base="DeterministicImperativeXsdType">
36 <xs:sequence>
37 <xs:element name="Sequence_has_SequencePosition"
38 minOccurs="0"
39 maxOccurs="unbounded"
40 xml:id="Sequence_has_SequencePosition">
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="Sequence_has_SequencePosition-ddiReference"/>
53 <xs:element name="validType"
54 minOccurs="1"
55 maxOccurs="1"
56 xml:id="Sequence_has_SequencePosition-validType">
57 <xs:simpleType>
58 <xs:restriction base="xs:NMTOKEN">
59 <xs:enumeration value="SequencePosition"/>
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:sequence>
69 </xs:extension>
70 </xs:complexContent>
71</xs:complexType>
Fragment for the class Sequence (main ontology)
1# class Sequence
2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Process::Sequence
3cdi:Sequence
4 a rdfs:Class, owl:Class, ucmis:Class;
5 rdfs:label "Sequence";
6 rdfs:comment "Definition \n============ \nA sequence controls the order of activities or steps by defining a simple sequence. \n\nExamples \n========== \nA sequence might contain two subordinate sequences of activity - one for Round 1 activity of the research and the second for Round 2.\n\nExplanatory notes \n=================== \nUnlike temporal constraints, sequence is NOT pairwise. However, a group of temporal constraints can specify an order with more precision than a sequence."@en;
7 rdfs:subClassOf cdi:DeterministicImperative;
8.
9
10
11cdi:Sequence_has_SequencePosition
12 a rdf:Property, owl:ObjectProperty, ucmis:Association;
13 # ASSOCIATION
14 rdfs:label "has";
15 skos:altLabel "Sequence_has_SequencePosition";
16
17 rdfs:domain cdi:Sequence;
18 rdfs:range cdi:SequencePosition;
19.
Fragment for the class Sequence (main JSON-LD)
1{
2 "@context": [
3 "DeterministicImperative.jsonld",
4 {
5 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
6 "xsd": "http://www.w3.org/2001/XMLSchema#",
7 "Sequence": "cdi:Sequence",
8
9 "has": {
10 "@id": "cdi:Sequence_has_SequencePosition",
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:11.",
16 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Process::Sequence"
17}