Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » package and ownedMembers
package and ownedMembers [message #476210] Tue, 25 September 2007 11:04 Go to next message
Eclipse UserFriend
Originally posted by: nickkirtley.gmail.com

Hi,

I want to create a group. Which means that it's the same as package except
that it does not own the members and that all it's members are components.

In the UML superstructure it says the following:
A package owns its owned members, with the implication that if a package
is removed from a model, so are the elements owned by the package.

Is it possible to assign elements to a package and that it does not own
them, and thus not delete them when the package is deleted? This basically
means that group imports the members, and doesn't own them.

regards

Nick
Re: package and ownedMembers [message #476211 is a reply to message #476210] Tue, 25 September 2007 13:05 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Nick,

I suppose you could accomplish this by creating a package and importing (via
element imports) all the elements that are part of the "group". Note that
imported elements are considered part of the namespace for a package - they
are imported (not owned) members.

Kenn

"nick kirtley" <nickkirtley@gmail.com> wrote in message
news:ba1d9b289c9309fae937e788d2f90659$1@www.eclipse.org...
> Hi,
>
> I want to create a group. Which means that it's the same as package except
> that it does not own the members and that all it's members are components.
>
> In the UML superstructure it says the following:
> A package owns its owned members, with the implication that if a package
> is removed from a model, so are the elements owned by the package.
>
> Is it possible to assign elements to a package and that it does not own
> them, and thus not delete them when the package is deleted? This basically
> means that group imports the members, and doesn't own them.
>
> regards
>
> Nick
>
Re: package and ownedMembers [message #624999 is a reply to message #476210] Tue, 25 September 2007 13:05 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Nick,

I suppose you could accomplish this by creating a package and importing (via
element imports) all the elements that are part of the "group". Note that
imported elements are considered part of the namespace for a package - they
are imported (not owned) members.

Kenn

"nick kirtley" <nickkirtley@gmail.com> wrote in message
news:ba1d9b289c9309fae937e788d2f90659$1@www.eclipse.org...
> Hi,
>
> I want to create a group. Which means that it's the same as package except
> that it does not own the members and that all it's members are components.
>
> In the UML superstructure it says the following:
> A package owns its owned members, with the implication that if a package
> is removed from a model, so are the elements owned by the package.
>
> Is it possible to assign elements to a package and that it does not own
> them, and thus not delete them when the package is deleted? This basically
> means that group imports the members, and doesn't own them.
>
> regards
>
> Nick
>
Previous Topic:package and ownedMembers
Next Topic:org.eclipse.ocl.uml.impl.BagTypeImpl not contained in the resource
Goto Forum:
  


Current Time: Tue Apr 23 06:44:11 GMT 2024

Powered by FUDForum. Page generated in 0.04480 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top