Requirement

Return to Introduction  Previous page  Next page

public 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

RequirementID

Long

Read only. A local ID for this requirement.

Name

String

Read/Write. The requirement itself.

Type

String

Read/Write. Requirement type.

Status

String

Read/Write. Current status of the requirement.

Stability

String

Read/Write. Estimated stability of the requirement.

Difficulty

String

Read/Write. Estimated difficulty to implement.

Priority

String

Read/Write. Assigned priority of the requirement.

LastUpdate

Date

Read/Write. Date requirement last updated.

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.

Requirement Methods

Method

Type

Notes

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.

GetLastError () 

String

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

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