1   
2   
3   
4   
5   
6   
7   
8   
9   package bexee.model.expression;
10  
11  /***
12   * This interface should be used as a superinterface by all other expressions.
13   * 
14   * @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:14 $
15   * @author Patric Fornasier
16   * @author Pawel Kowalski
17   */
18  public interface Expression {
19  
20      /***
21       * Set an expression litteral for later evaluation.
22       * 
23       * @param expressionLitteral
24       *            a <code>String</code> value
25       */
26      public void setExpressionLitteral(String expressionLitteral);
27  
28      /***
29       * Get an expression litteral for evaluation.
30       * 
31       * @return a <code>String</code> value
32       */
33      public String getExpressionLitteral();
34  
35      /***
36       * Evaluate the expression litteral and return a boolean.
37       * 
38       * @return a <code>boolean</code> value
39       */
40      public boolean evaluate();
41  
42  }