Requirement ID validation [message #1603860] |
Fri, 06 February 2015 13:02 |
Lisa Moevius Messages: 2 Registered: February 2015 |
Junior Member |
|
|
Hello Everyone!
I've just started using Papyrus for SysML modelling and requirements. I'm trying to give my requirements unique IDs that are checked for uniqueness by the model validation process, especially when I import requirements from another source.
When I create new requirements and their table, the column "id : String [1] " automatically appears. I can manually write an ID into the cells, however, what I actually want is to automatically have the entries made and unique IDs assigned (for example with a scheme "myID_001", "myID_002", and so on).
I have looked but not found the option, but I feel there must be such a function somewhere, as it doesn't make sense to manually add numbers that don't have the features an ID should have (i.e. that it should be unique and be checked for uniqueness by the validation routines. As it is, I can write the same ID in all cells).
Could someone point me in the right direction please?
Many thanks,
Lisa
|
|
|
|
|
|
Re: Requirement ID validation [message #1614896 is a reply to message #1611613] |
Fri, 13 February 2015 15:15 |
|
The functionality to create Requirement, with a custom prefix will be added in extra plugins (it was not put open source)
You can choose your prefix and chosse the number of digit for requirement number as "Req_0001".
We wonder, it the garmmar could be more complex, he could be interesting to write something like that:
prefix+ projectName+ modelName+ subpackageName+ id(3 digits).
What do you think?
|
|
|
Re: Requirement ID validation [message #1619615 is a reply to message #1614896] |
Mon, 16 February 2015 18:09 |
|
You might also want to consider numbering based on requirement containment (or is that what you mean by "subpackageName"?). Contained requirements would numbered by "parentID" + "." + id.
/Charles Rivet
|
|
|
Powered by
FUDForum. Page generated in 0.03145 seconds