Using XSL to Transform XML Files

13 Logical Elements 13-1 13 Logical Elements Logical elements are typically those elements that are exposed in the Business Model and Mapping layer, or in other words, the elements that appear in the center pane of the Administration Tool. This chapter contains the following topics: ■ Section 13.1, Logical Column ■ Section 13.2, Business Model ■ Section 13.3, Logical Complex Join ■ Section 13.4, Logical Level ■ Section 13.5, Dimension ■ Section 13.6, Logical Table ■ Section 13.7, Logical Foreign Key ■ Section 13.8, Logical Key ■ Section 13.9, Logical Table Source ■ Section 13.10, Logical Source Folder ■ Section 13.11, Measure Definition ■ Section 13.12, Aggregation Rule ■ Section 13.13, Override Aggregation Rule ■ Section 13.14, Logical Display Folder

13.1 Logical Column

The logical column element corresponds to the logical column object in the Business Model and Mapping layer. The logical column tag includes the following attributes: Table 13–1 Logical Column Tag Attributes Attribute Name Description isDerived When set to true, indicates that the logical column is based on a user-defined expression for example, another logical column, a constant value, or a variable. 13-2 Oracle Fusion Middleware Integrators Guide for Oracle Business Intelligence Enterprise Edition The logical column tag includes the following child elements: Syntax LogicalColumn … isDerived= isWriteable= Description Expr...Expr CustomSortOrder RefLogicalColumn … CustomSortOrder DescriptorID RefLogicalColumn … DescriptorID Levels RefLogicalLevel … Levels LogicalColumn Example LogicalColumn name=C1 Cust Name parentName=quot;Sample Salesquot;.quot;D1 Customerquot; parentId=2035:22 parentUid=742 id=2006:24 uid=782 IsWriteable When set to true, indicates that write back has been enabled for this column. This feature is typically used with ADF Business Component data sources. This option is called Writeable in the Administration Tool. Table 13–2 Logical Column Child Elements Element Name Description Expr Contains the expression from which the logical column should be derived. This element is only used when the isDerived attribute is set to true. CustomSortOrder If the sort order for this logical column is based on a different logical column, this element references that logical column. The logical column upon which the sort order is based is contained in a sub-element called RefLogicalColumn. DescriptorID When multilingual columns are based on a lookup function, it is common to specify the non-translated lookup key column as the descriptor ID column of the translated column. This element references the descriptor ID column. The descriptor ID logical column is contained in a sub-element called RefLogicalColumn. Levels For dimension columns, shows the level to which this column has been assigned. For level-based measures, shows the level at which the column has been explicitly fixed. The level is contained in a sub-element called RefLogicalLevel. Table 13–1 Cont. Logical Column Tag Attributes Attribute Name Description