The following tables list the schema elements and attributes that you can use to query from the data source.
The top-level elements of the schema:
Attribute | Description |
---|---|
ID | Database unique identifier |
Name | Database name |
URL | Database URL |
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. |
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. |
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.
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