Issue 2881: Constraints on Associations. (mof-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: The IDL mapping template for Associations in 5.8.10 of MOF 1.3 does not produce constraint string declarations for Constraints contained by Associations. Resolution: see above Revised Text: Change section 5.8.10 as follows: Insert the following as the last sentence of the first paragraph: "It also contains IDL declarations corresponding to any Constraints in the M2-level Association." Insert the following after ", <AssociationSupertypeName>, ... {" // for each Constraint in the Association, generate the appropriate IDL <<CONSTRAINT TEMPLATE>> Note that the use of underlines and bold is SIGNIFICANT in the above edit ... Actions taken: September 8, 1999: received issue December 3, 2001: closed issue Discussion: This is indeed a "hole" in the IDL mapping, albeit a minor one, and easy to fix. For scoping reasons, the constraints need to go into the <AssociationName> interface. Note: this does not effect the MOF Model IDL, since the MOF Model has no constraints on any of its associations. For meta-models that do have constraints on associations, this simply adds some IDL constant declarations which should not affect signatures. End of Annotations:===== X-Mailer: exmh version 2.0.2 2/24/98 To: mof-rtf@omg.org cc: issues@omg.org Subject: Constraints on Associations. Mime-Version: 1.0 Date: Wed, 08 Sep 1999 11:21:16 +1000 From: Stephen Crawley Content-Type: text/plain; charset=us-ascii X-UIDL: 9c998c7a5aae6298c3692f1cb52fe059 The IDL mapping template for Associations in 5.8.10 of MOF 1.3 does not produce constraint string declarations for Constraints contained by Associations. Discussion: The obvious fix is to have the template generate the strings for all Constraints contained an Association inside the corresponding interface. X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: mof-rtf@omg.org Subject: Re: Issue 2881: Constraints on Associations. Mime-Version: 1.0 Date: Wed, 13 Jun 2001 13:40:35 +1000 From: Stephen Crawley X-Scanned-By: MIMEDefang 1.0 (http://www.roaringpenguin.com/mimedefang/) Content-Type: text/plain; charset=us-ascii X-UIDL: gC1e9gSFe9+9Le9M(Pd9 > Nature: Uncategorized Issue > Severity: > Summary: The IDL mapping template for Associations in 5.8.10 of MOF > 1.3 > does not produce constraint string declarations for Constraints > contained > by Associations. Proposed Resolution: This is a "hole" in the IDL mapping, albeit a minor one, and easy to fix. For scoping reasons, the constraints need to go into the interface. Note: this does not effect the MOF Model IDL, since the MOF Model has no constraints on any of its associations. For meta-models that do have constraints on associations, this simply adds some IDL constant declarations which should not affect signatures. Proposed Revised Text: Change section 5.8.10 as follows: Insert the following as the last sentence of the first paragraph: "It also contains IDL declarations corresponding to any Constraints in the M2-level Association." Insert the following after ", , ... {" // for each Constraint in the Association, generate the appropriate IDL <>