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