Issue 1716: Multiplicities on Attributes and References modelled incorrectly (mof-rtf) Source: (, ) Nature: Revision Severity: Minor Summary: Summary: The current Model defines a "multiplicity" attribute on StructuralFeature which is then inherited by MofAttribute and Reference. There is also a Constraint that says that the multiplicity of a Reference must be the same as the multiplicity of the corresponding AssociationEnd. This modeling is incorrect, as it makes it duplicates information. In particular, the ReferenceClass::create_reference() operation requires an extra multiplicity parameter. What is really going here is that the multiplicity of a Reference is implied by the multiplicity of the corresponding AssociationEnd. Resolution: duplicate iswue....closed Revised Text: Actions taken: July 22, 1998: received issue July 24, 1998: closed issue Discussion: This is a duplicate of #Issue1711 Implementation: No action required (duplicate). Done [KR]. End of Annotations:===== Return-Path: Resent-Message-Id: <199807221129.VAA25758@piglet.dstc.edu.au> To: mof-rtf@omg.org Subject: Multiplicities on Attributes and References modelled incorrectly Date: Wed, 22 Jul 1998 15:07:36 +1000 From: Stephen Crawley Resent-To: issues@omg.org Resent-Date: Wed, 22 Jul 1998 21:29:40 +1000 Resent-From: Stephen Crawley Source: DSTC (Dr. Stephen Crawley, crawley@dstc.edu.au) Nature: Revision Severity: Minor The current Model defines a 'multiplicity' attribute on StructuralFeature which is then inherited by MofAttribute and Reference. There is also a Constraint that says that the multiplicity of a Reference must be the same as the multiplicity of the corresponding AssociationEnd. This modeling is incorrect, as it makes it duplicates information. In particular, the ReferenceClass::create_reference() operation requires an extra multiplicity parameter. What is really going here is that the multiplicity of a Reference is implied by the multiplicity of the corresponding AssociationEnd. The correct way to model this is to define separate 'multiplicity' attributes on MofAttribute and Reference. The 'multiplicity' attribute on MofAttribute is a "real" one. The 'multiplicity' attribute on MofAttribute is a derived one. I also noticed that the "modl" for Appendix B no longer matches the "idl" in Appendix A. It looks like some of the addenda changes to hand tweak the IDL were not propagated to the MODL.