Skip to main content



      Home
Home » Modeling » UML2 » package and ownedMembers
package and ownedMembers [message #476210] Tue, 25 September 2007 07: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 09:05 Go to previous message
Eclipse UserFriend
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 09:05 Go to previous message
Eclipse UserFriend
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 Jul 08 18:33:45 EDT 2025

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

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

Back to the top