|
|||||||||||||||||||
| 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 | |||||||||||||||
| ExpressionImpl.java | - | 50% | 33.3% | 42.9% |
|
||||||||||||||
| 1 |
/*
|
|
| 2 |
* $Id: ExpressionImpl.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.Expression;
|
|
| 12 |
|
|
| 13 |
/**
|
|
| 14 |
* Abstract superclass to be used by all expression implementations.
|
|
| 15 |
*
|
|
| 16 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:10 $
|
|
| 17 |
* @author Patric Fornasier
|
|
| 18 |
* @author Pawel Kowalski
|
|
| 19 |
*/
|
|
| 20 |
public abstract class ExpressionImpl implements Expression { |
|
| 21 |
|
|
| 22 |
private String expressionLitteral = null; |
|
| 23 |
|
|
| 24 |
//**************************************************/
|
|
| 25 |
// c'tors
|
|
| 26 |
//**************************************************/
|
|
| 27 |
|
|
| 28 | 164 |
public ExpressionImpl(String expressionLitteral) {
|
| 29 | 164 |
super();
|
| 30 | 164 |
this.expressionLitteral = expressionLitteral;
|
| 31 |
} |
|
| 32 |
|
|
| 33 |
//**************************************************/
|
|
| 34 |
// bexee.model.expression.Expression
|
|
| 35 |
//**************************************************/
|
|
| 36 |
|
|
| 37 |
/*
|
|
| 38 |
* (non-Javadoc)
|
|
| 39 |
*
|
|
| 40 |
* @see bexee.model.expression.Expression#setExpressionLitteral(java.lang.String)
|
|
| 41 |
*/
|
|
| 42 | 0 |
public void setExpressionLitteral(String expressionLitteral) { |
| 43 | 0 |
this.expressionLitteral = expressionLitteral;
|
| 44 |
} |
|
| 45 |
|
|
| 46 |
/*
|
|
| 47 |
* (non-Javadoc)
|
|
| 48 |
*
|
|
| 49 |
* @see bexee.model.expression.Expression#getExpressionLitteral()
|
|
| 50 |
*/
|
|
| 51 | 0 |
public String getExpressionLitteral() {
|
| 52 | 0 |
return expressionLitteral;
|
| 53 |
} |
|
| 54 |
|
|
| 55 |
/*
|
|
| 56 |
* (non-Javadoc)
|
|
| 57 |
*
|
|
| 58 |
* @see bexee.model.expression.Expression#evaluate()
|
|
| 59 |
*/
|
|
| 60 |
public abstract boolean evaluate(); |
|
| 61 |
|
|
| 62 |
} |
|
||||||||||