01: /*
02: * $Id: Expression.java,v 1.5 2004/12/09 08:42:17 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;
10:
11: /**
12: * This interface should be used as a superinterface by all other expressions.
13: *
14: * @version $Revision: 1.5 $, $Date: 2004/12/09 08:42:17 $
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: }
|