ComparisonOperator

Fully qualified enumeration name: DDICDIModels::DDICDILibrary::DataTypes::Enumerations::ComparisonOperator

Definition

Defines the relationship between values in key/value pair.

Diagram

Enumeration literals

Name

Description

Equal

The value the key’s in the source and target must be equal.

GreaterThan

The value the key in the source must be greater than the key in the target.

GreaterThanOrEqualTo

The value the key in the source must be greater than or equal to the key in the target.

LessThan

The value the key in the source must be less than the key in the target.

LessThanOrEqualTo

The value the key in the source must be less than or equal to the key in the target.

NotEqual

The value the key’s in the source and target must be unequal.

Usage

Type

Package

Classifier

Attribute

Class

FormatDescription

InstanceVariableMap

comparison

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 enumeration ComparisonOperator

 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-Enumerations-ComparisonOperator"
 5                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ComparisonOperator"
 6                 xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-ownedComment"
 8                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#ComparisonOperator-ownedComment"
 9                 xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator"/>
11      <body>Definition
12============
13Defines the relationship between values in key/value pair.</body>
14   </ownedComment>
15   <name>ComparisonOperator</name>
16   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-Equal"
17                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Equal"
18                 xmi:type="uml:EnumerationLiteral">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-Equal-ownedComment"
20                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Equal-ownedComment"
21                    xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-Equal"/>
23         <body>The value the key's in the source and target must be equal.</body>
24      </ownedComment>
25      <name>Equal</name>
26   </ownedLiteral>
27   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThan"
28                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#GreaterThan"
29                 xmi:type="uml:EnumerationLiteral">
30      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThan-ownedComment"
31                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#GreaterThan-ownedComment"
32                    xmi:type="uml:Comment">
33         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThan"/>
34         <body>The value the key in the source must be greater than the key in the target.</body>
35      </ownedComment>
36      <name>GreaterThan</name>
37   </ownedLiteral>
38   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThanOrEqualTo"
39                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#GreaterThanOrEqualTo"
40                 xmi:type="uml:EnumerationLiteral">
41      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThanOrEqualTo-ownedComment"
42                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#GreaterThanOrEqualTo-ownedComment"
43                    xmi:type="uml:Comment">
44         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-GreaterThanOrEqualTo"/>
45         <body>The value the key in the source must be greater than or equal to the key in the target.</body>
46      </ownedComment>
47      <name>GreaterThanOrEqualTo</name>
48   </ownedLiteral>
49   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThan"
50                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LessThan"
51                 xmi:type="uml:EnumerationLiteral">
52      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThan-ownedComment"
53                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LessThan-ownedComment"
54                    xmi:type="uml:Comment">
55         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThan"/>
56         <body>The value the key in the source must be less than the key in the target.</body>
57      </ownedComment>
58      <name>LessThan</name>
59   </ownedLiteral>
60   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThanOrEqualTo"
61                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LessThanOrEqualTo"
62                 xmi:type="uml:EnumerationLiteral">
63      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThanOrEqualTo-ownedComment"
64                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#LessThanOrEqualTo-ownedComment"
65                    xmi:type="uml:Comment">
66         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-LessThanOrEqualTo"/>
67         <body>The value the key in the source must be less than or equal to the key in the target.</body>
68      </ownedComment>
69      <name>LessThanOrEqualTo</name>
70   </ownedLiteral>
71   <ownedLiteral xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-NotEqual"
72                 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NotEqual"
73                 xmi:type="uml:EnumerationLiteral">
74      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-NotEqual-ownedComment"
75                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NotEqual-ownedComment"
76                    xmi:type="uml:Comment">
77         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-ComparisonOperator-NotEqual"/>
78         <body>The value the key's in the source and target must be unequal.</body>
79      </ownedComment>
80      <name>NotEqual</name>
81   </ownedLiteral>
82</packagedElement>

Fragment for the enumeration ComparisonOperator

 1<xs:simpleType name="ComparisonOperatorXsdType"
 2               xml:id="ComparisonOperatorXsdType">
 3  <!-- based on the UML enumeration DDICDIModels::DDICDILibrary::DataTypes::Enumerations::ComparisonOperator -->
 4  <xs:annotation>
 5    <xs:documentation>Definition
 6          ============
 7          Defines the relationship between values in key/value pair.</xs:documentation>
 8  </xs:annotation>
 9  <xs:restriction base="xs:NMTOKEN">
10    <xs:enumeration value="Equal">
11      <xs:annotation>
12        <xs:documentation>The value the key's in the source and target must be equal.</xs:documentation>
13      </xs:annotation>
14    </xs:enumeration>
15    <xs:enumeration value="GreaterThan">
16      <xs:annotation>
17        <xs:documentation>The value the key in the source must be greater than the key in the target.</xs:documentation>
18      </xs:annotation>
19    </xs:enumeration>
20    <xs:enumeration value="GreaterThanOrEqualTo">
21      <xs:annotation>
22        <xs:documentation>The value the key in the source must be greater than or equal to the key in the target.</xs:documentation>
23      </xs:annotation>
24    </xs:enumeration>
25    <xs:enumeration value="LessThan">
26      <xs:annotation>
27        <xs:documentation>The value the key in the source must be less than the key in the target.</xs:documentation>
28      </xs:annotation>
29    </xs:enumeration>
30    <xs:enumeration value="LessThanOrEqualTo">
31      <xs:annotation>
32        <xs:documentation>The value the key in the source must be less than or equal to the key in the target.</xs:documentation>
33      </xs:annotation>
34    </xs:enumeration>
35    <xs:enumeration value="NotEqual">
36      <xs:annotation>
37        <xs:documentation>The value the key's in the source and target must be unequal.</xs:documentation>
38      </xs:annotation>
39    </xs:enumeration>
40  </xs:restriction>
41</xs:simpleType>

Fragment for the enumeration ComparisonOperator (main ontology, entire ontology as zip)

 1# enumeration ComparisonOperator
 2# based on the UML enumeration DDICDIModels::DDICDILibrary::DataTypes::Enumerations::ComparisonOperator
 3cdi:ComparisonOperator
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "ComparisonOperator";
 6  rdfs:comment "Definition\n============\nDefines the relationship between values in key/value pair."@en;
 7  
 8.
 9
10cdi:Equal
11  a cdi:ComparisonOperator;
12  rdfs:label "Equal";
13  rdfs:comment "The value the key's in the source and target must be equal."@en;
14.
15
16cdi:GreaterThan
17  a cdi:ComparisonOperator;
18  rdfs:label "GreaterThan";
19  rdfs:comment "The value the key in the source must be greater than the key in the target."@en;
20.
21
22cdi:GreaterThanOrEqualTo
23  a cdi:ComparisonOperator;
24  rdfs:label "GreaterThanOrEqualTo";
25  rdfs:comment "The value the key in the source must be greater than or equal to the key in the target."@en;
26.
27
28cdi:LessThan
29  a cdi:ComparisonOperator;
30  rdfs:label "LessThan";
31  rdfs:comment "The value the key in the source must be less than the key in the target."@en;
32.
33
34cdi:LessThanOrEqualTo
35  a cdi:ComparisonOperator;
36  rdfs:label "LessThanOrEqualTo";
37  rdfs:comment "The value the key in the source must be less than or equal to the key in the target."@en;
38.
39
40cdi:NotEqual
41  a cdi:ComparisonOperator;
42  rdfs:label "NotEqual";
43  rdfs:comment "The value the key's in the source and target must be unequal."@en;
44.