net.sf.jasperreports.crosstabs
Interface JRCrosstabBucket

All Known Implementing Classes:
JRBaseCrosstabBucket, JRDesignCrosstabBucket

public interface JRCrosstabBucket

Crosstab groups bucketing information interface.

The bucketing informartion consists of the grouping expression and sorting information. The buckets can be sorted according to the natural sorting (if the values implement Comparable) or using a comparator.

Version:
$Id: JRCrosstabBucket.java 1229 2006-04-19 10:27:35Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
 JRExpression getComparatorExpression()
          Returns the comparator expression.
 JRExpression getExpression()
          Returns the grouping expression.
 byte getOrder()
          Returns the bucket sorting type.
 

Method Detail

getOrder

byte getOrder()
Returns the bucket sorting type.

The possible values are:

Returns:
the bucket sorting type

getExpression

JRExpression getExpression()
Returns the grouping expression.

Returns:
the grouping expression

getComparatorExpression

JRExpression getComparatorExpression()
Returns the comparator expression.

The result of this expression is used to sort the buckets, in ascending or descending order (given by getOrder().

Returns:
the comparator expression


© 2001-2006 JasperSoft Corporation www.jaspersoft.com