slreq.Reference Class
Namespace: slreq
Work with external requirement proxy objects
Description
Objects of the slreq.Reference
class represent referenced requirements that
you import from third-party requirements management tools. Referenced requirements are
proxy requirements for the external requirements that you manage by using the
third-party tool. When you make changes to the external requirements, you can update the
referenced requirements.
Creation
finds and returns a referenced requirement or a set of referenced requirements
ref
= find(rs
, 'Type'
, 'Reference'
, 'PropertyName'
, PropertyValue
)ref
in the requirement set rs
specified by the
properties matching PropertyName
and
PropertyValue
.
adds a referenced requirement ref
= add(rs
, 'Artifact'
, FileName
, 'PropertyName'
, PropertyValue
)ref
to a requirement set
rs
which references requirements from the external document
specified by FileName
with properties and custom attributes
specified by PropertyName
and
PropertyValue
.
Input Arguments
Output Arguments
Properties
Methods
add | Add child referenced requirement |
addComment | Add comments to referenced requirements |
children | Find children references |
find | Find children of parent referenced requirements |
getAttribute | Get referenced requirement custom attributes |
getExternalTypeName | Get requirement type name from external artifact |
getImplementationStatus | Query referenced requirement implementation status summary |
getPostImportFcn | Get contents of PostImportFcn callback |
getPreImportFcn | Get registered PreImportFcn callback script |
getVerificationStatus | Query referenced requirement verification status summary |
hasNewUpdate | Check if import node has available update |
inLinks | Get incoming links for referenced requirements |
isFilteredIn | Check filtered referenced requirements |
isJustifiedFor | Check if referenced requirement is justified |
justifyImplementation | Justify referenced requirements for implementation |
justifyVerification | Justify referenced requirements for verification |
moveDown | Move referenced requirement down in hierarchy |
moveUp | Move referenced requirement up in hierarchy |
navigateToExternalArtifact | Navigate from imported referenced requirement to original requirement |
outLinks | Get outgoing links for referenced requirements |
parent | Find parent item of referenced requirement |
remove | Remove referenced requirements |
reqSet | Return parent requirement set |
setAttribute | Set referenced requirement custom attributes |
setParent | Set parent of referenced requirement in PostImportFcn
callback |
setPostImportFcn | Assign PostImportFcn callback script |
setPreImportFcn | Assign PreImportFcn callback script |
unlock | Unlock referenced requirements |
unlockAll | Unlock all child referenced requirements for editing |
updateFromDocument | Update referenced requirements from external requirements document |
Examples
Version History
Introduced in R2018a