slreq.Link class
Package: slreq
Work with link objects
Description
When you establish a traceable association between artifacts, Requirements Toolbox™ creates an slreq.Link
object to store source and
destination data of the link.
Creation
creates an link
= slreq.createLink(src
, dest
)slreq.Link
object link
with source and
destination artifacts specified by src
and
dest
respectively. The slreq.Link
object is
stored in the Link set file that belongs to src
.
returns an array of outLinks
= slreq.outLinks(src
)slreq.Link
objects outLinks
that contains the outgoing links from the source artifact
src
.
returns an array of inLinks
= slreq.inLinks(dest
)slreq.Link
objects inLinks
that contains the incoming links to the destination artifact
dest
.
Input Arguments
Output Arguments
Properties
Methods
destination | Get link destination |
getAttribute | Get link property values |
isFilteredIn | Check filtered links |
isResolved | Check if the link is resolved |
isResolvedDestination | Check if the link destination is resolved |
isResolvedSource | Check if the link source is resolved |
linkSet | Return parent link set |
remove | Delete links |
setAttribute | Set link property values |
setDestination | Set requirement link destination |
setSource | Set requirement link source |
source | Get link source |
Examples
Version History
Introduced in R2018a