Main Content
getAttribute
Class: slreq.Link
Namespace: slreq
Syntax
val = getAttribute(myLink,propertyName)
Description
returns the value of the link property, val
= getAttribute(myLink
,propertyName
)propertyName
, for the link
myLink
. 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 requirements, use the
getAttribute
method.
Version History
Introduced in R2020b