Eclipse BIRT Report Object Model (ROM)
Level Element
Display Name: | Level |
Since: | 2.2 |
XML Element: | None |
Extends: | ReportElement |
Extendable: | No |
Abstract: | Yes |
Name Space: | Styles |
Name Requirement: | Required |
Allows User Properties: | Yes |
Has Style: | No |
comments, customXml, displayName, displayNameID, eventHandlerClass, extends, name, newHandlerOnEachEvent, propertyMasks, userProperties, viewAction
The Level is an abstract element that defines the basic properties of a OLAP level element. It has two derived classes, one is tabular level and another is ODA level.
Level is the real element which defined the column expression from the dataset. You can set sort, filter, TOC on the level. The column expression defined on the level could be dynamic reference to a dataset, also it could be static that user defined on the level by a value list.
Level data type property.
Type: | choice (columnDataType) |
Since: | 2.2 |
Required: | No |
Display Name: | Data type |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Top |
Name | Display Name | Value | Description |
integer | Integer | integer | |
string | String | string | |
date-time | Date Time | date-time | |
decimal | Decimal | decimal | |
float | Float | float | |
boolean | Boolean | boolean | |
date | Date | date | |
time | Time | time | |
blob | Blob | blob | |
javaObject | Java Object | javaObject |
This property gives out the data type of the level resulting data.
Date time format applied on this level element.
Type: | string |
Since: | 2.2 |
Required: | No |
Display Name: | Date time format |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Top |
This property defines how to format the value if the data type of the level is date time.It contains the format pattern, category and locale. If the the data type of the level is date time and you don't set this property, the output is the general string calling toString method in Object.
Date time type.
Type: | choice (dateTimeLevelType) |
Since: | 2.2 |
Required: | No |
Display Name: | Date time level type |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Top |
Name | Display Name | Value | Description |
year | Year | year | |
quarter | Quarter | quarter | |
month | Month | month | |
week-of-month | Week Of Month | week-of-month | |
week-of-year | Week Of Year | week-of-year | |
day-of-week | Day Of Week | day-of-week | |
day-of-month | Day Of Month | day-of-month | |
day-of-year | Day Of Year | day-of-year | |
hour | Hour | hour | |
minute | Minute | minute | |
second | Second | second |
This property specifies the detail type if the level is date time. This is used to speed up the performance.
Default value expression applied on this level.
Type: | expression |
Context: | |
Expression Type: | None |
Since: | 2.3 |
Required: | No |
Display Name: | Default value |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | Yes |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Top |
This property defines.
When creating intervals, this property allows grouping on a range of contiguous values.
Type: | choice (intervalType) |
Since: | 2.2 |
Required: | No |
Display Name: | Interval |
JavaScript Type: | |
Default Value: | none |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Interval |
Name | Display Name | Value | Description |
none | No Interval | none | Group on individual values. |
prefix | Prefix | prefix | Group on a string prefix |
interval | Interval | interval | Group on a numeric interval. |
This property allows the level element to include a range of contiguous values. For example, a monthly sales report may want to summarize a list of individual transactions, each of which has a transaction date. Using the Month interval, BIRT will cause a break to occur each time the transaction dates move into a different calendar month.
Use this property with the intervalRange
property
to select a set of contiguous values. For example, a bi-monthly report
would use the Month interval
with an intervalRange
of 2.
intervalRange
Property
In conjunction with Interval and IntervalRange, determines how data is divided into groups.
Type: | string |
Since: | 2.2 |
Required: | No |
Display Name: | Interval base |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Interval |
In conjunction with Interval and IntervalRange, determines how data is divided into groups.
Number of contiguous groups to merge to create a single group.
Type: | float |
Since: | 2.2 |
Required: | No |
Display Name: | Interval range |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Interval |
When creating intervals, this attribute allows grouping on a range of contiguous values. For example, to show data over the span of three hours, set the grouping interval to hours and the range to 3. The user enters the interval range here.
The following shows the meaning of the range for each interval type.
Interval | Meaning of Range |
None | Ignored |
Prefix | The number of characters in the prefix. |
Date/Time | The number of the units. |
Interval | The numeric interval |
Type of the level.
Type: | choice (levelType) |
Since: | 2.2 |
Required: | No |
Display Name: | Level type |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Visible |
Property Sheet Group: | Top |
Name | Display Name | Value | Description |
dynamic | Dynamic | dynamic | get the query result from data base directly |
mirrored | Mirrored | mirrored | get the query result from the data base and then do some mirror handling |
This property indicates whether this level is dynamic or mirrored. If the level is dynamic, you can define a list of level attribute on it to do filter operation on the query result from data base. If the level is mirrored, you can define a list of rules as static values to do mirroring and set an BIRT expression as the default value, which is used as default during mirroring.
Series of rules applied on this level.
Type: | List of Rule Structures |
Since: | 2.2 |
Required: | No |
Display Name: | Static values |
JavaScript Type: | |
Default Value: | None |
Inherited: | Yes |
Runtime Settable: | No |
Property Sheet Visibility: | Hidden |
Property Sheet Group: | Top |
This property defines a list of rules. If the level type is mirrored, you can add a list of rule structures as the static values to do mirroring.