Re: writing collection of refobjects through xmiwriter

Daniel Prusa <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.devel
Message-ID <[email protected]>
If you split outermost objects in repository into several collections and write
each collection to a different file using write(collection) method, then you
will loose links linking objects across the collections.

We plan to add some support for writting in multiple files (not based on
write(collection) method). We send a proposal when it is ready.

Daniel

> Does that mean, that when writing a repository, through the write
> (collection) method, I can never be sure that all links are written? This
> gets imported when we want to write a repository in multiple files.
>
> In our case, probably not that important because our associations always
> have references.
>
> Ronald
>
> -----Original Message-----
> From: Daniel Prusa [mailto:[email protected]]
> Sent: Tuesday, July 23, 2002 11:01 AM
> To: [email protected]
> Subject: Re: writing collection of refobjects through xmiwriter
>
> > How is it written exactly? A link can be in different namespace as the
> > objects they link?
> >
> > If I want to serialize all RefObjects within a namespace, I will also get
> > the links between those RefObjects, while these links can be defined in a
> > different namespace.
>
> Yes, if there are RefObjects that are instances of class C and links linking
> these objects, where the association related to these links is A, then A can
> be
> possibly defined in a different package than C. (I hope I have interpreted
> your
> description correctly ...)
>
> Daniel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
> --
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
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.