CommandCode

Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandCode

Definition

Contains information on the command used for processing data. Contains a description of the command which should clarify for the user the purpose and process of the command, an in-line provision of the command itself, and a reference to an external version of the command such as a coding script.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

command

- own datatype -

This is an in-line provision of the command itself. It provides the programming language used as well as the command.

Command

0..*

commandFile

- own datatype -

Identifies and provides a link to an external copy of the command, for example, a SAS Command Code script. Designates the programming language of the command file as well as the URI for the file.

CommandFile

0..*

description

- own datatype -

A description of the purpose and use of the command code provided. Supports multiple languages.

InternationalString

0..1

Usage

Type

Package

Classifier

Attribute

Class

Process

ConditionalControlLogic

condition

Class

Process

Step

script

Class

Representations

ClassificationIndex

codingInstruction

Class

Representations

ClassificationIndexEntry

codingInstruction

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 data type CommandCode (entire XMI model)

 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-DataTypes-StructuredDataTypes-CommandCode"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode"/>
11      <body>Definition
12============
13Contains information on the command used for processing data. Contains a description of the command which should clarify for the user the purpose and process of the command, an in-line provision of the command itself, and a reference to an external version of the command such as a coding script.</body>
14   </ownedComment>
15   <name>CommandCode</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-command"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-command"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-command-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-command-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-command"/>
23         <body>This is an in-line provision of the command itself. It provides the programming language used as well as the command.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-command-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-command-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-command-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-command-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>*</value>
32      </upperValue>
33      <name>command</name>
34      <isOrdered>true</isOrdered>
35      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command"/>
36   </ownedAttribute>
37   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-commandFile"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-commandFile"
39                   xmi:type="uml:Property">
40      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-commandFile-ownedComment"
41                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-commandFile-ownedComment"
42                    xmi:type="uml:Comment">
43         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-commandFile"/>
44         <body>Identifies and provides a link to an external copy of the command, for example, a SAS Command Code script. Designates the programming language of the command file as well as the URI for the file.</body>
45      </ownedComment>
46      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-commandFile-lowerValue"
47                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-commandFile-lowerValue"
48                  xmi:type="uml:LiteralInteger"/>
49      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-commandFile-upperValue"
50                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-commandFile-upperValue"
51                  xmi:type="uml:LiteralUnlimitedNatural">
52         <value>*</value>
53      </upperValue>
54      <name>commandFile</name>
55      <isOrdered>true</isOrdered>
56      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile"/>
57   </ownedAttribute>
58   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-description"
59                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-description"
60                   xmi:type="uml:Property">
61      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-description-ownedComment"
62                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-description-ownedComment"
63                    xmi:type="uml:Comment">
64         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-description"/>
65         <body>A description of the purpose and use of the command code provided. Supports multiple languages.</body>
66      </ownedComment>
67      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-description-lowerValue"
68                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-description-lowerValue"
69                  xmi:type="uml:LiteralInteger"/>
70      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandCode-description-upperValue"
71                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandCode-description-upperValue"
72                  xmi:type="uml:LiteralUnlimitedNatural">
73         <value>1</value>
74      </upperValue>
75      <name>description</name>
76      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
77   </ownedAttribute>
78</packagedElement>

Fragment for the data type CommandCode (entire XML Schema)

 1<xs:element name="CommandCode"
 2            type="CommandCodeXsdType"
 3            xml:id="CommandCode">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandCode -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Contains information on the command used for processing data. Contains a description of the command which should clarify for the user the purpose and process of the command, an in-line provision of the command itself, and a reference to an external version of the command such as a coding script.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="CommandCodeXsdType"
12                xml:id="CommandCodeXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          Contains information on the command used for processing data. Contains a description of the command which should clarify for the user the purpose and process of the command, an in-line provision of the command itself, and a reference to an external version of the command such as a coding script.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="command"
20                type="CommandXsdType"
21                minOccurs="0"
22                maxOccurs="unbounded"
23                xml:id="CommandCode-command">
24      <xs:annotation>
25        <xs:documentation>This is an in-line provision of the command itself. It provides the programming language used as well as the command.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="commandFile"
29                type="CommandFileXsdType"
30                minOccurs="0"
31                maxOccurs="unbounded"
32                xml:id="CommandCode-commandFile">
33      <xs:annotation>
34        <xs:documentation>Identifies and provides a link to an external copy of the command, for example, a SAS Command Code script. Designates the programming language of the command file as well as the URI for the file.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="description"
38                type="InternationalStringXsdType"
39                minOccurs="0"
40                maxOccurs="1"
41                xml:id="CommandCode-description">
42      <xs:annotation>
43        <xs:documentation>A description of the purpose and use of the command code provided. Supports multiple languages.</xs:documentation>
44      </xs:annotation>
45    </xs:element>
46  </xs:sequence>
47</xs:complexType>

Fragment for the data type CommandCode (main ontology, entire ontology as zip)

 1# datatype CommandCode
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandCode
 3cdi:CommandCode
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "CommandCode";
 6  rdfs:comment "Definition\n============\nContains information on the command used for processing data. Contains a description of the command which should clarify for the user the purpose and process of the command, an in-line provision of the command itself, and a reference to an external version of the command such as a coding script."@en;
 7  
 8  owl:hasKey (cdi:CommandCode-command cdi:CommandCode-commandFile cdi:CommandCode-description);
 9.
10
11cdi:CommandCode-command
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "command";
14  rdfs:comment "This is an in-line provision of the command itself. It provides the programming language used as well as the command."@en;
15  rdfs:domain cdi:CommandCode;
16  rdfs:range cdi:Command;
17.
18
19cdi:CommandCode-commandFile
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "commandFile";
22  rdfs:comment "Identifies and provides a link to an external copy of the command, for example, a SAS Command Code script. Designates the programming language of the command file as well as the URI for the file."@en;
23  rdfs:domain cdi:CommandCode;
24  rdfs:range cdi:CommandFile;
25.
26
27cdi:CommandCode-description
28  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
29  rdfs:label "description";
30  rdfs:comment "A description of the purpose and use of the command code provided. Supports multiple languages."@en;
31  rdfs:domain cdi:CommandCode;
32  rdfs:range cdi:InternationalString;
33.

Fragment for the data type CommandCode (main JSON-LD entire JSON-LD as zip)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6	  "CommandCode": "cdi:CommandCode",
 7	  "command": {
 8	    "@id": "cdi:CommandCode-command",
 9	    "@type": "@id",
10	    "@context": "Command.jsonld"
11	  },
12	  "commandFile": {
13	    "@id": "cdi:CommandCode-commandFile",
14	    "@type": "@id",
15	    "@context": "CommandFile.jsonld"
16	  },
17	  "description": {
18	    "@id": "cdi:CommandCode-description",
19	    "@type": "@id",
20	    "@context": "InternationalString.jsonld"
21	  },
22	  
23	  " comment ": "tag:json-should-support-trailing-commas" 
24	}
25  ],
26  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:02.",
27  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandCode"
28}