bexee.model.expression.impl
Class ExpressionImpl

java.lang.Object
  extended bybexee.model.expression.impl.ExpressionImpl
All Implemented Interfaces:
Expression
Direct Known Subclasses:
BooleanExpressionImpl, DeadlineExpressionImpl, DurationExpressionImpl

public abstract class ExpressionImpl
extends java.lang.Object
implements Expression

Abstract superclass to be used by all expression implementations.

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

Constructor Summary
ExpressionImpl(java.lang.String expressionLitteral)
           
 
Method Summary
abstract  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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpressionImpl

public ExpressionImpl(java.lang.String expressionLitteral)
Method Detail

setExpressionLitteral

public void setExpressionLitteral(java.lang.String expressionLitteral)
Description copied from interface: Expression
Set an expression litteral for later evaluation.

Specified by:
setExpressionLitteral in interface Expression
Parameters:
expressionLitteral - a String value

getExpressionLitteral

public java.lang.String getExpressionLitteral()
Description copied from interface: Expression
Get an expression litteral for evaluation.

Specified by:
getExpressionLitteral in interface Expression
Returns:
a String value

evaluate

public abstract boolean evaluate()
Description copied from interface: Expression
Evaluate the expression litteral and return a boolean.

Specified by:
evaluate in interface Expression
Returns:
a boolean value


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