Eclipse BIRT Report Object Model (ROM)

Dimension Element

# Element Overview

Base element for dimension elements within a cube.

### Details

Display Name: | Dimension
Since: | 2.2
XML Element: | `None`
Extends: | ReportElement
Extendable: | No
Abstract: | Yes
Name Space: | None
Name Requirement: | Required
Allows User Properties: | Yes
Has Style: | No

### Property Summary

defaultHierarchy
  Name of the default hierarchy applied to this dimension.
isTimeType
  Indicates whether the data type of the dimension is time.

### Inherited Properties

comments, customXml, displayName, displayNameID, eventHandlerClass, extends, name, newHandlerOnEachEvent, propertyMasks, userProperties, viewAction

### Description

The dimension is an abstract element that defines the basic properties of a OLAP dimension element. The derived elements, tabular and ODA dimension elements, provide hierarchy contents that are defined in this dimension itself.

# Property Detail

## defaultHierarchy Property

Name of the default hierarchy applied to this dimension.

### Details

Type: | Hierarchy Reference
Since: | 2.2
Required: | No
Display Name: | Default hierarchy
JavaScript Type: |
Default Value: | None
Inherited: | Yes
Runtime Settable: | No
Property Sheet Visibility: | Visible
Property Sheet Group: | Top

### Description

The hierarchy element can define multiple hierarchy element. This property specified the default one to be made query and rendered. If you don't set the value or give the value of a non existing hierarchy, the first hierarchy element is read as the default one if existing.

## isTimeType Property

Indicates whether the data type of the dimension is time.

### Details

Type: | boolean
Since: | 2.2
Required: | No
Display Name: | Is time type
JavaScript Type: |
Default Value: | false
Inherited: | Yes
Runtime Settable: | No
Property Sheet Visibility: | Visible
Property Sheet Group: | Top

### Description

This property indicates whether this dimension is a special type of Time. This is used to speed up the performance. True if the dimension is time type; otherwise false. By default, the value is FALSE.