Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [rmf-dev] Should the RMF Core generate IDs or not?

Hi Mark,

> the metamodel implementation doesn't generate the IDs. That's by design:
> This makes sure, that you get the identical ReqIF data after loading
> and saving ReqIF files.

Okay, that makes sense.

> I think we should hook in an ID generator that creates Ids on demand. 
> Please create a bug for that feature.

Done: https://bugs.eclipse.org/bugs/show_bug.cgi?id=375835

> I can take care of it.

Thanks!

> When would you like the IDs to be generated?
> Does ProR make use of the IDENTIFIER or would it be sufficient to set
> the IDENTIFIER when saving the ReqIF model?

ProR uses the identifier as "label of last resort": It is used if no
other sensible label can be found.  Therefore it would be preferable if
the ID is generated upon creation of the model element (rather than on
save).

Thanks & best wishes,

- Michael

-- 
Michael Jastram (http://www.jastram.de, +49 (162) 274 83 94)
Geschäftsführer, Formal Mind GmbH (http://formalmind.com)
Wissenschaftler, Heinrich Heine Universität Düsseldorf (http://www.stups.uni-duesseldorf.de)
1. Vorsitzender, rheinjug e.V. (http://www.rheinjug.de)




Back to the top