Issue 1447: The defined_in relationship should be removed (boca-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Section 2.2.4 (BOCA Meta-Model in CDL) identifiable CorbaStruct:CorbaStructuredType{ }; identifiable CorbaStructureMember:StructuralFeature{ // [required] attribute CorbaStruct defined_in; relationship defined_in Uses 1..1 CorbaStruct; }; The problem and solution discussed in issue 18 applies here as well. However, in this case, the relationship is sort of redefined, but with a different name, with a simple Uses specifier, and as a one-way relationship (no inverse). This despite the fact that the corresponding UML diagram (section 5.3) specializes the Feature-FeatureOwner relationship. Recommendation: The defined_in relationship should be removed. CorbaStruct should redefine the has_feature relationship it inherits from FeatureOwner by adding a constraint saying that the relationship can be populated only with CorbaStructMember instances. CorbaStructMember should redefine the defines relationship it inherits from Feature by adding a constraint saying that the relationship can be populated only with a CorbaStruct instance. Resolution: Revised Text: CorbaStructuredType{ Actions taken: June 3, 1998: received issue Discussion: End of Annotations:===== *ISSUE 19* Section 2.2.4 (BOCA Meta-Model in CDL) identifiable CorbaStruct:CorbaStructuredType{ }; identifiable CorbaStructureMember:StructuralFeature{ // [required] attribute CorbaStruct defined_in; relationship defined_in Uses 1..1 CorbaStruct; }; The problem and solution discussed in issue 18 applies here as well. However, in this case, the relationship is sort of redefined, but with a different name, with a simple Uses specifier, and as a one-way relationship (no inverse). This despite the fact that the corresponding UML diagram (section 5.3) specializes the Feature-FeatureOwner relationship. Recommendation: The defined_in relationship should be removed. CorbaStruct should redefine the has_feature relationship it inherits from FeatureOwner by adding a constraint saying that the relationship can be populated only with CorbaStructMember instances. CorbaStructMember should redefine the defines relationship it inherits from Feature by adding a constraint saying that the relationship can be populated only with a CorbaStruct instance