Rational DOORS database structure schema
The schemas for IBM® Rational® DOORS® data
sources models the structure of a Rational DOORS database.
The data source schemas simplify authoring document templates for
modules with the same structures and the same or similar attribute
lists. You can use schemas to query for folders, projects, and modules.
The baseline and view list for the modules cannot be obtained for
this data source. You can use only IBM Rational Publishing Engine filters
and sorts. No native filtering or sorting is available for this schema
type.
The following tables list the schema elements and attributes that you can use to query from the data source.
Database element
| Attribute | Description |
|---|---|
| ID | Database unique identifier |
| Name | Database name |
| URL | Database URL |
Folder and project element
The schema contains a single element named folder. Use its isProject attribute to determine whether the result is a folder or a project and depict it accordingly in the output.
| Attribute | Description |
|---|---|
| Description | The project or folder description |
| ID | The project or folder identifier |
| isProject | Set to true if the folder is a project; set to false otherwise |
| Name | The name of the project or folder |
| URL | The project or folder URL |
Module
The module element allows access to certain properties of the module.
| Attribute | Description |
|---|---|
| Description | The module description |
| fullName | The fully qualified name of the module. Example: /demo/car/test/System requirements |
| ID | The module identifier |
| Name | The name of the module |
| Type | The type of the module:
|
| URL | The project or module URL |
Retrieving information recursively
The schema is designed so that a single query can retrieve all the structure information. Defining a recursive level greater than 0 for the Database/Folder query, retrieves all the folders and projects up to that level of nesting.
Example
List DOORS Structure 1 $1 Database/Folder
List-detail
Text
Database/Folder/name
List DOORS Structure 1 $2 Database/Folder/Module
Text
Database/Folder/Module/name