TimeRole¶
Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::TimeRole
Definition¶
Time-specific role given to a represented variable in the context of a data structure. The specific characterization of the role (e.g. event, valid, transaction, reference, etc.) may be given by a controlled vocabulary.
Diagram
Inheritance
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
time |
- own datatype - |
Holds a value from an external controlled vocabulary defining the time role. |
0..1 |
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 TimeRole (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-TimeRole"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole"/>
11 <body>Definition
12============
13Time-specific role given to a represented variable in the context of a data structure. The specific characterization of the role (e.g. event, valid, transaction, reference, etc.) may be given by a controlled vocabulary.</body>
14 </ownedComment>
15 <name>TimeRole</name>
16 <generalization xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-generalization"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-generalization"
18 xmi:type="uml:Generalization">
19 <general xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-SpecializationRole"/>
20 </generalization>
21 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-time"
22 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-time"
23 xmi:type="uml:Property">
24 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-time-ownedComment"
25 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-time-ownedComment"
26 xmi:type="uml:Comment">
27 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-time"/>
28 <body>Holds a value from an external controlled vocabulary defining the time role.</body>
29 </ownedComment>
30 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-time-lowerValue"
31 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-time-lowerValue"
32 xmi:type="uml:LiteralInteger"/>
33 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TimeRole-time-upperValue"
34 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#TimeRole-time-upperValue"
35 xmi:type="uml:LiteralUnlimitedNatural">
36 <value>1</value>
37 </upperValue>
38 <name>time</name>
39 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
40 </ownedAttribute>
41</packagedElement>
Fragment for the data type TimeRole (entire XML Schema)
1<xs:element name="TimeRole"
2 type="TimeRoleXsdType"
3 xml:id="TimeRole">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::TimeRole -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Time-specific role given to a represented variable in the context of a data structure. The specific characterization of the role (e.g. event, valid, transaction, reference, etc.) may be given by a controlled vocabulary.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="TimeRoleXsdType"
12 xml:id="TimeRoleXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 Time-specific role given to a represented variable in the context of a data structure. The specific characterization of the role (e.g. event, valid, transaction, reference, etc.) may be given by a controlled vocabulary.</xs:documentation>
17 </xs:annotation>
18 <xs:complexContent>
19 <xs:extension base="SpecializationRoleXsdType">
20 <xs:sequence>
21 <xs:element name="time"
22 type="ControlledVocabularyEntryXsdType"
23 minOccurs="0"
24 maxOccurs="1"
25 xml:id="TimeRole-time">
26 <xs:annotation>
27 <xs:documentation>Holds a value from an external controlled vocabulary defining the time role.</xs:documentation>
28 </xs:annotation>
29 </xs:element>
30 </xs:sequence>
31 </xs:extension>
32 </xs:complexContent>
33</xs:complexType>
Fragment for the data type TimeRole (main ontology, entire ontology as zip)
1# datatype TimeRole
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::TimeRole
3cdi:TimeRole
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "TimeRole";
6 rdfs:comment "Definition\n============\nTime-specific role given to a represented variable in the context of a data structure. The specific characterization of the role (e.g. event, valid, transaction, reference, etc.) may be given by a controlled vocabulary."@en;
7 rdfs:subClassOf cdi:SpecializationRole;
8 owl:hasKey (cdi:TimeRole-time);
9.
10
11cdi:TimeRole-time
12 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13 rdfs:label "time";
14 rdfs:comment "Holds a value from an external controlled vocabulary defining the time role."@en;
15 rdfs:domain cdi:TimeRole;
16 rdfs:range cdi:ControlledVocabularyEntry;
17.
Fragment for the data type TimeRole (main JSON-LD entire JSON-LD as zip)
1{
2 "@context": [
3 "SpecializationRole.jsonld",
4 {
5 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
6 "xsd": "http://www.w3.org/2001/XMLSchema#",
7 "TimeRole": "cdi:TimeRole",
8 "time": {
9 "@id": "cdi:TimeRole-time",
10 "@type": "@id",
11 "@context": "ControlledVocabularyEntry.jsonld"
12 },
13
14 " comment ": "tag:json-should-support-trailing-commas"
15 }
16 ],
17 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:04.",
18 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::TimeRole"
19}