Skip to main content



      Home
Home » Modeling » Papyrus » Requirement ID validation(creating IDs that are checked for uniqueness)
Requirement ID validation [message #1603860] Fri, 06 February 2015 08:02 Go to next message
Eclipse UserFriend
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 #1604052 is a reply to message #1603860] Fri, 06 February 2015 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Hello Lisa,

Papyrus has 100 unit features an 1 unit documentation. This is the biggest problem with Papyrus. It is almost impossible to understand most of its features.

Are you really able to work with requirements table of Papyrus anyway? I have given up long ago. Could you please explain how you can work with it?

Best regards,
Furkan
Re: Requirement ID validation [message #1608623 is a reply to message #1604052] Mon, 09 February 2015 11:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi Lisa,

Automatic generation of Requirement IDs is currently not supported in Papyrus.

We will provide a mechanism to customize the initial name of elements in Papyrus 1.1/Mars, and hopefully this will also support custom stereotype properties (Including Requirement IDs), but currently it's only a plan.

Regards,
Camille
Re: Requirement ID validation [message #1611613 is a reply to message #1608623] Wed, 11 February 2015 08:41 Go to previous messageGo to next message
Eclipse UserFriend
@Camille:

Thanks for the clarification. And good to know I'm not just being thick not finding the functionality...

@Furkan:

I've gotten my head around the basic functionality which works well enough. Click Papyrus > New Table > Create ... configurations catalogue > Requirement table. Then your requirements in the model or any new requirements will appear here incl. changes when you update diagrams. But as soon as it comes to importing or so, the basic functionality as it stands doesn't seem to be ready yet for more professional needs, which is a bit of a shame.
Re: Requirement ID validation [message #1614896 is a reply to message #1611613] Fri, 13 February 2015 10:15 Go to previous messageGo to next message
Eclipse UserFriend
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 13:09 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Component Diagrams with ball & socket in UI
Next Topic:SysML error model validation
Goto Forum:
  


Current Time: Wed Jul 23 14:25:25 EDT 2025

Powered by FUDForum. Page generated in 0.03586 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top