Requirement Class

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

Associated table in .EAP file:     t_objectrequires

Requirement Attributes:

Attribute

Type

Notes

Difficulty

String

Read/Write

The estimated difficulty of implementing the requirement.

 

LastUpdate

Date

Read/Write

The date the requirement was last updated.

 

Name

String

Read/Write

The requirement itself.

 

Notes

String

Read/Write

Further notes on the 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

The assigned priority of the requirement.

 

RequirementID

Long

Read only

A local ID for this requirement.

 

Stability

String

Read/Write

The 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

The current status of the requirement.

 

Type

String

Read/Write

The 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

Updates the current Requirement object after modification or appending a new item.

If false is returned, check the GetLastError function for more information.