Notation

Fully qualified class name: DDICDIModels::DDICDILibrary::Classes::DataDescription::Notation

Definition

Representation of a category in the context of a code or a classification item, as opposed of the corresponding instance value which would appear when used in a dataset.

Examples

The number “334” used as a code for the “Computer and electronic product manufacturing” category in the North American Industry Classification System (NAICS).

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

content

- own class -

The actual content of this value as a string.

TypedString

0..1

identifier

- own class -

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

Identifier

0..1

whiteSpace

- own class -

The usual setting “collapse” states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. When setting to “replace” all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) but leading and trailing spaces will be retained. If the existence of any of these white spaces is critical to the understanding of the content, change the value of this attribute to “preserve”.

WhiteSpaceRule

0..1

Associations

Direction

Association

Description

Multiplicity of Notation

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

Notation represents Category

Notation represents zero to many categories.

1..*

Conceptual

Category

0..*

none

- own class -

to

ClassificationItem uses Notation

Classification item uses a notation.

1..1

Representations

ClassificationItem

0..*

none

- own class -

to

Code uses Notation

1..1

Representations

Code

0..*

none

- own class -

to

Datum uses Notation

0..1

- own package -

Datum

0..*

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 Notation (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-DataDescription-Notation"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation"
 6                 xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation"/>
11      <body>Definition 
12============ 
13Representation of a category in the context of a code or a classification item, as opposed of the corresponding instance value which would appear when used in a dataset. 
14
15Examples 
16========== 
17The number "334" used as a code for the "Computer and electronic product manufacturing" category in the North American Industry Classification System (NAICS).</body>
18   </ownedComment>
19   <name>Notation</name>
20   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-content"
21                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-content"
22                   xmi:type="uml:Property">
23      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-content-ownedComment"
24                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-content-ownedComment"
25                    xmi:type="uml:Comment">
26         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-content"/>
27         <body>The actual content of this value as a string.</body>
28      </ownedComment>
29      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-content-lowerValue"
30                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-content-lowerValue"
31                  xmi:type="uml:LiteralInteger"/>
32      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-content-upperValue"
33                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-content-upperValue"
34                  xmi:type="uml:LiteralUnlimitedNatural">
35         <value>1</value>
36      </upperValue>
37      <name>content</name>
38      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-TypedString"/>
39   </ownedAttribute>
40   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-identifier"
41                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-identifier"
42                   xmi:type="uml:Property">
43      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-identifier-ownedComment"
44                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-identifier-ownedComment"
45                    xmi:type="uml:Comment">
46         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-identifier"/>
47         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
48      </ownedComment>
49      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-identifier-lowerValue"
50                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-identifier-lowerValue"
51                  xmi:type="uml:LiteralInteger"/>
52      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-identifier-upperValue"
53                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-identifier-upperValue"
54                  xmi:type="uml:LiteralUnlimitedNatural">
55         <value>1</value>
56      </upperValue>
57      <name>identifier</name>
58      <isID>true</isID>
59      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
60   </ownedAttribute>
61   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-ownedAttribute"
62                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-ownedAttribute"
63                   xmi:type="uml:Property">
64      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-ownedAttribute-lowerValue"
65                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-ownedAttribute-lowerValue"
66                  xmi:type="uml:LiteralInteger"/>
67      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-ownedAttribute-upperValue"
68                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-ownedAttribute-upperValue"
69                  xmi:type="uml:LiteralUnlimitedNatural">
70         <value>*</value>
71      </upperValue>
72      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Notation_represents_Category"/>
73      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Category"/>
74   </ownedAttribute>
75   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-whiteSpace"
76                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-whiteSpace"
77                   xmi:type="uml:Property">
78      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-whiteSpace-ownedComment"
79                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-whiteSpace-ownedComment"
80                    xmi:type="uml:Comment">
81         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-whiteSpace"/>
82         <body>The usual setting "collapse" states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. When setting to "replace" all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) but leading and trailing spaces will be retained. If the existence of any of these white spaces is critical to the understanding of the content, change the value of this attribute to "preserve".</body>
83      </ownedComment>
84      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-whiteSpace-lowerValue"
85                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-whiteSpace-lowerValue"
86                  xmi:type="uml:LiteralInteger"/>
87      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Notation-whiteSpace-upperValue"
88                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Notation-whiteSpace-upperValue"
89                  xmi:type="uml:LiteralUnlimitedNatural">
90         <value>1</value>
91      </upperValue>
92      <name>whiteSpace</name>
93      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-WhiteSpaceRule"/>
94   </ownedAttribute>
95</packagedElement>

Fragment for the class Notation (entire XML Schema)

 1<xs:element name="Notation"
 2            type="NotationXsdType"
 3            xml:id="Notation">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Notation -->
 5  <xs:annotation>
 6    <xs:documentation>Definition 
 7          ============ 
 8          Representation of a category in the context of a code or a classification item, as opposed of the corresponding instance value which would appear when used in a dataset. 
 9          
