Re: JMIUNDO SPI 0.2

Brian Smith <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Organization CollabNet Hosting
Message-ID <[email protected]>
Holger Krug wrote:
> On Fri, Jun 28, 2002 at 12:53:27PM -0500, Brian Smith wrote:
> 
>>My understanding is that all datatypes, including CollectionType 
>>instances, are immutable.
> 
> From where did you take this understanding ? My sources are:

Somebody told me so? :) Seriously, I thought that somebody told me so 
but I don't remember who so I could very well be wrong. But, if you 
think about the Corba mapping of MOF, it would be basically impossible 
to implement mutable CollectionTypes. The reason is the MOF 
implementation wouldn't have any way of knowing if you change any 
element. So, basically, with the Corba mapping you _might_ be able to 
get "copy" semantics.

But, to get a definitive answer, we should ask Martin or another MOF RTF 
member.

> to have. On the other hand interactive applications would have to add a
> layer on top of the meta-data repository to allow the user to modify
> attribute values.

Yes, this is one of the reasons that we shouldn't use StructureTypes.

- Brian
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.