ReqCoverageFactory object

A ReqCoverageFactory object manages CoverageEntity object.

You get a ReqCoverageFactory object from the ReqCoverageFactory property of a Req object.

Public methods

This object supports the following methods.

Method Description

AddItem

Creates a new coverage.

Syntax: AddItem(itemData)

Parameters:

  • itemData. It accepts the following options.

    • A reference to the item that will cover the requirement. For example, a Test object.

    • null. Passing null as the argument creates a virtual object, one that does not appear in the project database. After creating the item, use the relevant object properties to fill the object, then use the Post method to save the object in the database.

NewList

Creates a list of coverages according to the specified filter.

For details, see NewList.

RemoveItem

Removes a coverage from the database. Removal takes place immediately, without a Post.

For details, see RemoveItem.

Item

Gets an object managed by the factory by its key.

For details, see Item.

Public properties

This object supports the following properties.

Method R/W Type Description

Fields

R List

The list of all available fields for the entity managed by the factory.

Syntax: ReqCoverageFactory.Fields

Filter

R Object

The TDFilter object for the factory. See TDFilter object.

Syntax: ReqCoverageFactory.Flter

Back to top