Issue 17554: Allowed source and target elements on SpecRelationType level (reqif-rtf) Source: Fraunhofer FOKUS (Mr. Marc-Florian Wendland, marc-florian.wendland(at)fokus.fraunhofer.de) Nature: Revision Severity: Minor Summary: Currently, any SpecObject can be associated with any other SpecObject by using a SpecRealtion. Even though this is very generic and flexible, it is prone to erros, since the user is not restricted by the type of a SpecObject that can be used as source or target element for SpecRelation. So, subsequent tasks have always to ensure that only allowed SpecObject can be linked with each other. Unfortunately, it is not possible to deposit the knowledge about what SpecObjects are allowed in the model itself. This situation can easily mitigated by adding a sourceType and targetType association to SpecRelationType. Further more, a constraint on SpecRelation must be defined that ensures that the only SpecObjects are linked as source and/opr target that adhere to the SpecRelationType source and target. Resolution: Revised Text: Actions taken: August 28, 2012: received issue Discussion: An implementation of the above requirements would require a change to the ReqIF model. The impact of such a change on the existing ReqIF implementations is unclear and needs further analysis. The ReqIF1.1 RTF, including the issue’s author Marc-Florian Wendland, agreed that changes to the ReqIF model should currently be omitted for standard stability. Parts of the requested functionality can already be achieved using the ReqIF1.0.1 standard: by using two Specification instances, each instance referencing only SpecObjects of one SpecObjectType, and then using a RelationGroup with a sourceSpecification attribute and targetSpecification pointing to the above Specification instances. The SpecRelation instances referenced by that RelationGroup instance are thereby constrained to use only SpecObject elements from the above Specification instances. This issue will be reconsidered in a future RTF. Disposition: Deferred End of Annotations:===== m: webmaster@omg.org Date: 20 Aug 2012 03:04:48 -0400 To: Subject: Issue/Bug Report ******************************************************************************* Name: Marc-Florian Wendland Employer: Fraunhofer FOKUS mailFrom: marc-florian.wendland@fokus.fraunhofer.de Terms_Agreement: I agree Specification: ReqIF Section: 10.4 FormalNumber: formal/2011-04-02 Version: 1.0.1 Doc_Year: 2011 Doc_Month: April Doc_Day: 02 Page: 32f. Title: Allowed source and target elements on SpecRelationType level Nature: Revision Severity: Minor CODE: 3TMw8 B1: Report Issue Description: Currently, any SpecObject can be associated with any other SpecObject by using a SpecRealtion. Even though this is very generic and flexible, it is prone to erros, since the user is not restricted by the type of a SpecObject that can be used as source or target element for SpecRelation. So, subsequent tasks have always to ensure that only allowed SpecObject can be linked with each other. Unfortunately, it is not possible to deposit the knowledge about what SpecObjects are allowed in the model itself. This situation can easily mitigated by adding a sourceType and targetType association to SpecRelationType. Further more, a constraint on SpecRelation must be defined that ensures that the only SpecObjects are linked as source and/opr target that adhere to the SpecRelationType source and target.