Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Papyrus for Sysml"

(Structure)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Structure=
 
=Structure=
In order to design plugins inside Sysml.
+
Each plugin contains a UML model that allows to design plugins inside SysML.
Each plugin contains a UML model.
+
  
 
'''The name of the root model must be the name of the current plugin.'''
 
'''The name of the root model must be the name of the current plugin.'''
Line 7: Line 6:
 
This UML model contains 4 sub-models:
 
This UML model contains 4 sub-models:
 
#a model of Requirements
 
#a model of Requirements
#a model of Use cases
+
#a model of Use Cases
 
#a model of Design
 
#a model of Design
#a model of Tests
+
#a model of Test
  
 
[[File:GeneralStructure.png]]
 
[[File:GeneralStructure.png]]
  
=The Requirement model=
+
=The Requirements model=
  
The requirement contents all requirements dedicated for the current plug-in.
+
This model contains all the requirements dedicated to the current plug-in.
*Rule: The requirement model cannot contain sub-models or sub-packages. It must contains a set of hierarchy of requirements.
+
*Rule: The requirements model cannot contain sub-models or sub-packages. It must contain a hierarchy of requirements.
  
 
==Requirement==
 
==Requirement==
Each requirement has an id that has the following grammar:  
+
Each requirement has an id that conforms to the following grammar pattern:  
 
  <nowiki><Requirement id>::="Req_"<digit><digit><digit></nowiki>
 
  <nowiki><Requirement id>::="Req_"<digit><digit><digit></nowiki>
  
For example the first top requirement inside the plugin could be ''"Req_001"''.
+
For example, ''"Req_001"'' can be the first top requirement inside the plugin.
  
If a requirement is contained inside another requirement add a dot with 3 new digits.
+
Add a dot with 3 new digits if a requirement is contained inside other requirement.
  
 
A requirement contained inside the first requirement has the following id:''"Req_001.001"''
 
A requirement contained inside the first requirement has the following id:''"Req_001.001"''

Latest revision as of 09:07, 17 March 2016

Structure

Each plugin contains a UML model that allows to design plugins inside SysML.

The name of the root model must be the name of the current plugin.

This UML model contains 4 sub-models:

  1. a model of Requirements
  2. a model of Use Cases
  3. a model of Design
  4. a model of Test

GeneralStructure.png

The Requirements model

This model contains all the requirements dedicated to the current plug-in.

  • Rule: The requirements model cannot contain sub-models or sub-packages. It must contain a hierarchy of requirements.

Requirement

Each requirement has an id that conforms to the following grammar pattern:

<Requirement id>::="Req_"<digit><digit><digit>

For example, "Req_001" can be the first top requirement inside the plugin.

Add a dot with 3 new digits if a requirement is contained inside other requirement.

A requirement contained inside the first requirement has the following id:"Req_001.001"

Back to the top