1 19 package org.apache.cayenne.ejbql; 20 21 import org.apache.cayenne.ejbql.parser.EJBQLAggregateColumn; 22 import org.apache.cayenne.ejbql.parser.EJBQLFromItem; 23 import org.apache.cayenne.ejbql.parser.EJBQLJoin; 24 import org.apache.cayenne.ejbql.parser.EJBQLPath; 25 import org.apache.cayenne.ejbql.parser.EJBQLPositionalInputParameter; 26 27 34 public class EJBQLBaseVisitor implements EJBQLExpressionVisitor { 35 36 protected boolean continueFlag; 37 38 public EJBQLBaseVisitor() { 39 this(true); 40 } 41 42 public EJBQLBaseVisitor(boolean continueFlag) { 43 this.continueFlag = continueFlag; 44 } 45 46 public boolean visitAbs(EJBQLExpression expression) { 47 return continueFlag; 48 } 49 50 public boolean visitAbstractSchemaName(EJBQLExpression expression) { 51 return continueFlag; 52 } 53 54 public boolean visitAdd(EJBQLExpression expression, int finishedChildIndex) { 55 return continueFlag; 56 } 57 58 public boolean visitAggregate(EJBQLExpression expression) { 59 return continueFlag; 60 } 61 62 public boolean visitAll(EJBQLExpression expression) { 63 return continueFlag; 64 } 65 66 public boolean visitAnd(EJBQLExpression expression, int finishedChildIndex) { 67 return continueFlag; 68 } 69 70 public boolean visitAny(EJBQLExpression expression) { 71 return continueFlag; 72 } 73 74 public boolean visitAscending(EJBQLExpression expression) { 75 return continueFlag; 76 } 77 78 public boolean visitAverage(EJBQLAggregateColumn expression) { 79 return continueFlag; 80 } 81 82 public boolean visitBetween(EJBQLExpression expression, int finishedChildIndex) { 83 return continueFlag; 84 } 85 86 public boolean visitBooleanLiteral(EJBQLExpression expression) { 87 return continueFlag; 88 } 89 90 public boolean visitClassName(EJBQLExpression expression) { 91 return continueFlag; 92 } 93 94 public boolean visitConcat(EJBQLExpression expression) { 95 return continueFlag; 96 } 97 98 public boolean visitConstructor(EJBQLExpression expression) { 99 return continueFlag; 100 } 101 102 public boolean visitConstructorParameter(EJBQLExpression expression) { 103 return continueFlag; 104 } 105 106 public boolean visitConstructorParameters(EJBQLExpression expression) { 107 return continueFlag; 108 } 109 110 public boolean visitCount(EJBQLAggregateColumn expression) { 111 return continueFlag; 112 } 113 114 public boolean visitCurrentDate(EJBQLExpression expression) { 115 return continueFlag; 116 } 117 118 public boolean visitCurrentTime(EJBQLExpression expression) { 119 return continueFlag; 120 } 121 122 public boolean visitCurrentTimestamp(EJBQLExpression expression) { 123 return continueFlag; 124 } 125 126 public boolean visitDecimalLiteral(EJBQLExpression expression) { 127 return continueFlag; 128 } 129 130 public boolean visitDelete(EJBQLExpression expression) { 131 return continueFlag; 132 } 133 134 public boolean visitDescending(EJBQLExpression expression) { 135 return continueFlag; 136 } 137 138 public boolean visitDistinct(EJBQLExpression expression) { 139 return continueFlag; 140 } 141 142 public boolean visitDivide(EJBQLExpression expression, int finishedChildIndex) { 143 return continueFlag; 144 } 145 146 public boolean visitEquals(EJBQLExpression expression, int finishedChildIndex) { 147 return continueFlag; 148 } 149 150 public boolean visitEscapeCharacter(EJBQLExpression expression) { 151 return continueFlag; 152 } 153 154 public boolean visitExists(EJBQLExpression expression) { 155 return continueFlag; 156 } 157 158 public boolean visitFrom(EJBQLExpression expression, int finishedChildIndex) { 159 return continueFlag; 160 } 161 162 public boolean visitFromItem(EJBQLFromItem expression) { 163 return continueFlag; 164 } 165 166 public boolean visitGreaterOrEqual(EJBQLExpression expression, int finishedChildIndex) { 167 return continueFlag; 168 } 169 170 public boolean visitGreaterThan(EJBQLExpression expression, int finishedChildIndex) { 171 return continueFlag; 172 } 173 174 public boolean visitGroupBy(EJBQLExpression expression) { 175 return continueFlag; 176 } 177 178 public boolean visitHaving(EJBQLExpression expression) { 179 return continueFlag; 180 } 181 182 public boolean visitIdentificationVariable(EJBQLExpression expression) { 183 return continueFlag; 184 } 185 186 public boolean visitIdentifier(EJBQLExpression expression) { 187 return continueFlag; 188 } 189 190 public boolean visitIn(EJBQLExpression expression) { 191 return continueFlag; 192 } 193 194 public boolean visitInnerFetchJoin(EJBQLJoin join) { 195 return continueFlag; 196 } 197 198 public boolean visitInnerJoin(EJBQLJoin join) { 199 return continueFlag; 200 } 201 202 public boolean visitIntegerLiteral(EJBQLExpression expression) { 203 return continueFlag; 204 } 205 206 public boolean visitIsEmpty(EJBQLExpression expression) { 207 return continueFlag; 208 } 209 210 public boolean visitIsNull(EJBQLExpression expression, int finishedChildIndex) { 211 return continueFlag; 212 } 213 214 public boolean visitLength(EJBQLExpression expression) { 215 return continueFlag; 216 } 217 218 public boolean visitLessOrEqual(EJBQLExpression expression, int finishedChildIndex) { 219 return continueFlag; 220 } 221 222 public boolean visitLessThan(EJBQLExpression expression, int finishedChildIndex) { 223 return continueFlag; 224 } 225 226 public boolean visitLike(EJBQLExpression expression, int finishedChildIndex) { 227 return continueFlag; 228 } 229 230 public boolean visitLocate(EJBQLExpression expression) { 231 return continueFlag; 232 } 233 234 public boolean visitLower(EJBQLExpression expression) { 235 return continueFlag; 236 } 237 238 public boolean visitMax(EJBQLAggregateColumn expression) { 239 return continueFlag; 240 } 241 242 public boolean visitMemberOf(EJBQLExpression expression) { 243 return continueFlag; 244 } 245 246 public boolean visitMin(EJBQLAggregateColumn expression) { 247 return continueFlag; 248 } 249 250 public boolean visitMod(EJBQLExpression expression) { 251 return continueFlag; 252 } 253 254 public boolean visitMultiply(EJBQLExpression expression, int finishedChildIndex) { 255 return continueFlag; 256 } 257 258 public boolean visitNamedInputParameter(EJBQLExpression expression) { 259 return continueFlag; 260 } 261 262 public boolean visitNegative(EJBQLExpression expression) { 263 return continueFlag; 264 } 265 266 public boolean visitNot(EJBQLExpression expression) { 267 return continueFlag; 268 } 269 270 public boolean visitNotEquals(EJBQLExpression expression, int finishedChildIndex) { 271 return continueFlag; 272 } 273 274 public boolean visitOr(EJBQLExpression expression, int finishedChildIndex) { 275 return continueFlag; 276 } 277 278 public boolean visitOrderBy(EJBQLExpression expression) { 279 return continueFlag; 280 } 281 282 public boolean visitOrderByItem(EJBQLExpression expression) { 283 return continueFlag; 284 } 285 286 public boolean visitOuterFetchJoin(EJBQLJoin join) { 287 return continueFlag; 288 } 289 290 public boolean visitOuterJoin(EJBQLJoin join) { 291 return continueFlag; 292 } 293 294 public boolean visitPath(EJBQLPath expression, int finishedChildIndex) { 295 return continueFlag; 296 } 297 298 public boolean visitPatternValue(EJBQLExpression expression) { 299 return continueFlag; 300 } 301 302 public boolean visitPositionalInputParameter(EJBQLPositionalInputParameter expression) { 303 return continueFlag; 304 } 305 306 public boolean visitSelect(EJBQLExpression expression) { 307 return continueFlag; 308 } 309 310 public boolean visitSelectExpression(EJBQLExpression expression) { 311 return continueFlag; 312 } 313 314 public boolean visitSelectExpressions(EJBQLExpression expression) { 315 return continueFlag; 316 } 317 318 public boolean visitSize(EJBQLExpression expression) { 319 return continueFlag; 320 } 321 322 public boolean visitSqrt(EJBQLExpression expression) { 323 return continueFlag; 324 } 325 326 public boolean visitStringLiteral(EJBQLExpression expression) { 327 return continueFlag; 328 } 329 330 public boolean visitSubselect(EJBQLExpression expression) { 331 return continueFlag; 332 } 333 334 public boolean visitSubstring(EJBQLExpression expression) { 335 return continueFlag; 336 } 337 338 public boolean visitSubtract(EJBQLExpression expression, int finishedChildIndex) { 339 return continueFlag; 340 } 341 342 public boolean visitSum(EJBQLAggregateColumn expression) { 343 return continueFlag; 344 } 345 346 public boolean visitTok(EJBQLExpression expression) { 347 return continueFlag; 348 } 349 350 public boolean visitTrim(EJBQLExpression expression) { 351 return continueFlag; 352 } 353 354 public boolean visitTrimBoth(EJBQLExpression expression) { 355 return continueFlag; 356 } 357 358 public boolean visitTrimCharacter(EJBQLExpression expression) { 359 return continueFlag; 360 } 361 362 public boolean visitTrimLeading(EJBQLExpression expression) { 363 return continueFlag; 364 } 365 366 public boolean visitTrimTrailing(EJBQLExpression expression) { 367 return continueFlag; 368 } 369 370 public boolean visitUpdate(EJBQLExpression expression) { 371 return continueFlag; 372 } 373 374 public boolean visitUpdateField(EJBQLExpression expression) { 375 return continueFlag; 376 } 377 378 public boolean visitUpdateItem(EJBQLExpression expression) { 379 return continueFlag; 380 } 381 382 public boolean visitUpdateValue(EJBQLExpression expression) { 383 return continueFlag; 384 } 385 386 public boolean visitUpper(EJBQLExpression expression) { 387 return continueFlag; 388 } 389 390 public boolean visitWhere(EJBQLExpression expression) { 391 return continueFlag; 392 } 393 } 394 | Popular Tags |