CE nature#
CE must have a design annotation
Description#
The Contributing Elements (CE) shall have an annotation ‘DesignElement’ with a property ‘Nature’. Parameter: ‘-t’: Name of the note type (e.g.: ‘-t DesignElement’)
The parameter allows defining an alternate note type name, with the following syntax:
-t <note type name>
(default value: -t DesignElement
).
This rules applies to the following elements:
Equation set
Text diagram
State
Transition
Rationale#
The note type DesignElement
is expected to be designed so that the property Nature
is taken into account when exporting the SCADE Contributing Elements (CE) through SCADE ALM Gateway.
The export is easier to specify: all the CE, regardless their nature.
The analysis of the traceability matrices is made easier by filtering the matrices with respect to this property.
Verification#
The rule registers to the CE and raises a violation when a CE does not have a note of the specified type.
Message: the Contributing Element shall have an annotation <note type name>
Resolution#
Create the note instance.
Notes:
Make sure the annotation rules are specified correctly with respect to the Scade model elements considered as CE.
Use the script
CreateDefaultNotes.tcl
to create all the missing note instances, accordingly to the annotation rules of theaty
file.
Customization#
The default value of the rule’s parameters types
or kinds
can be overridden provided the targeted model elements can be annotated.
Refer to the documentation of the instantiation of a rule for details.
See also
ESEG-EN-072 SCADE Traceability
Instantiation of a rule