Requirement Models

Hello,

When I need to know Requirement Models of a particular model element (e.g. for showing requirements, that it satisfies) there are no references to it and I have to search whole project to find them. It’s not very difficult, but quite timeconsuming. Could you add something like IModelElement.requirementModelIterator()?

Hi Jacenty,

Sorry but we do not quite get. Currently we do not support model reference. In other words, there is not way to associate a model with Requirement. May I know more about your need?

Best regards,
Jick

Hi Jick,

Consider we have a particular RequirementModel and particular class:


IRequirementModel reqModel = ...;
IClass cl = ...;

I’m assigning a class to RequirementModel:

reqModel.setModel(cl);

I can obtain a class using getModel() method:

cl = reqModel.getModel();

But I can’t obtain a RequirementModel, if I have a class.

Regards,
Jacek

Hello Jacenty,

We will fix this problem in service pack 2.

Best regards,
Jick

Hello Jacenty,

Service Pack 2 is released.

Best regards,
Jick