|
|||||||||||||||||||
| 30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| BooleanExpressionImpl.java | - | 25% | 25% | 25% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: BooleanExpressionImpl.java,v 1.1 2004/12/15 14:18:10 patforna Exp $
|
|
| 3 |
*
|
|
| 4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
| 5 |
* Berne University of Applied Sciences
|
|
| 6 |
* School of Engineering and Information Technology
|
|
| 7 |
* All rights reserved.
|
|
| 8 |
*/
|
|
| 9 |
package bexee.model.expression.impl;
|
|
| 10 |
|
|
| 11 |
import bexee.model.expression.BooleanExpression;
|
|
| 12 |
|
|
| 13 |
/**
|
|
| 14 |
* A default implementation of the <code>BooleanExpression</code>.
|
|
| 15 |
*
|
|
| 16 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
|
|
| 17 |
* @author Patric Fornasier
|
|
| 18 |
* @author Pawel Kowalski
|
|
| 19 |
*/
|
|
| 20 |
public class BooleanExpressionImpl extends ExpressionImpl implements |
|
| 21 |
BooleanExpression {
|
|
| 22 |
|
|
| 23 |
//**************************************************/
|
|
| 24 |
// c'tors
|
|
| 25 |
//**************************************************/
|
|
| 26 |
|
|
| 27 | 164 |
public BooleanExpressionImpl(String booleanExpression) {
|
| 28 | 164 |
super(booleanExpression);
|
| 29 |
} |
|
| 30 |
|
|
| 31 |
//**************************************************/
|
|
| 32 |
// bexee.model.expression.Expression
|
|
| 33 |
//**************************************************/
|
|
| 34 |
|
|
| 35 |
/*
|
|
| 36 |
* (non-Javadoc)
|
|
| 37 |
*
|
|
| 38 |
* @see bexee.model.expression.Expression#evaluate()
|
|
| 39 |
*/
|
|
| 40 | 0 |
public boolean evaluate() { |
| 41 | 0 |
return false; |
| 42 |
} |
|
| 43 |
|
|
| 44 |
//**************************************************/
|
|
| 45 |
// bexee.model.expression.BooleanExpression
|
|
| 46 |
//**************************************************/
|
|
| 47 |
|
|
| 48 |
/*
|
|
| 49 |
* (non-Javadoc)
|
|
| 50 |
*
|
|
| 51 |
* @see bexee.model.expression.BooleanExpression#setBooleanExpression(java.lang.String)
|
|
| 52 |
*/
|
|
| 53 | 0 |
public void setBooleanExpression(String booleanExpression) { |
| 54 | 0 |
setExpressionLitteral(booleanExpression); |
| 55 |
} |
|
| 56 |
|
|
| 57 |
/*
|
|
| 58 |
* (non-Javadoc)
|
|
| 59 |
*
|
|
| 60 |
* @see bexee.model.expression.BooleanExpression#getBooleanExpression()
|
|
| 61 |
*/
|
|
| 62 | 0 |
public String getBooleanExpression() {
|
| 63 | 0 |
return getExpressionLitteral();
|
| 64 |
} |
|
| 65 |
|
|
| 66 |
} |
|
||||||||||