CoverageEntity object
A CoverageEntity object represents the association between a requirement and another entity that covers it.
You get a CoverageEntity object from a CoverageFactory object or a ReqCoverageFactory object.
Public methods
This object supports the following methods.
| Method | Description |
|---|---|
|
Post |
Posts all changed values into database. For details, see Post. |
|
Refresh |
Reads saved values, overwriting values in memory. For details, see Refresh. |
|
Undo |
Undoes changes to field values that have not been posted. For details, see Undo. |
Public properties
This object supports the following properties.
| Property | R/W | Type | Description |
|---|---|---|---|
|
AutoPost |
R/W | Boolean |
If true, the database is updated immediately when the field value changes. Syntax: |
|
CoverageType |
R | String |
The coverage type. For example, Test. Syntax: |
|
Field |
R/W | Any |
The value of the specified field. Syntax: Parameter:
|
|
FieldMultiValue |
R/W | Object |
The MultiValue object of the specified field. See MultiValue object. Syntax: Parameter:
|
|
ID |
R | Number |
The item ID. Syntax: |
|
Modified |
R | Boolean |
Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date. Syntax: |
|
Name |
R | String |
Depending how you get the object:
Syntax: |
|
RequirementEntity |
R | Object |
The Req object being covered. Syntax: |
| RequirementName | R | String |
Name of the requirement that is being covered. Syntax: |
|
Status |
R | String |
The execution result status of the TargetEntity. Syntax: |
|
TargetEntity |
R | Object |
The TestEntity that covers the requirement. Syntax: |
| TestEntity | R | Objecy |
The Test object that covers the requirement. Syntax: |
| TestName | R | String |
Name of the test that covers the requirement. Syntax: |
|
TypeName |
R | String |
The field's type. Syntax: |
|
Virtual |
R | Boolean |
Checks if this is a virtual item, that is, an item that does not have a corresponding database record. Syntax: |

