attribute-usage-features
Available in: SysML
This checks that all attribute usage features are referential (non-composite).
Specification
All
featuresof anAttributeUsagemust be non-composite.
Example
attribute a {
part p; // error: Features of an attribute usage must be referential
}
metadata def M;
#M d { part p; }
attribute b :> d; // error
Add ref to owned composite features:
attribute a {
ref part p; // ok
}
Or remove specializations to types with composite features:
attribute b; // ok