1
2
3
4
5
6
7
8
9 package bexee.model.expression.impl;
10
11 import bexee.model.expression.Expression;
12
13 /***
14 * Abstract superclass to be used by all expression implementations.
15 *
16 * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
17 * @author Patric Fornasier
18 * @author Pawel Kowalski
19 */
20 public abstract class ExpressionImpl implements Expression {
21
22 private String expressionLitteral = null;
23
24 //***************************************************/
25
26 //***************************************************/
27
28 public ExpressionImpl(String expressionLitteral) {
29 super();
30 this.expressionLitteral = expressionLitteral;
31 }
32
33 //***************************************************/
34
35 //***************************************************/
36
37
38
39
40
41
42 public void setExpressionLitteral(String expressionLitteral) {
43 this.expressionLitteral = expressionLitteral;
44 }
45
46
47
48
49
50
51 public String getExpressionLitteral() {
52 return expressionLitteral;
53 }
54
55
56
57
58
59
60 public abstract boolean evaluate();
61
62 }