bexee.model.expression
Interface Expression

All Known Subinterfaces:
BooleanExpression, DeadlineExpression, DurationExpression
All Known Implementing Classes:
BooleanExpressionImpl, DeadlineExpressionImpl, DurationExpressionImpl, ExpressionImpl

public interface Expression

This interface should be used as a superinterface by all other expressions.

Version:
$Revision: 1.1 $, $Date: 2004/12/15 14:18:14 $
Author:
Patric Fornasier, Pawel Kowalski

Method Summary
 boolean evaluate()
          Evaluate the expression litteral and return a boolean.
 java.lang.String getExpressionLitteral()
          Get an expression litteral for evaluation.
 void setExpressionLitteral(java.lang.String expressionLitteral)
          Set an expression litteral for later evaluation.
 

Method Detail

setExpressionLitteral

public void setExpressionLitteral(java.lang.String expressionLitteral)
Set an expression litteral for later evaluation.

Parameters:
expressionLitteral - a String value

getExpressionLitteral

public java.lang.String getExpressionLitteral()
Get an expression litteral for evaluation.

Returns:
a String value

evaluate

public boolean evaluate()
Evaluate the expression litteral and return a boolean.

Returns:
a boolean value


Copyright © 2004 Berne University of Applied Sciences. All Rights Reserved.