The resources element contains other elements that define the tables and rows that are accessed through the Domain. It corresponds to the first three tabs of the Domain Designer: Data Management, Joins, and Pre-filters.
The resources element contains the jdbcTable and jdbcQuery elements to represent database tables and derived tables, respectively. Join trees are represented as a jdbcTable element with additional contents to define the joins. In order for the Domain to be usable, there must be at least one table, whether as a jdbcTable or jdbcQuery element.
Because the elements under resources refer to database objects, they must be externally consistent with the data source for the Domain. For example, the schemaAlias and datasourceTablename attributes of jdbcTable must match the schema and name of a table in the data source. |
The resources element does not contain presentation elements. It is a direct child of the schema element.
resources Hierarchy
The following hierarchy is used for the resources element:
(0...1) (1) (1...n) (0...n) (1) (1...n) (0...n) (0...n) (1) (1...n) (0...n) (1) (0...n) (1) (1...n) (0...n) (1) (1) (1...n) (0...1) (1) (1...n)[/code] |
Child Elements
Element Name | Description | ||||||
---|---|---|---|---|---|---|---|
jdbcTable | Represents one of the following:
| ||||||
jdbcQuery | (Only present if schema defines derived tables.) Represents a derived table that results from an SQL query. See Representing Derived Tables in XML for more information. | ||||||
null | (Only present if schema defines constant calculated fields.) Container for constant fields. |
Recommended Comments
There are no comments to display.