You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you replace a requirement instance with another, if this requirement is the target of one or more AwReq, the target reference in these AwReqs should be updated, because this association is not bidirectional.
Recently, all requirement replacement code has been moved from the repository service (it.unitn.disi.zanshin.internal.services.RepositoryService) to the EMF classes themselves (RequirementImpl, SoftgoalImpl, QualityConstraintImpl and AwReqImpl in package it.unitn.disi.zanshin.model.gore.impl, plus class it.unitn.disi.zanshin.model.eca.impl.EcaAwReqImpl) to follow a more object oriented approach to the problem (see the issue's first comment). However, the code that does the aforementioned AwReq target replacement is still in the repository.
To close this issue, figure out a way to move this code to the EMF classes themselves and do it.
The text was updated successfully, but these errors were encountered:
property in the Scalability Simulation's controller; and (2) related to
issue #3: moved the requirement replacing code to the EMF classes, but
AwReq target updating is still in the repository.
longer contained in the GoalModel, but use the parent-child association
inherited from the Requirement ECLass to be inserted in the model.
This was done to avoid two containment associations, which was causing a
bug: whenever one was set to null, so was the other. There is still one
last double containment: the root goal. It shouldn't cause bugs if we
don't replace the root goal, which should be rare. Still this could be
fixed, maybe in the context of issue #3 ?
When you replace a requirement instance with another, if this requirement is the target of one or more AwReq, the target reference in these AwReqs should be updated, because this association is not bidirectional.
Recently, all requirement replacement code has been moved from the repository service (
it.unitn.disi.zanshin.internal.services.RepositoryService
) to the EMF classes themselves (RequirementImpl
,SoftgoalImpl
,QualityConstraintImpl
andAwReqImpl
in packageit.unitn.disi.zanshin.model.gore.impl
, plus classit.unitn.disi.zanshin.model.eca.impl.EcaAwReqImpl
) to follow a more object oriented approach to the problem (see the issue's first comment). However, the code that does the aforementioned AwReq target replacement is still in the repository.To close this issue, figure out a way to move this code to the EMF classes themselves and do it.
The text was updated successfully, but these errors were encountered: