The Domain model is represented by resources and its children. The Domain model is configured in the first three tabs of the Domain Designer: Data Management, Joins, and Pre-filters.
| 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. |
resources
The resources element is a container for all element definitions that make up the Domain model in the design, including:
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.
resources does not contain presentation elements. resources 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.