bexee.model.expression.impl
Class BooleanExpressionImpl

java.lang.Object
  extended bybexee.model.expression.impl.ExpressionImpl
      extended bybexee.model.expression.impl.BooleanExpressionImpl
All Implemented Interfaces:
BooleanExpression, Expression

public class BooleanExpressionImpl
extends ExpressionImpl
implements BooleanExpression

A default implementation of the BooleanExpression.

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

Constructor Summary
BooleanExpressionImpl(java.lang.String booleanExpression)
           
 
Method Summary
 boolean evaluate()
          Evaluate the expression litteral and return a boolean.
 java.lang.String getBooleanExpression()
          Get the boolean expression litteral.
 void setBooleanExpression(java.lang.String booleanExpression)
          Set the boolean expression litteral.
 
Methods inherited from class bexee.model.expression.impl.ExpressionImpl
getExpressionLitteral, setExpressionLitteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bexee.model.expression.Expression
getExpressionLitteral, setExpressionLitteral
 

Constructor Detail

BooleanExpressionImpl

public BooleanExpressionImpl(java.lang.String booleanExpression)
Method Detail

evaluate

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

Specified by:
evaluate in interface Expression
Specified by:
evaluate in class ExpressionImpl

setBooleanExpression

public void setBooleanExpression(java.lang.String booleanExpression)
Description copied from interface: BooleanExpression
Set the boolean expression litteral.

Specified by:
setBooleanExpression in interface BooleanExpression
Parameters:
booleanExpression - litteral

getBooleanExpression

public java.lang.String getBooleanExpression()
Description copied from interface: BooleanExpression
Get the boolean expression litteral.

Specified by:
getBooleanExpression in interface BooleanExpression
Returns:
litteral


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