public class BaseDataLevelBucket extends Object implements DataLevelBucket, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected List<DataLevelBucketProperty> |
bucketProperties |
protected JRExpression |
comparatorExpression |
protected JRExpression |
expression |
protected SortOrderEnum |
orderValue |
protected Class<?> |
valueClass |
protected String |
valueClassName |
protected String |
valueClassRealName |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseDataLevelBucket() |
|
BaseDataLevelBucket(DataLevelBucket bucket,
JRBaseObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
List<DataLevelBucketProperty> |
getBucketProperties() |
JRExpression |
getComparatorExpression()
Returns the comparator expression.
|
JRExpression |
getExpression()
Returns the grouping expression.
|
SortOrderEnum |
getOrderValue()
Returns the bucket sorting type.
|
Class<?> |
getValueClass()
Returns the class of the bucket value.
|
String |
getValueClassName()
Returns the string name of the bucket value class.
|
protected String valueClassName
protected String valueClassRealName
protected Class<?> valueClass
protected SortOrderEnum orderValue
protected JRExpression expression
protected JRExpression comparatorExpression
protected List<DataLevelBucketProperty> bucketProperties
protected BaseDataLevelBucket()
public BaseDataLevelBucket(DataLevelBucket bucket, JRBaseObjectFactory factory)
public String getValueClassName()
DataLevelBucketgetValueClassName in interface DataLevelBucketpublic SortOrderEnum getOrderValue()
DataLevelBucketThe possible values are:
getOrderValue in interface DataLevelBucketpublic JRExpression getExpression()
DataLevelBucketgetExpression in interface DataLevelBucketpublic JRExpression getComparatorExpression()
DataLevelBucket
The result of this expression is used to sort the buckets, in ascending or
descending order (given by getOrderValue().
If the bucket has an order by expression, the comparator will be used to
compare values as produced by that expression.
If no comparator expression is specified, the natural order will be used.
getComparatorExpression in interface DataLevelBucketpublic Class<?> getValueClass()
DataLevelBucketgetValueClass in interface DataLevelBucketpublic List<DataLevelBucketProperty> getBucketProperties()
getBucketProperties in interface DataLevelBucketpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2012. All Rights Reserved.