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 Carton
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 bruck
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 bruck
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 Sep 02 21:21:29 GMT 2014

Powered by FUDForum. Page generated in 0.02604 seconds