Skip to main content

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"

Create a requirement template

By clicking on Next, you have to chose the location of the new file and its name (e.g "MyRequirementTemplate.reqst").

Create a requirement template

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:

propertyone/listdescriptiontype
Exclude By Source Connectable Element NamelistExclude the transitions using the connectable element names indicated in this propertyText
Exclude By Source Type NamelistExclude the transitions using the type names indicated in this propertyText
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
Is InitializationoneIndicate if a requirement should be generated for the initialization of a stateBoolean
KindlistIndicate which kind of transition this item should take into accountEnumeration: Local, External, Internal
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
KindlistIndicate which kind of effect this item should take into accountEnumeration: ENTRY, EXIT, DO_ACTIVITY
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
Layout ApplicationoneThe type of layout element to applyEnumeration: LINE_BREAK, TAB
NameoneThe name of the item visible in the template modelText

Text Template Item

A text template item enables to insert a piece of text.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
TextoneThe text to insertText

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:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Feature Template Item

A feature template item enables to display the name of the specified entity (e.g service).

The following properties are available:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

State Template Item

A state template item enables to display the name of a state.

The following properties are available:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

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:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Condition Leaf Template Item

A condition leaf template item enables to display the text of a condition. It uses an operator mapper set.

The following properties are available:

propertyone/listdescriptiontype
First Member StyleslistThe styles which are applied to the first member of the conditionEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
Operator SetoneThe operator mapper set to use for the conditionOperator Mapper Set
Second Member StyleslistThe styles which are applied to the second member of the conditionEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE

Condition Boolean Operator Template Item

A condition boolean operator template item enables to display the text of the boolean operator between two conditions. It uses an operator mapper set.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
Operator SetoneThe operator mapper set to use for the conditionOperator Mapper Set

Trigger Template Item

A trigger template item enables to display the name of a trigger (e.g a flow name).

The following properties are available:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Source Template Item

A source template item enables to display the name of a source (e.g a an actor name or a service).

The following properties are available:

propertyone/listdescriptiontype
Applied StyleslistThe styles to apply to the model element nameEnumeration: REMOVE_UNDERSCORES, ADD_UNDERSCORES, LOWER_CASE, UPPER_CASE
Field To UseoneThe field which is used to generate this piece of textEnumeration: REPRESENTED_ELEMENT_NAME, REPRESENTED_LIFELINE_NAME, REPRESENTED_ELEMENT_CLASS_NAME
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Statement Items

Action Statement Template Item

An action statement template item enables to define a complete statement transcription for a given action (e.g flow or activity). It contains other template items.

The following properties are available:

propertyone/listdescriptiontype
Exclude By Target Connectable Element NamelistActions having the indicated connectable element name as target will not be generatedText
Exclude By Target Class NamelistActions having the indicated class as target will not be generatedText
FilterlistEnable to filter an action in function of its position in a the listEnumeration: ALL, FIRST, LAST, SINGLE, IN_BETWEEN
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
KindlistEnable to filter in function of the nature of the actionEnumeration: ALL, FLOW, ACTIVITY
NameoneThe name of the item visible in the template modelText

Argument Statement Template Item

An argument statement template item enables to define a complete statement transcription for a given argument (of a flow). It contains other template items.

The following properties are available:

propertyone/listdescriptiontype
FilterlistEnable to filter an action in function of its position in a the listEnumeration: ALL, FIRST, LAST, SINGLE, IN_BETWEEN
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Performance Statement Template Item

A performance statement template item enables to define a complete statement transcription for a given performance. It contains other template items.

The following properties are available:

propertyone/listdescriptiontype
FilterlistEnable to filter an action in function of its position in a the listEnumeration: ALL, FIRST, LAST, SINGLE, IN_BETWEEN
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Condition Statement Template Item

A condition statement template item enables to define a complete statement transcription for a given condition. It contains other template items.

The following properties are available:

propertyone/listdescriptiontype
FilterlistEnable to filter an action in function of its position in a the listEnumeration: ALL, FIRST, LAST, SINGLE, IN_BETWEEN
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Trigger Statement Template Item

A trigger statement template item enables to define a complete statement transcription for a given trigger. It contains other template items. It enables to process trigger differently for some particular cases (e.g "when" flow).

The following properties are available:

propertyone/listdescriptiontype
ExcludelistEnable to exclude a flow by its nameText
FilterlistEnable to filter an action in function of its position in a the listEnumeration: ALL, FIRST, LAST, SINGLE, IN_BETWEEN
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
Include [DEPRECATED]listEnable to include a flow by its nameText
NameoneThe name of the item visible in the template modelText

Composite Items

Transition Actions Template Item

A transition actions template item enables to define with which action statement template items the actions will be transcripted.

The following properties are available:

propertyone/listdescriptiontype
Action Statement Template ItemslistAll the Action Statement Template Items to useAction Statement Template Item
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

State Actions Template Item

A state actions template item enables to define with which action statement template items the actions of a state will be transcripted.

The following properties are available:

propertyone/listdescriptiontype
Action Statement Template ItemslistAll the Action Statement Template Items to useAction Statement Template Item
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Triggered behaviours Template Item

A triggers template item enables to define with which trigger statement template items the triggers will be transcribed.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
Trigger Statement Template ItemslistAll the Trigger Statement Template Items to useTrigger Statement Template Item

Conditions Template Item

A conditions template item enables to define with which condition statement template items the conditions will be transcribed.

The following properties are available:

propertyone/listdescriptiontype
Condition Statement Template ItemslistAll the Condition Statement Template Items to useCondition Statement Template Item
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Arguments Template Item

An arguments template item enables to define with which argument statement template items the arguments will be transcribed.

The following properties are available:

propertyone/listdescriptiontype
Argument Statement Template ItemslistAll the Argument Statement Template Items to useArgument Statement Template Item
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Performances Template Item

A performances template item enables to define with which performance statement template items the performance will be transcribed.

The following properties are available:

propertyone/listdescriptiontype
Performance Statement Template ItemslistAll the Performance Statement Template Items to usePerformance Statement Template Item
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Operators

Operator Mapper Set

An operator mapper set enables to group a serie of mapper for the comparison operators and boolean operators used in conditions.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText

Comparison Operator Mapper

A comparison operator mapper enables to indicate how an operator has to be translated as text.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
Operator KindoneThe kinds of operator which will be transcripted with this operator mapperEnumeration: GREATER, LOWER, GREATER_OR_EQUAL_TO, LOWER_OR_EQUAL_TO, EQUAL_TO, DIFFERENT_FROM
Selector KindoneThe kind of selector to determine when this operator mapper has to be used to transcribe an operator, depending on the nature of the elements which are comparedEnumeration: ALL, ONLY_ENUMERATIONS, ONLY_PRIMITIVE_TYPES
TextoneThe text to use for the corresponding operatorText

Boolean Operator Mapper

A boolean operator mapper enables to indicate how a boolean operator has to be transcripted as text. It is used to transcribe conditions.

The following properties are available:

propertyone/listdescriptiontype
GenerateoneIndicate if the element should be taken into account during the generation processBoolean
NameoneThe name of the item visible in the template modelText
Operator KindoneThe kinds of operator which will be transcripted with this operator mapperEnumeration: ALL, AND, OR
TextoneThe text to use for the corresponding operatorText