Issue 2877: Section 5-54 of Meta Object Facility (MOF) Specification (mof-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: The Class Proxy template specifies that the types of all_of_type_<class_name> and all_of_class_<class_name> are to be <ClassName>Set. Yet Section B the MOF interfaces are defined to use <ClassName>UList for the types of all_of_type and all_of_class. Which return type is correct? Resolution: Revised Text: For each subsection 3.4.x that describes a class in the MOF Model, change the IDL as follows: readonly attibute <ClassName>UList all_of_type_tag; readonly attibute <ClassName>UList all_of_class_tag; becomes readonly attibute <ClassName>Set all_of_type_tag; readonly attibute <ClassName>Set all_of_class_tag; Make the same change throughout Appendix B.1 Actions taken: August 31, 1999: received issue December 3, 2001: closed issue Discussion: The template is correct, and the class proxy IDL in Section 3.4.* and Appendix B is incorrect. The spec says that there is no meaningful ordering on the "all_of_*" collections. Therefore the IDL should use the typedef for sets rather than those for unique lists / ordered sets. Note: this doesn't change the effective signature of the interfaces in question because <ClassName>UList and <ClassName>Set are both aliases for "sequence < <ClassName> >". End of Annotations:===== X-Sender: psimpson#objectrad.com@192.168.2.2 X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 31 Aug 1999 17:58:07 -0700 To: mof-rtf@omg.org From: Patrick A Simpson Subject: Section 5-54 of Meta Object Facility (MOF) Specification version 1.3 RTF Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-UIDL: 753f50e17449e96e72872ea81f18a640 The Class Proxy template specifies that the types of all_of_type_ and all_of_class_ are to be Set. Yet Section B the MOF interfaces are defined to use UList for the types of all_of_type and all_of_class. Which return type is correct? Patrick A Simpson Object Radiance Inc. psimpson@objectrad.com X-Mailer: exmh version 2.0.2 2/24/98 To: Patrick A Simpson cc: mof-rtf@omg.org, crawley@dstc.edu.au Subject: Re: Section 5-54 of Meta Object Facility (MOF) Specification version 1.3 RTF In-reply-to: Your message of "Tue, 31 Aug 1999 17:58:07 MST." <3.0.6.32.19990831175807.00968590@192.168.2.2> Mime-Version: 1.0 Date: Wed, 01 Sep 1999 11:27:53 +1000 From: Stephen Crawley Content-Type: text/plain; charset=us-ascii X-UIDL: f62b830642b48beddd0a59d0685124f6 > The Class Proxy template specifies that the types of > all_of_type_ and all_of_class_ are to > be Set. Yet Section B the MOF interfaces are defined to > use > UList for the types of all_of_type and all_of_class. > Which return type is correct? Patrick, I think that the type should be "Set". These collections are not defined in the spec to have an implicit ordering. -- Steve X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: mof-rtf@omg.org Subject: Re: 2877: Section 5-54 of Meta Object Facility (MOF) Specification Mime-Version: 1.0 Date: Wed, 13 Jun 2001 12:30:57 +1000 From: Stephen Crawley X-Scanned-By: MIMEDefang 1.0 (http://www.roaringpenguin.com/mimedefang/) Content-Type: text/plain; charset=us-ascii X-UIDL: 3iQ!!H$*!!;p_!![[ld9 > Nature: Uncategorized Issue > Severity: > Summary: The Class Proxy template specifies that the types of > all_of_type_ and all_of_class_ are to be > Set. Yet Section B the MOF interfaces are defined to > use UList for the types of all_of_type and all_of_class. > Which return type is correct? Proposed Resolution: The template is correct, and the class proxy IDL in Section 3.4.* and Appendix B is incorrect. The spec says that there is no meaningful ordering on the "all_of_*" collections, so they should use the typedefs for sets rather than those for unique lists / ordered sets. Note that this doesn't change the effective signature of the interfaces in question because UList and Set are both aliases for "sequence < >". Proposed Revised Text: For each subsection 3.4.x that describes a class in the MOF Model, change the IDL as follows: readonly attibute UList all_of_type_tag; readonly attibute UList all_of_class_tag; becomes readonly attibute Set all_of_type_tag; readonly attibute Set all_of_class_tag; Make the same change throughout Appendix B.1 -- Steve