Requirement Class

An Element Requirement object holds information about the responsibilities of an element in the context of the model. Accessed using the Element Requirements collection.

Associated table in .EAP file: t_objectrequires

Requirement Attributes

Attribute

Type

Notes

Difficulty

String

Read/Write. Estimated difficulty to implement.

LastUpdate

Date

Read/Write. Date requirement last updated.

Name

String

Read/Write. The requirement itself.

Notes

String

Read/Write. Further notes about requirement.

ObjectType

ObjectType

Read only. Distinguishes objects referenced through a Dispatch interface.

ParentID

Long

Read only. The ElementID of the element to which this requirement applies.

Priority

String

Read/Write. Assigned priority of the requirement.

RequirementID

Long

Read only. A local ID for this requirement.

Stability

String

Read/Write. Estimated stability of the requirement.

This is an indication of the probability of the requirement - or understanding of the requirement - changing. High stability indicates a low probability of the requirement changing.

Status

String

Read/Write. Current status of the requirement.

Type

String

Read/Write. Requirement type.

Requirement Methods

Method

Type

Notes

GetLastError ()

String

Returns a string value describing the most recent error that occurred in relation to this object.

This function is rarely used as an exception is thrown when an error occurs.

Update ()

Boolean

Update the current Requirement object after modification or appending a new item. If false is returned, check the GetLastError function for more information.