Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Extending Association with Profile
Extending Association with Profile [message #471639] Wed, 14 March 2007 02:54 Go to next message
Andrew Carton is currently offline Andrew CartonFriend
Messages: 104
Registered: July 2009
Senior Member
Hi,

Firstly, I am using a lightweight extension profile for UML. I wish to
create a n-ary multi-navigable association with endpoints to the same
types, including a stereotype extension to a package. I tried extending
Association first, but this doesn't allow me to associate the endpoint
with a package. I also tried a DirectedRelationship - this would be
perfect but the problem is I can't instantiate it in the UML editor
because it is abstract, so I can't apply a stereotype with it. Does
anyone have any suggestions of any other constructs that may help or
know how to do this?

Thanks,
ac
Re: Extending Association with Profile [message #471640 is a reply to message #471639] Wed, 14 March 2007 13:58 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Andrew,

How about a Dependency? It's tough to say whether using an association in
some cases and other form of directed relationship in others cases makes
more sense than always using a dependency without understanding the problem
you are trying to solve.

Cheers,

- James.


"Andrew Carton" <cartona@cs.tcd.ie> wrote in message
news:et7o4e$hek$1@utils.eclipse.org...
> Hi,
>
> Firstly, I am using a lightweight extension profile for UML. I wish to
> create a n-ary multi-navigable association with endpoints to the same
> types, including a stereotype extension to a package. I tried extending
> Association first, but this doesn't allow me to associate the endpoint
> with a package. I also tried a DirectedRelationship - this would be
> perfect but the problem is I can't instantiate it in the UML editor
> because it is abstract, so I can't apply a stereotype with it. Does
> anyone have any suggestions of any other constructs that may help or
> know how to do this?
>
> Thanks,
> ac
Re: Extending Association with Profile [message #598475 is a reply to message #471639] Wed, 14 March 2007 13:58 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Andrew,

How about a Dependency? It's tough to say whether using an association in
some cases and other form of directed relationship in others cases makes
more sense than always using a dependency without understanding the problem
you are trying to solve.

Cheers,

- James.


"Andrew Carton" <cartona@cs.tcd.ie> wrote in message
news:et7o4e$hek$1@utils.eclipse.org...
> Hi,
>
> Firstly, I am using a lightweight extension profile for UML. I wish to
> create a n-ary multi-navigable association with endpoints to the same
> types, including a stereotype extension to a package. I tried extending
> Association first, but this doesn't allow me to associate the endpoint
> with a package. I also tried a DirectedRelationship - this would be
> perfect but the problem is I can't instantiate it in the UML editor
> because it is abstract, so I can't apply a stereotype with it. Does
> anyone have any suggestions of any other constructs that may help or
> know how to do this?
>
> Thanks,
> ac
Previous Topic:Extending Association with Profile
Next Topic:Unable to resolve applicable stereotype
Goto Forum:
  


Current Time: Tue Apr 23 05:29:51 GMT 2024

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

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

Back to the top