ClassificationItemPosition

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::Representations::ClassificationItemPosition

Definition

Provides a classification item with an index conveying the order of the classification item within a sequence, expressed as an integer, progressing upward from 0 or 1.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

identifier

- own class -

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

value

- own class -

Index value of the member in an ordered array.

Integer

1..1

Associations

Direction

Association

Description

Multiplicity of ClassificationItemPosition

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

ClassificationItemPosition indexes ClassificationItem

Classification item position indexes zero to one classification items. The member containing the designation of the classification item.

0..*

- own package -

ClassificationItem

0..1

none

- own class -

to

StatisticalClassification has ClassificationItemPosition

0..*

- own package -

StatisticalClassification

0..1

none

- 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 ClassificationItemPosition (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-Representations-ClassificationItemPosition"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition"/>
11      <body>Definition
12============
13Provides a classification item with an index conveying the order of the classification item within a sequence, expressed as an integer, progressing upward from 0 or 1.</body>
14   </ownedComment>
15   <name>ClassificationItemPosition</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-identifier"
17                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-identifier"
18                   xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-identifier-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-identifier-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-identifier"/>
23         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-identifier-lowerValue"
26                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-identifier-lowerValue"
27                  xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-identifier-upperValue"
29                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-identifier-upperValue"
30                  xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>identifier</name>
34      <isID>true</isID>
35      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
36   </ownedAttribute>
37   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-ownedAttribute"
38                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-ownedAttribute"
39                   xmi:type="uml:Property">
40      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-ownedAttribute-lowerValue"
41                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-ownedAttribute-lowerValue"
42                  xmi:type="uml:LiteralInteger"/>
43      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-ownedAttribute-upperValue"
44                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-ownedAttribute-upperValue"
45                  xmi:type="uml:LiteralUnlimitedNatural">
46         <value>1</value>
47      </upperValue>
48      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition_indexes_ClassificationItem"/>
49      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItem"/>
50   </ownedAttribute>
51   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-value"
52                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-value"
53                   xmi:type="uml:Property">
54      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-value-ownedComment"
55                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-value-ownedComment"
56                    xmi:type="uml:Comment">
57         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-value"/>
58         <body>Index value of the member in an ordered array.</body>
59      </ownedComment>
60      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-value-lowerValue"
61                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-value-lowerValue"
62                  xmi:type="uml:LiteralInteger">
63         <value>1</value>
64      </lowerValue>
65      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItemPosition-value-upperValue"
66                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ClassificationItemPosition-value-upperValue"
67                  xmi:type="uml:LiteralUnlimitedNatural">
68         <value>1</value>
69      </upperValue>
70      <name>value</name>
71      <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Integer"
72            xmi:type="uml:PrimitiveType"/>
73   </ownedAttribute>
74</packagedElement>

Fragment for the class ClassificationItemPosition (entire XML Schema)

 1<xs:element name="ClassificationItemPosition"
 2            type="ClassificationItemPositionXsdType"
 3            xml:id="ClassificationItemPosition">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::ClassificationItemPosition -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          Provides a classification item with an index conveying the order of the classification item within a sequence, expressed as an integer, progressing upward from 0 or 1.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="ClassificationItemPositionXsdType"
12                xml:id="ClassificationItemPositionXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          Provides a classification item with an index conveying the order of the classification item within a sequence, expressed as an integer, progressing upward from 0 or 1.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="identifier"
20                type="IdentifierXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="ClassificationItemPosition-identifier">
24      <xs:annotation>
25        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="value"
29                type="xs:integer"
30                minOccurs="1"
31                maxOccurs="1"
32                xml:id="ClassificationItemPosition-value">
33      <xs:annotation>
34        <xs:documentation>Index value of the member in an ordered array.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="ClassificationItemPosition_indexes_ClassificationItem"
38                minOccurs="0"
39                maxOccurs="1"
40                xml:id="ClassificationItemPosition_indexes_ClassificationItem">
41      <xs:annotation>
42        <xs:documentation>Classification item position indexes zero to one classification items. The member containing the designation of the classification item.</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="ClassificationItemPosition_indexes_ClassificationItem-ddiReference"/>
53              <xs:element name="validType"
54                          minOccurs="0"
55                          maxOccurs="unbounded"
56                          xml:id="ClassificationItemPosition_indexes_ClassificationItem-validType">
57                <xs:simpleType>
58                  <xs:restriction base="xs:NMTOKEN">
59                    <xs:enumeration value="ClassificationItem"/>
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:complexType>

Fragment for the class ClassificationItemPosition (main ontology)

 1# class ClassificationItemPosition
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::ClassificationItemPosition
 3cdi:ClassificationItemPosition
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassificationItemPosition";
 6  rdfs:comment "Definition\n============\nProvides a classification item with an index conveying the order of the classification item within a sequence, expressed as an integer, progressing upward from 0 or 1."@en;
 7  
 8.
 9
10cdi:ClassificationItemPosition-identifier
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "identifier";
13  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
14  rdfs:domain cdi:ClassificationItemPosition;
15  rdfs:range cdi:Identifier;
16.
17
18cdi:ClassificationItemPosition-value
19  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
20  rdfs:label "value";
21  rdfs:comment "Index value of the member in an ordered array."@en;
22  rdfs:domain cdi:ClassificationItemPosition;
23  rdfs:range xsd:integer;
24.
25
26
27cdi:ClassificationItemPosition_indexes_ClassificationItem
28  a rdf:Property, owl:ObjectProperty, ucmis:Association;
29  # ASSOCIATION
30  rdfs:label "indexes";
31  skos:altLabel "ClassificationItemPosition_indexes_ClassificationItem";
32  rdfs:comment "Classification item position indexes zero to one classification items. The member containing the designation of the classification item."@en;
33  rdfs:domain cdi:ClassificationItemPosition;
34  rdfs:range cdi:ClassificationItem;
35.

Fragment for the class ClassificationItemPosition (main JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6      "ClassificationItemPosition": "cdi:ClassificationItemPosition",
 7      "identifier": {
 8        "@id": "cdi:ClassificationItemPosition-identifier",
 9        "@type": "@id",
10        "@context": "Identifier.jsonld"
11      },
12      "value": {
13        "@id": "cdi:ClassificationItemPosition-value",
14        "@type": "xsd:integer"
15      },
16      
17      "indexes": {
18        "@id": "cdi:ClassificationItemPosition_indexes_ClassificationItem",
19        "@type": "@id"      },
20      "has_OF_StatisticalClassification": {
21        "@reverse": "cdi:StatisticalClassification_has_ClassificationItemPosition",
22        "@type": "@id"
23      },
24      " comment ": "tag:json-should-support-trailing-commas" 
25    }
26  ],
27  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-03-16 23:40:11.",
28  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Representations::ClassificationItemPosition"
29}