bexee.model.expression.impl
Class DurationExpressionImpl

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

public class DurationExpressionImpl
extends ExpressionImpl
implements DurationExpression

A default implementation of the DurationExpression.

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

Constructor Summary
DurationExpressionImpl(java.lang.String durationExpression)
           
 
Method Summary
 boolean evaluate()
          Evaluate the expression litteral and return a boolean.
 java.lang.String getDurationExpression()
          Get the duration expression litteral.
 void setDurationExpression(java.lang.String durationExpression)
          Set the duration 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

DurationExpressionImpl

public DurationExpressionImpl(java.lang.String durationExpression)
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

setDurationExpression

public void setDurationExpression(java.lang.String durationExpression)
Description copied from interface: DurationExpression
Set the duration expression litteral.

Specified by:
setDurationExpression in interface DurationExpression

getDurationExpression

public java.lang.String getDurationExpression()
Description copied from interface: DurationExpression
Get the duration expression litteral.

Specified by:
getDurationExpression in interface DurationExpression
Returns:
litteral


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