CommandFile

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

Definition

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, a description of the location of the file , and a URN or URL for the command file.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

location

- own datatype -

A description of the location of the file. This may not be machine actionable. It supports a description expressed in multiple languages.

InternationalString

0..1

uri

- own datatype -

The URL or URN of the command file.

XsdAnyUri

0..1

Usage

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

CommandCode

commandFile

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 CommandFile (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-CommandFile"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile"
 6                 xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile"/>
11      <body>Definition
12============
13Identifies 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, a description of the location of the file , and a URN or URL for the command file.</body>
14   </ownedComment>
15   <name>CommandFile</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-location"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-location"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-location-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-location-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-location"/>
23         <body>A description of the location of the file. This may not be machine actionable. It supports a description expressed in multiple languages.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-location-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-location-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-location-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-location-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>location</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-uri"
37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-uri"
38                   xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-uri-ownedComment"
40                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-uri-ownedComment"
41                    xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-uri"/>
43         <body>The URL or URN of the command file.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-uri-lowerValue"
46                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-uri-lowerValue"
47                  xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-CommandFile-uri-upperValue"
49                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#CommandFile-uri-upperValue"
50                  xmi:type="uml:LiteralUnlimitedNatural">
51         <value>1</value>
52      </upperValue>
53      <name>uri</name>
54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdAnyUri"/>
55   </ownedAttribute>
56</packagedElement>

Fragment for the data type CommandFile (entire XML Schema)

 1<xs:element name="CommandFile"
 2            type="CommandFileXsdType"
 3            xml:id="CommandFile">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandFile -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          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, a description of the location of the file , and a URN or URL for the command file.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="CommandFileXsdType"
12                xml:id="CommandFileXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          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, a description of the location of the file , and a URN or URL for the command file.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="location"
20                type="InternationalStringXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="CommandFile-location">
24      <xs:annotation>
25        <xs:documentation>A description of the location of the file. This may not be machine actionable. It supports a description expressed in multiple languages.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="uri"
29                type="xs:anyURI"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="CommandFile-uri">
33      <xs:annotation>
34        <xs:documentation>The URL or URN of the command file.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37  </xs:sequence>
38</xs:complexType>

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

 1# datatype CommandFile
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::CommandFile
 3cdi:CommandFile
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "CommandFile";
 6  rdfs:comment "Definition\n============\nIdentifies 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, a description of the location of the file , and a URN or URL for the command file."@en;
 7  
 8  owl:hasKey (cdi:CommandFile-location cdi:CommandFile-uri);
 9.
10
11cdi:CommandFile-location
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "location";
14  rdfs:comment "A description of the location of the file. This may not be machine actionable. It supports a description expressed in multiple languages."@en;
15  rdfs:domain cdi:CommandFile;
16  rdfs:range cdi:InternationalString;
17.
18
19cdi:CommandFile-uri
20  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21  rdfs:label "uri";
22  rdfs:comment "The URL or URN of the command file."@en;
23  rdfs:domain cdi:CommandFile;
24  rdfs:range xsd:anyURI;
25.

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