Command

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

Definition

Provides the following information on the command: The content of the command and the programming language used.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

commandContent

- own datatype -

Content of the command itself expressed in the language designated in programming language.

TypedString

0..1

programLanguage

- own datatype -

Designates the programming language used for the command. Supports the use of a controlled vocabulary.

ControlledVocabularyEntry

0..1

Usage

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

CommandCode

command

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 Command (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-Command"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command"/>
11      <body>Definition
12============
13Provides the following information on the command: The content of the command and the programming language used.</body>
14   </ownedComment>
15   <name>Command</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-commandContent"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-commandContent"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-commandContent-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-commandContent-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-commandContent"/>
23         <body>Content of the command itself expressed in the language designated in programming language.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-commandContent-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-commandContent-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-commandContent-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-commandContent-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>commandContent</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TypedString"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-programLanguage"
37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-programLanguage"
38                   xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-programLanguage-ownedComment"
40                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-programLanguage-ownedComment"
41                    xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-programLanguage"/>
43         <body>Designates the programming language used for the command. Supports the use of a controlled vocabulary.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-programLanguage-lowerValue"
46                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-programLanguage-lowerValue"
47                  xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Command-programLanguage-upperValue"
49                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Command-programLanguage-upperValue"
50                  xmi:type="uml:LiteralUnlimitedNatural">
51         <value>1</value>
52      </upperValue>
53      <name>programLanguage</name>
54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
55   </ownedAttribute>
56</packagedElement>

Fragment for the data type Command (entire XML Schema)

 1<xs:element name="Command"
 2            type="CommandXsdType"
 3            xml:id="Command">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Command -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Provides the following information on the command: The content of the command and the programming language used.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="CommandXsdType"
12                xml:id="CommandXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          Provides the following information on the command: The content of the command and the programming language used.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="commandContent"
20                type="TypedStringXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="Command-commandContent">
24      <xs:annotation>
25        <xs:documentation>Content of the command itself expressed in the language designated in programming language.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="programLanguage"
29                type="ControlledVocabularyEntryXsdType"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="Command-programLanguage">
33      <xs:annotation>
34        <xs:documentation>Designates the programming language used for the command. Supports the use of a controlled vocabulary.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37  </xs:sequence>
38</xs:complexType>

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

 1# datatype Command
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Command
 3cdi:Command
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "Command";
 6  rdfs:comment "Definition\n============\nProvides the following information on the command: The content of the command and the programming language used."@en;
 7  
 8  owl:hasKey (cdi:Command-commandContent cdi:Command-programLanguage);
 9.
10
11cdi:Command-commandContent
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "commandContent";
14  rdfs:comment "Content of the command itself expressed in the language designated in programming language."@en;
15  rdfs:domain cdi:Command;
16  rdfs:range cdi:TypedString;
17.
18
19cdi:Command-programLanguage
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "programLanguage";
22  rdfs:comment "Designates the programming language used for the command. Supports the use of a controlled vocabulary."@en;
23  rdfs:domain cdi:Command;
24  rdfs:range cdi:ControlledVocabularyEntry;
25.

Fragment for the data type Command (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	  "Command": "cdi:Command",
 7	  "commandContent": {
 8	    "@id": "cdi:Command-commandContent",
 9	    "@type": "@id",
10	    "@context": "TypedString.jsonld"
11	  },
12	  "programLanguage": {
13	    "@id": "cdi:Command-programLanguage",
14	    "@type": "@id",
15	    "@context": "ControlledVocabularyEntry.jsonld"
16	  },
17	  
18	  " comment ": "tag:json-should-support-trailing-commas" 
19	}
20  ],
21  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:02.",
22  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Command"
23}