预订演示

请注意 : 本帮助页面不适用于最新版本的Enterprise Architect. 最新的帮助文档在这里.

前页 后页

Requirement Class

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

Associated table in repository

t_objectrequires

Requirement Attributes

Attribute

Remarks

See also

Difficulty

String
Notes: Read/Write
The estimated difficulty of implementing the requirement.

LastUpdate

Date
Notes: Read/Write
The date the requirement was last updated.

Name

String
Notes: Read/Write
The requirement itself.

Notes

String
Notes: Read/Write
Further notes on the requirement.

ObjectType

ObjectType
Notes: Read only
Distinguishes objects referenced through a Dispatch interface.
ObjectType

ParentID

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

Priority

String
Notes: Read/Write
The assigned priority of the requirement.

RequirementID

Long
Notes: Read only
A local ID for this requirement.

Stability

String
Notes: 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
Notes: Read/Write
The current status of the requirement.

Type

String
Notes: Read/Write
The requirement type.

Requirement Methods

Method

Remarks

See also

GetLastError()

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

Update()

Boolean
Notes: Updates the current Requirement object after modification or appending a new item.
If False is returned, check the 'GetLastError()' function for more information.