getAttribute
Class: slreq.Requirement
Namespace: slreq
Get requirement property values
Syntax
val = getAttribute(req,propertyName)
Description
returns the value of the requirement property, val = getAttribute(req,propertyName)propertyName, for
the requirement, req. The property can be a built-in property, a
custom attribute, or a stereotype property.
Note
To return the value of a stereotype property, you must pass the fully qualified name of
the property. For example, the fully qualified name for a property called
Status in a stereotype called myStereotype in a
profile called myProfile is
myProfile.myStereotype.Status.
Input Arguments
Output Arguments
Examples
Tips
To get property values for links, use the
getAttributemethod ofslreq.Link.
Version History
Introduced in R2018a