aboutsummaryrefslogtreecommitdiffstats
path: root/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java
diff options
context:
space:
mode:
Diffstat (limited to 'Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java')
-rw-r--r--Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java542
1 files changed, 271 insertions, 271 deletions
diff --git a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java
index a816f2da..e4f5ce1a 100644
--- a/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java
+++ b/Application/hu.bme.mit.inf.dslreasoner.application/src-gen/hu/bme/mit/inf/dslreasoner/application/applicationConfiguration/ComparisonOperator.java
@@ -1,271 +1,271 @@
1/** 1/**
2 * generated by Xtext 2.21.0 2 * generated by Xtext 2.21.0
3 */ 3 */
4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration; 4package hu.bme.mit.inf.dslreasoner.application.applicationConfiguration;
5 5
6import java.util.Arrays; 6import java.util.Arrays;
7import java.util.Collections; 7import java.util.Collections;
8import java.util.List; 8import java.util.List;
9 9
10import org.eclipse.emf.common.util.Enumerator; 10import org.eclipse.emf.common.util.Enumerator;
11 11
12/** 12/**
13 * <!-- begin-user-doc --> 13 * <!-- begin-user-doc -->
14 * A representation of the literals of the enumeration '<em><b>Comparison Operator</b></em>', 14 * A representation of the literals of the enumeration '<em><b>Comparison Operator</b></em>',
15 * and utility methods for working with them. 15 * and utility methods for working with them.
16 * <!-- end-user-doc --> 16 * <!-- end-user-doc -->
17 * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getComparisonOperator() 17 * @see hu.bme.mit.inf.dslreasoner.application.applicationConfiguration.ApplicationConfigurationPackage#getComparisonOperator()
18 * @model 18 * @model
19 * @generated 19 * @generated
20 */ 20 */
21public enum ComparisonOperator implements Enumerator 21public enum ComparisonOperator implements Enumerator
22{ 22{
23 /** 23 /**
24 * The '<em><b>LESS</b></em>' literal object. 24 * The '<em><b>LESS</b></em>' literal object.
25 * <!-- begin-user-doc --> 25 * <!-- begin-user-doc -->
26 * <!-- end-user-doc --> 26 * <!-- end-user-doc -->
27 * @see #LESS_VALUE 27 * @see #LESS_VALUE
28 * @generated 28 * @generated
29 * @ordered 29 * @ordered
30 */ 30 */
31 LESS(0, "LESS", "<"), 31 LESS(0, "LESS", "<"),
32 32
33 /** 33 /**
34 * The '<em><b>GREATER</b></em>' literal object. 34 * The '<em><b>GREATER</b></em>' literal object.
35 * <!-- begin-user-doc --> 35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc --> 36 * <!-- end-user-doc -->
37 * @see #GREATER_VALUE 37 * @see #GREATER_VALUE
38 * @generated 38 * @generated
39 * @ordered 39 * @ordered
40 */ 40 */
41 GREATER(1, "GREATER", ">"), 41 GREATER(1, "GREATER", ">"),
42 42
43 /** 43 /**
44 * The '<em><b>LESS EQUALS</b></em>' literal object. 44 * The '<em><b>LESS EQUALS</b></em>' literal object.
45 * <!-- begin-user-doc --> 45 * <!-- begin-user-doc -->
46 * <!-- end-user-doc --> 46 * <!-- end-user-doc -->
47 * @see #LESS_EQUALS_VALUE 47 * @see #LESS_EQUALS_VALUE
48 * @generated 48 * @generated
49 * @ordered 49 * @ordered
50 */ 50 */
51 LESS_EQUALS(2, "LESS_EQUALS", "<="), 51 LESS_EQUALS(2, "LESS_EQUALS", "<="),
52 52
53 /** 53 /**
54 * The '<em><b>GREATER EQUALS</b></em>' literal object. 54 * The '<em><b>GREATER EQUALS</b></em>' literal object.
55 * <!-- begin-user-doc --> 55 * <!-- begin-user-doc -->
56 * <!-- end-user-doc --> 56 * <!-- end-user-doc -->
57 * @see #GREATER_EQUALS_VALUE 57 * @see #GREATER_EQUALS_VALUE
58 * @generated 58 * @generated
59 * @ordered 59 * @ordered
60 */ 60 */
61 GREATER_EQUALS(3, "GREATER_EQUALS", ">="); 61 GREATER_EQUALS(3, "GREATER_EQUALS", ">=");
62 62
63 /** 63 /**
64 * The '<em><b>LESS</b></em>' literal value. 64 * The '<em><b>LESS</b></em>' literal value.
65 * <!-- begin-user-doc --> 65 * <!-- begin-user-doc -->
66 * <!-- end-user-doc --> 66 * <!-- end-user-doc -->
67 * @see #LESS 67 * @see #LESS
68 * @model literal="&lt;" 68 * @model literal="&lt;"
69 * @generated 69 * @generated
70 * @ordered 70 * @ordered
71 */ 71 */
72 public static final int LESS_VALUE = 0; 72 public static final int LESS_VALUE = 0;
73 73
74 /** 74 /**
75 * The '<em><b>GREATER</b></em>' literal value. 75 * The '<em><b>GREATER</b></em>' literal value.
76 * <!-- begin-user-doc --> 76 * <!-- begin-user-doc -->
77 * <!-- end-user-doc --> 77 * <!-- end-user-doc -->
78 * @see #GREATER 78 * @see #GREATER
79 * @model literal="&gt;" 79 * @model literal="&gt;"
80 * @generated 80 * @generated
81 * @ordered 81 * @ordered
82 */ 82 */
83 public static final int GREATER_VALUE = 1; 83 public static final int GREATER_VALUE = 1;
84 84
85 /** 85 /**
86 * The '<em><b>LESS EQUALS</b></em>' literal value. 86 * The '<em><b>LESS EQUALS</b></em>' literal value.
87 * <!-- begin-user-doc --> 87 * <!-- begin-user-doc -->
88 * <!-- end-user-doc --> 88 * <!-- end-user-doc -->
89 * @see #LESS_EQUALS 89 * @see #LESS_EQUALS
90 * @model literal="&lt;=" 90 * @model literal="&lt;="
91 * @generated 91 * @generated
92 * @ordered 92 * @ordered
93 */ 93 */
94 public static final int LESS_EQUALS_VALUE = 2; 94 public static final int LESS_EQUALS_VALUE = 2;
95 95
96 /** 96 /**
97 * The '<em><b>GREATER EQUALS</b></em>' literal value. 97 * The '<em><b>GREATER EQUALS</b></em>' literal value.
98 * <!-- begin-user-doc --> 98 * <!-- begin-user-doc -->
99 * <!-- end-user-doc --> 99 * <!-- end-user-doc -->
100 * @see #GREATER_EQUALS 100 * @see #GREATER_EQUALS
101 * @model literal="&gt;=" 101 * @model literal="&gt;="
102 * @generated 102 * @generated
103 * @ordered 103 * @ordered
104 */ 104 */
105 public static final int GREATER_EQUALS_VALUE = 3; 105 public static final int GREATER_EQUALS_VALUE = 3;
106 106
107 /** 107 /**
108 * An array of all the '<em><b>Comparison Operator</b></em>' enumerators. 108 * An array of all the '<em><b>Comparison Operator</b></em>' enumerators.
109 * <!-- begin-user-doc --> 109 * <!-- begin-user-doc -->
110 * <!-- end-user-doc --> 110 * <!-- end-user-doc -->
111 * @generated 111 * @generated
112 */ 112 */
113 private static final ComparisonOperator[] VALUES_ARRAY = 113 private static final ComparisonOperator[] VALUES_ARRAY =
114 new ComparisonOperator[] 114 new ComparisonOperator[]
115 { 115 {
116 LESS, 116 LESS,
117 GREATER, 117 GREATER,
118 LESS_EQUALS, 118 LESS_EQUALS,
119 GREATER_EQUALS, 119 GREATER_EQUALS,
120 }; 120 };
121 121
122 /** 122 /**
123 * A public read-only list of all the '<em><b>Comparison Operator</b></em>' enumerators. 123 * A public read-only list of all the '<em><b>Comparison Operator</b></em>' enumerators.
124 * <!-- begin-user-doc --> 124 * <!-- begin-user-doc -->
125 * <!-- end-user-doc --> 125 * <!-- end-user-doc -->
126 * @generated 126 * @generated
127 */ 127 */
128 public static final List<ComparisonOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY)); 128 public static final List<ComparisonOperator> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
129 129
130 /** 130 /**
131 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified literal value. 131 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified literal value.
132 * <!-- begin-user-doc --> 132 * <!-- begin-user-doc -->
133 * <!-- end-user-doc --> 133 * <!-- end-user-doc -->
134 * @param literal the literal. 134 * @param literal the literal.
135 * @return the matching enumerator or <code>null</code>. 135 * @return the matching enumerator or <code>null</code>.
136 * @generated 136 * @generated
137 */ 137 */
138 public static ComparisonOperator get(String literal) 138 public static ComparisonOperator get(String literal)
139 { 139 {
140 for (int i = 0; i < VALUES_ARRAY.length; ++i) 140 for (int i = 0; i < VALUES_ARRAY.length; ++i)
141 { 141 {
142 ComparisonOperator result = VALUES_ARRAY[i]; 142 ComparisonOperator result = VALUES_ARRAY[i];
143 if (result.toString().equals(literal)) 143 if (result.toString().equals(literal))
144 { 144 {
145 return result; 145 return result;
146 } 146 }
147 } 147 }
148 return null; 148 return null;
149 } 149 }
150 150
151 /** 151 /**
152 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified name. 152 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified name.
153 * <!-- begin-user-doc --> 153 * <!-- begin-user-doc -->
154 * <!-- end-user-doc --> 154 * <!-- end-user-doc -->
155 * @param name the name. 155 * @param name the name.
156 * @return the matching enumerator or <code>null</code>. 156 * @return the matching enumerator or <code>null</code>.
157 * @generated 157 * @generated
158 */ 158 */
159 public static ComparisonOperator getByName(String name) 159 public static ComparisonOperator getByName(String name)
160 { 160 {
161 for (int i = 0; i < VALUES_ARRAY.length; ++i) 161 for (int i = 0; i < VALUES_ARRAY.length; ++i)
162 { 162 {
163 ComparisonOperator result = VALUES_ARRAY[i]; 163 ComparisonOperator result = VALUES_ARRAY[i];
164 if (result.getName().equals(name)) 164 if (result.getName().equals(name))
165 { 165 {
166 return result; 166 return result;
167 } 167 }
168 } 168 }
169 return null; 169 return null;
170 } 170 }
171 171
172 /** 172 /**
173 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified integer value. 173 * Returns the '<em><b>Comparison Operator</b></em>' literal with the specified integer value.
174 * <!-- begin-user-doc --> 174 * <!-- begin-user-doc -->
175 * <!-- end-user-doc --> 175 * <!-- end-user-doc -->
176 * @param value the integer value. 176 * @param value the integer value.
177 * @return the matching enumerator or <code>null</code>. 177 * @return the matching enumerator or <code>null</code>.
178 * @generated 178 * @generated
179 */ 179 */
180 public static ComparisonOperator get(int value) 180 public static ComparisonOperator get(int value)
181 { 181 {
182 switch (value) 182 switch (value)
183 { 183 {
184 case LESS_VALUE: return LESS; 184 case LESS_VALUE: return LESS;
185 case GREATER_VALUE: return GREATER; 185 case GREATER_VALUE: return GREATER;
186 case LESS_EQUALS_VALUE: return LESS_EQUALS; 186 case LESS_EQUALS_VALUE: return LESS_EQUALS;
187 case GREATER_EQUALS_VALUE: return GREATER_EQUALS; 187 case GREATER_EQUALS_VALUE: return GREATER_EQUALS;
188 } 188 }
189 return null; 189 return null;
190 } 190 }
191 191
192 /** 192 /**
193 * <!-- begin-user-doc --> 193 * <!-- begin-user-doc -->
194 * <!-- end-user-doc --> 194 * <!-- end-user-doc -->
195 * @generated 195 * @generated
196 */ 196 */
197 private final int value; 197 private final int value;
198 198
199 /** 199 /**
200 * <!-- begin-user-doc --> 200 * <!-- begin-user-doc -->
201 * <!-- end-user-doc --> 201 * <!-- end-user-doc -->
202 * @generated 202 * @generated
203 */ 203 */
204 private final String name; 204 private final String name;
205 205
206 /** 206 /**
207 * <!-- begin-user-doc --> 207 * <!-- begin-user-doc -->
208 * <!-- end-user-doc --> 208 * <!-- end-user-doc -->
209 * @generated 209 * @generated
210 */ 210 */
211 private final String literal; 211 private final String literal;
212 212
213 /** 213 /**
214 * Only this class can construct instances. 214 * Only this class can construct instances.
215 * <!-- begin-user-doc --> 215 * <!-- begin-user-doc -->
216 * <!-- end-user-doc --> 216 * <!-- end-user-doc -->
217 * @generated 217 * @generated
218 */ 218 */
219 private ComparisonOperator(int value, String name, String literal) 219 private ComparisonOperator(int value, String name, String literal)
220 { 220 {
221 this.value = value; 221 this.value = value;
222 this.name = name; 222 this.name = name;
223 this.literal = literal; 223 this.literal = literal;
224 } 224 }
225 225
226 /** 226 /**
227 * <!-- begin-user-doc --> 227 * <!-- begin-user-doc -->
228 * <!-- end-user-doc --> 228 * <!-- end-user-doc -->
229 * @generated 229 * @generated
230 */ 230 */
231 @Override 231 @Override
232 public int getValue() 232 public int getValue()
233 { 233 {
234 return value; 234 return value;
235 } 235 }
236 236
237 /** 237 /**
238 * <!-- begin-user-doc --> 238 * <!-- begin-user-doc -->
239 * <!-- end-user-doc --> 239 * <!-- end-user-doc -->
240 * @generated 240 * @generated
241 */ 241 */
242 @Override 242 @Override
243 public String getName() 243 public String getName()
244 { 244 {
245 return name; 245 return name;
246 } 246 }
247 247
248 /** 248 /**
249 * <!-- begin-user-doc --> 249 * <!-- begin-user-doc -->
250 * <!-- end-user-doc --> 250 * <!-- end-user-doc -->
251 * @generated 251 * @generated
252 */ 252 */
253 @Override 253 @Override
254 public String getLiteral() 254 public String getLiteral()
255 { 255 {
256 return literal; 256 return literal;
257 } 257 }
258 258
259 /** 259 /**
260 * Returns the literal value of the enumerator, which is its string representation. 260 * Returns the literal value of the enumerator, which is its string representation.
261 * <!-- begin-user-doc --> 261 * <!-- begin-user-doc -->
262 * <!-- end-user-doc --> 262 * <!-- end-user-doc -->
263 * @generated 263 * @generated
264 */ 264 */
265 @Override 265 @Override
266 public String toString() 266 public String toString()
267 { 267 {
268 return literal; 268 return literal;
269 } 269 }
270 270
271} //ComparisonOperator 271} //ComparisonOperator