Statistic¶
Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Statistic
Definition¶
The value of the statistic expressed as a decimal, float and/or double. Indicates whether it is weighted value and the computation base.
Diagram
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
---|---|---|---|---|---|
computationBase |
- own datatype - |
Defines the cases included in determining the statistic. The options are total = all cases, valid and missing (invalid); validOnly = Only valid values, missing (invalid) are not included in the calculation; missingOnly = Only missing (invalid) cases included in the calculation. |
0..1 |
||
content |
- own datatype - |
The value of the statistic expressed as a real number. |
Real |
0..1 |
|
isWeighted |
- own datatype - |
Set to True if the statistic is weighted. |
Boolean |
0..1 |
|
typeOfNumericValue |
- own datatype - |
Indicate the type of numeric value as decimal, float, double. |
String |
0..1 |
Usage
Type |
Package |
Classifier |
Attribute |
---|---|---|---|
Class |
Representations |
statistic |
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 Statistic (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-Statistic"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic"/>
11 <body>Definition
12============
13The value of the statistic expressed as a decimal, float and/or double. Indicates whether it is weighted value and the computation base.</body>
14 </ownedComment>
15 <name>Statistic</name>
16 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-computationBase"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-computationBase"
18 xmi:type="uml:Property">
19 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-computationBase-ownedComment"
20 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-computationBase-ownedComment"
21 xmi:type="uml:Comment">
22 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-computationBase"/>
23 <body>Defines the cases included in determining the statistic. The options are total = all cases, valid and missing (invalid); validOnly = Only valid values, missing (invalid) are not included in the calculation; missingOnly = Only missing (invalid) cases included in the calculation.</body>
24 </ownedComment>
25 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-computationBase-lowerValue"
26 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-computationBase-lowerValue"
27 xmi:type="uml:LiteralInteger"/>
28 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-computationBase-upperValue"
29 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-computationBase-upperValue"
30 xmi:type="uml:LiteralUnlimitedNatural">
31 <value>1</value>
32 </upperValue>
33 <name>computationBase</name>
34 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComputationBaseList"/>
35 </ownedAttribute>
36 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-content"
37 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-content"
38 xmi:type="uml:Property">
39 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-content-ownedComment"
40 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-content-ownedComment"
41 xmi:type="uml:Comment">
42 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-content"/>
43 <body>The value of the statistic expressed as a real number.</body>
44 </ownedComment>
45 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-content-lowerValue"
46 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-content-lowerValue"
47 xmi:type="uml:LiteralInteger"/>
48 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-content-upperValue"
49 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-content-upperValue"
50 xmi:type="uml:LiteralUnlimitedNatural">
51 <value>1</value>
52 </upperValue>
53 <name>content</name>
54 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Real"
55 xmi:type="uml:PrimitiveType"/>
56 </ownedAttribute>
57 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-isWeighted"
58 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-isWeighted"
59 xmi:type="uml:Property">
60 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-isWeighted-ownedComment"
61 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-isWeighted-ownedComment"
62 xmi:type="uml:Comment">
63 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-isWeighted"/>
64 <body>Set to True if the statistic is weighted.</body>
65 </ownedComment>
66 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-isWeighted-lowerValue"
67 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-isWeighted-lowerValue"
68 xmi:type="uml:LiteralInteger"/>
69 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-isWeighted-upperValue"
70 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-isWeighted-upperValue"
71 xmi:type="uml:LiteralUnlimitedNatural">
72 <value>1</value>
73 </upperValue>
74 <name>isWeighted</name>
75 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#Boolean"
76 xmi:type="uml:PrimitiveType"/>
77 </ownedAttribute>
78 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-typeOfNumericValue"
79 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-typeOfNumericValue"
80 xmi:type="uml:Property">
81 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-typeOfNumericValue-ownedComment"
82 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-typeOfNumericValue-ownedComment"
83 xmi:type="uml:Comment">
84 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-typeOfNumericValue"/>
85 <body>Indicate the type of numeric value as decimal, float, double.</body>
86 </ownedComment>
87 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-typeOfNumericValue-lowerValue"
88 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-typeOfNumericValue-lowerValue"
89 xmi:type="uml:LiteralInteger"/>
90 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Statistic-typeOfNumericValue-upperValue"
91 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Statistic-typeOfNumericValue-upperValue"
92 xmi:type="uml:LiteralUnlimitedNatural">
93 <value>1</value>
94 </upperValue>
95 <name>typeOfNumericValue</name>
96 <type href="http://www.eclipse.org/uml2/5.0.0/UML/PrimitiveTypes.xmi#String"
97 xmi:type="uml:PrimitiveType"/>
98 </ownedAttribute>
99</packagedElement>
Fragment for the data type Statistic (entire XML Schema)
1<xs:element name="Statistic"
2 type="StatisticXsdType"
3 xml:id="Statistic">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Statistic -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 The value of the statistic expressed as a decimal, float and/or double. Indicates whether it is weighted value and the computation base.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="StatisticXsdType"
12 xml:id="StatisticXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 The value of the statistic expressed as a decimal, float and/or double. Indicates whether it is weighted value and the computation base.</xs:documentation>
17 </xs:annotation>
18 <xs:sequence>
19 <xs:element name="computationBase"
20 type="ComputationBaseListXsdType"
21 minOccurs="0"
22 maxOccurs="1"
23 xml:id="Statistic-computationBase">
24 <xs:annotation>
25 <xs:documentation>Defines the cases included in determining the statistic. The options are total = all cases, valid and missing (invalid); validOnly = Only valid values, missing (invalid) are not included in the calculation; missingOnly = Only missing (invalid) cases included in the calculation.</xs:documentation>
26 </xs:annotation>
27 </xs:element>
28 <xs:element name="content"
29 type="xs:double"
30 minOccurs="0"
31 maxOccurs="1"
32 xml:id="Statistic-content">
33 <xs:annotation>
34 <xs:documentation>The value of the statistic expressed as a real number.</xs:documentation>
35 </xs:annotation>
36 </xs:element>
37 <xs:element name="isWeighted"
38 type="xs:boolean"
39 minOccurs="0"
40 maxOccurs="1"
41 xml:id="Statistic-isWeighted">
42 <xs:annotation>
43 <xs:documentation>Set to True if the statistic is weighted.</xs:documentation>
44 </xs:annotation>
45 </xs:element>
46 <xs:element name="typeOfNumericValue"
47 type="xs:string"
48 minOccurs="0"
49 maxOccurs="1"
50 xml:id="Statistic-typeOfNumericValue">
51 <xs:annotation>
52 <xs:documentation>Indicate the type of numeric value as decimal, float, double.</xs:documentation>
53 </xs:annotation>
54 </xs:element>
55 </xs:sequence>
56</xs:complexType>
Fragment for the data type Statistic (main ontology, entire ontology as zip)
1# datatype Statistic
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Statistic
3cdi:Statistic
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "Statistic";
6 rdfs:comment "Definition\n============\nThe value of the statistic expressed as a decimal, float and/or double. Indicates whether it is weighted value and the computation base."@en;
7
8 owl:hasKey (cdi:Statistic-computationBase cdi:Statistic-content cdi:Statistic-isWeighted cdi:Statistic-typeOfNumericValue);
9.
10
11cdi:Statistic-computationBase
12 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13 rdfs:label "computationBase";
14 rdfs:comment "Defines the cases included in determining the statistic. The options are total = all cases, valid and missing (invalid); validOnly = Only valid values, missing (invalid) are not included in the calculation; missingOnly = Only missing (invalid) cases included in the calculation."@en;
15 rdfs:domain cdi:Statistic;
16 rdfs:range cdi:ComputationBaseList;
17.
18
19cdi:Statistic-content
20 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21 rdfs:label "content";
22 rdfs:comment "The value of the statistic expressed as a real number."@en;
23 rdfs:domain cdi:Statistic;
24 rdfs:range xsd:double;
25.
26
27cdi:Statistic-isWeighted
28 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29 rdfs:label "isWeighted";
30 rdfs:comment "Set to True if the statistic is weighted."@en;
31 rdfs:domain cdi:Statistic;
32 rdfs:range xsd:boolean;
33.
34
35cdi:Statistic-typeOfNumericValue
36 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
37 rdfs:label "typeOfNumericValue";
38 rdfs:comment "Indicate the type of numeric value as decimal, float, double."@en;
39 rdfs:domain cdi:Statistic;
40 rdfs:range xsd:string;
41.
Fragment for the data type Statistic (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 "Statistic": "cdi:Statistic",
7 "computationBase": {
8 "@id": "cdi:Statistic-computationBase",
9 "@type": "@vocab",
10 "@context": {
11 "MissingOnly": "cdi:MissingOnly",
12 "Total": "cdi:Total",
13 "ValidOnly": "cdi:ValidOnly",
14 " comment ": "tag:json-should-support-trailing-commas"
15 }
16 },
17 "content": {
18 "@id": "cdi:Statistic-content",
19 "@type": "xsd:double"
20 },
21 "isWeighted": {
22 "@id": "cdi:Statistic-isWeighted",
23 "@type": "xsd:boolean"
24 },
25 "typeOfNumericValue": {
26 "@id": "cdi:Statistic-typeOfNumericValue",
27 "@type": "xsd:string"
28 },
29
30 " comment ": "tag:json-should-support-trailing-commas"
31 }
32 ],
33 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2024-09-23 21:53:04.",
34 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::Statistic"
35}