10          Examples 
11          ========== 
12          The number "334" used as a code for the "Computer and electronic product manufacturing" category in the North American Industry Classification System (NAICS).</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="NotationXsdType"
16                xml:id="NotationXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition 
19          ============ 
20          Representation of a category in the context of a code or a classification item, as opposed of the corresponding instance value which would appear when used in a dataset. 
21          
22          Examples 
23          ========== 
24          The number "334" used as a code for the "Computer and electronic product manufacturing" category in the North American Industry Classification System (NAICS).</xs:documentation>
25  </xs:annotation>
26  <xs:sequence>
27    <xs:element name="content"
28                type="TypedStringXsdType"
29                minOccurs="0"
30                maxOccurs="1"
31                xml:id="Notation-content">
32      <xs:annotation>
33        <xs:documentation>The actual content of this value as a string.</xs:documentation>
34      </xs:annotation>
35    </xs:element>
36    <xs:element name="identifier"
37                type="IdentifierXsdType"
38                minOccurs="0"
39                maxOccurs="1"
40                xml:id="Notation-identifier">
41      <xs:annotation>
42        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
43      </xs:annotation>
44    </xs:element>
45    <xs:element name="whiteSpace"
46                type="WhiteSpaceRuleXsdType"
47                minOccurs="0"
48                maxOccurs="1"
49                xml:id="Notation-whiteSpace">
50      <xs:annotation>
51        <xs:documentation>The usual setting "collapse" states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. When setting to "replace" all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) but leading and trailing spaces will be retained. If the existence of any of these white spaces is critical to the understanding of the content, change the value of this attribute to "preserve".</xs:documentation>
52      </xs:annotation>
53    </xs:element>
54    <xs:element name="Notation_represents_Category"
55                minOccurs="0"
56                maxOccurs="unbounded"
57                xml:id="Notation_represents_Category">
58      <xs:annotation>
59        <xs:documentation>Notation represents zero to many categories.</xs:documentation>
60      </xs:annotation>
61      <xs:complexType>
62        <xs:complexContent>
63          <xs:restriction base="AssociationReferenceXsdType">
64            <xs:sequence>
65              <xs:element name="ddiReference"
66                          type="InternationalRegistrationDataIdentifierXsdType"
67                          minOccurs="0"
68                          maxOccurs="1"
69                          xml:id="Notation_represents_Category-ddiReference"/>
70              <xs:element name="validType"
71                          minOccurs="1"
72                          maxOccurs="unbounded"
73                          xml:id="Notation_represents_Category-validType">
74                <xs:simpleType>
75                  <xs:restriction base="xs:NMTOKEN">
76                    <xs:enumeration value="Category"/>
77                  </xs:restriction>
78                </xs:simpleType>
79              </xs:element>
80            </xs:sequence>
81          </xs:restriction>
82        </xs:complexContent>
83      </xs:complexType>
84    </xs:element>
85  </xs:sequence>
86</xs:complexType>

Fragment for the class Notation (main ontology)

 1# class Notation
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Notation
 3cdi:Notation
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "Notation";
 6  rdfs:comment "Definition \n============ \nRepresentation of a category in the context of a code or a classification item, as opposed of the corresponding instance value which would appear when used in a dataset. \n\nExamples \n========== \nThe number \"334\" used as a code for the \"Computer and electronic product manufacturing\" category in the North American Industry Classification System (NAICS)."@en;
 7  
 8.
 9
10cdi:Notation-content
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "content";
13  rdfs:comment "The actual content of this value as a string."@en;
14  rdfs:domain cdi:Notation;
15  rdfs:range cdi:TypedString;
16.
17
18cdi:Notation-identifier
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "identifier";
21  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
22  rdfs:domain cdi:Notation;
23  rdfs:range cdi:Identifier;
24.
25
26cdi:Notation-whiteSpace
27  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
28  rdfs:label "whiteSpace";
29  rdfs:comment "The usual setting \"collapse\" states that leading and trailing white space will be removed and multiple adjacent white spaces will be treated as a single white space. When setting to \"replace\" all occurrences of #x9 (tab), #xA (line feed) and #xD (carriage return) are replaced with #x20 (space) but leading and trailing spaces will be retained. If the existence of any of these white spaces is critical to the understanding of the content, change the value of this attribute to \"preserve\"."@en;
30  rdfs:domain cdi:Notation;
31  rdfs:range cdi:WhiteSpaceRule;
32.
33
34
35cdi:Notation_represents_Category
36  a rdf:Property, owl:ObjectProperty, ucmis:Association;
37  # ASSOCIATION
38  rdfs:label "represents";
39  skos:altLabel "Notation_represents_Category";
40  rdfs:comment "Notation represents zero to many categories."@en;
41  rdfs:domain cdi:Notation;
42  rdfs:range cdi:Category;
43.

Fragment for the class Notation (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      "Notation": "cdi:Notation",
 7      "content": {
 8        "@id": "cdi:Notation-content",
 9        "@type": "@id",
10        "@context": "TypedString.jsonld"
11      },
12      "identifier": {
13        "@id": "cdi:Notation-identifier",
14        "@type": "@id",
15        "@context": "Identifier.jsonld"
16      },
17      "whiteSpace": {
18        "@id": "cdi:Notation-whiteSpace",
19        "@type": "@vocab",
20        "@context": {
21          "Collapse": "cdi:Collapse",
22          "Preserve": "cdi:Preserve",
23          "Replace": "cdi:Replace",
24          " comment ": "tag:json-should-support-trailing-commas" 
25        }
26      },
27      
28      "represents": {
29        "@id": "cdi:Notation_represents_Category",
30        "@type": "@id"      },
31      "uses_OF_ClassificationItem": {
32        "@reverse": "cdi:ClassificationItem_uses_Notation",
33        "@type": "@id"
34      },
35      "uses_OF_Code": {
36        "@reverse": "cdi:Code_uses_Notation",
37        "@type": "@id"
38      },
39      "uses_OF_Datum": {
40        "@reverse": "cdi:Datum_uses_Notation",
41        "@type": "@id"
42      },
43      " comment ": "tag:json-should-support-trailing-commas" 
44    }
45  ],
46  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:52:59.",
47  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Notation"
48}