01: /*
02: * $Id: BooleanExpressionImpl.java,v 1.3 2004/12/09 08:42:09 kowap Exp $
03: *
04: * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
05: * Berne University of Applied Sciences
06: * School of Engineering and Information Technology
07: * All rights reserved.
08: */
09: package bexee.model.expression.impl;
10:
11: import bexee.model.expression.BooleanExpression;
12:
13: /**
14: * A default implementation of the <code>BooleanExpression</code>.
15: *
16: * @version $Revision: 1.3 $, $Date: 2004/12/09 08:42:09 $
17: * @author Patric Fornasier
18: * @author Pawel Kowalski
19: */
20: public class BooleanExpressionImpl extends ExpressionImpl implements
21: BooleanExpression {
22:
23: //**************************************************/
24: // c'tors
25: //**************************************************/
26:
27: public BooleanExpressionImpl(String booleanExpression) {
28: super (booleanExpression);
29: }
30:
31: //**************************************************/
32: // bexee.model.expression.Expression
33: //**************************************************/
34:
35: /*
36: * (non-Javadoc)
37: *
38: * @see bexee.model.expression.Expression#evaluate()
39: */
40: public boolean evaluate() {
41: return false;
42: }
43:
44: //**************************************************/
45: // bexee.model.expression.BooleanExpression
46: //**************************************************/
47:
48: /*
49: * (non-Javadoc)
50: *
51: * @see bexee.model.expression.BooleanExpression#setBooleanExpression(java.lang.String)
52: */
53: public void setBooleanExpression(String booleanExpression) {
54: setExpressionLitteral(booleanExpression);
55: }
56:
57: /*
58: * (non-Javadoc)
59: *
60: * @see bexee.model.expression.BooleanExpression#getBooleanExpression()
61: */
62: public String getBooleanExpression() {
63: return getExpressionLitteral();
64: }
65:
66: }
|