setAttribute
Class: slreq.Link
Namespace: slreq
Set link property values
Syntax
setAttribute(myLink,propertyName,propertyValue)
Description
setAttribute(
sets a link property, myLink,propertyName,propertyValue)propertyName, to the value specified by
propertyValuefor the link myLink. The property can
be a built-in property, a custom attribute, or a stereotype property.
Note
To set 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
Examples
Tips
To set property values for requirements, use the
setAttributemethod.
Version History
Introduced in R2020b