View Javadoc

1   /*
2    * $Id: BooleanExpressionImpl.java,v 1.1 2004/12/15 14:18:10 patforna Exp $
3    *
4    * Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
5    * Berne University of Applied Sciences
6    * School of Engineering and Information Technology
7    * All rights reserved.
8    */
9   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.1 $, $Date: 2004/12/15 14:18:10 $
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  }