Edit requirement template
If the standards requirement templates don't match your needs, you have the possibility to design your own template.
CREATE A NEW REQUIREMENT TEMPLATE
To create your requirement template, the simplest way is to create a model of this template.
To do that, click on File > New > Other..., and then select "RequirementTemplate Model"
By clicking on Next, you have to chose the location of the new file and its name (e.g "MyRequirementTemplate.reqst").
The first element of the template model has to be a "Text Requirement Template". You can click on Finish to create the basic template file (*.reqst).
To use your template, put it into the project where you want to use it. You should be able to select it when generating requirements.
EDIT A REQUIREMENT TEMPLATE
Several model elements are available to compose your requirement template.
Root Items
Root Transition
A root transition item enables to detail how a transition has to be generated as a requirement text.
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Exclude By Source Connectable Element Name | list | Exclude the transitions using the connectable element names indicated in this property | Text |
| Exclude By Source Type Name | list | Exclude the transitions using the type names indicated in this property | Text |
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Is Initialization | one | Indicate if a requirement should be generated for the initialization of a state | Boolean |
| Kind | list | Indicate which kind of transition this item should take into account | Enumeration: Local, External, Internal |
| Name | one | The name of the item visible in the template model | Text |
Root State
A root state item enables to detail how a state effect (entry, exit) has to be generated as a requirement text.
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Kind | list | Indicate which kind of effect this item should take into account | Enumeration: ENTRY, EXIT, DO_ACTIVITY |
| Name | one | The name of the item visible in the template model | Text |
Root Constraint
A root constraint item enables to detail how a constraint (e.g performance) has to be generated as a requirement text.
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Leaf Items
Layout Template Item
A layout template item enables to insert an element of layout in the text (e.g a tabulation or a line break).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Layout Application | one | The type of layout element to apply | Enumeration: LINE_BREAK, TAB |
| Name | one | The name of the item visible in the template model | Text |
Text Template Item
A text template item enables to insert a piece of text.
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
| Text | one | The text to insert | Text |
Higher Feature Template Item
A higher feature template item enables to display the name of the entity containing the specified entity (e.g product).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Applied Styles | list | The styles to apply to the model element name | Enumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE |
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Feature Template Item
A feature template item enables to display the name of the specified entity (e.g service).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Applied Styles | list | The styles to apply to the model element name | Enumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE |
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
State Template Item
A state template item enables to display the name of a state.
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Applied Styles | list | The styles to apply to the model element name | Enumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE |
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Action Leaf Template Item
An action leaf template item enables to display the name of a action (e.g a flow name or an activity name).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Applied Styles | list | The styles to apply to the model element name | Enumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE |
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Argument Value Leaf Template Item
An argument value leaf template item enables to display the name of the value of an argument (e.g the name of a intern variable).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Argument Name Leaf Template Item
An argument name leaf template item enables to display the name of an argument (e.g "value" if the argument was named like this).
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |
Performance Leaf Template Item
A performance leaf template item enables to display the text of a performance (e.g "in less than 100 ms").
The following properties are available:
| property | one/list | description | type |
|---|---|---|---|
| Generate | one | Indicate if the element should be taken into account during the generation process | Boolean |
| Name | one | The name of the item visible in the template model | Text |