org.eclipse.birt.data.engine.api.querydefn
Class FilterDefinition

java.lang.Object
  extended by org.eclipse.birt.data.engine.api.querydefn.FilterDefinition
All Implemented Interfaces:
IFilterDefinition

public class FilterDefinition
extends java.lang.Object
implements IFilterDefinition

Default implementation of IFilterDefinition interface.


Constructor Summary
FilterDefinition(IBaseExpression filterExpr)
          Constructs a new filter using the specified expression.
 
Method Summary
 IBaseExpression getExpression()
          Gets the Boolean expression used to define this filter.
 void setExpression(IBaseExpression filterExpr)
          Sets a new expression for the filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterDefinition

public FilterDefinition(IBaseExpression filterExpr)
Constructs a new filter using the specified expression. The expression is expected to return a Boolean value at runtime to be used as the filtering criteria.

Method Detail

getExpression

public IBaseExpression getExpression()
Description copied from interface: IFilterDefinition
Gets the Boolean expression used to define this filter.

Specified by:
getExpression in interface IFilterDefinition
See Also:
IFilterDefinition.getExpression()

setExpression

public void setExpression(IBaseExpression filterExpr)
Sets a new expression for the filter.



Copyright © 2008 Actuate Corp. All rights reserved.