slreq.Requirement Class
Namespace: slreq
Work with requirement objects
Description
Instances of slreq.Requirement
are Requirement objects that you
manage solely inside Requirements Toolbox™ and that do not have a persistent association with artifacts managed by
external applications. Requirement objects can exist only within a requirement
set.
Creation
finds and returns a requirement req
= find(rs
, 'PropertyName'
, PropertyValue
)req
in the requirement set
rs
with additional requirement properties specified by
PropertyName
and PropertyValue
.
adds a requirement req
= add(rs
, 'PropertyName'
, PropertyValue
)req
to the requirement set rs
with additional requirement properties specified by PropertyName
and PropertyValue
.
Input Arguments
Output Arguments
Properties
Methods
add | Add child requirement |
addComment | Add comments to requirements |
children | Find child requirements of a requirement |
copy | Copy and paste requirement |
demote | Demote requirements |
find | Find children of parent requirements |
getAttribute | Get requirement property values |
getDescriptionAsText | Get requirement description as plain text |
getImplementationStatus | Query requirement implementation status summary |
getRationaleAsText | Get requirement rationale as plain text |
getVerificationStatus | Query requirement verification status summary |
inLinks | Get incoming links for requirements |
isFilteredIn | Check filtered requirements |
isJustifiedFor | Check if requirement is justified |
justifyImplementation | Justify requirements for implementation |
justifyVerification | Justify requirements for verification |
move | Move requirement in hierarchy |
moveDown | Move requirement down in hierarchy |
moveUp | Move requirement up in hierarchy |
outLinks | Get outgoing links for requirements |
parent | Find parent item of requirement |
promote | Promote requirements |
remove | Remove requirement from requirement set |
reqSet | Return parent requirement set |
setAttribute | Set requirement property values |
Examples
Version History
Introduced in R2018a