Skip to main content



      Home
Home » Eclipse Projects » Gendoc » Displaying association ends
Displaying association ends [message #1710248] Mon, 05 October 2015 09:58 Go to next message
Eclipse UserFriend
Hi,

I would like to display association ends.

I would have a question related to this.

The navigable end of the association is marked as owner=classifier.

When looping through the properties of the classifier class, it is displayed as an attribute which is good, but I would like to display this association end also in the association itself.
How can I do that?

Thanks and regards,

Marc
Re: Displaying association ends [message #1710263 is a reply to message #1710248] Mon, 05 October 2015 11:18 Go to previous messageGo to next message
Eclipse UserFriend
What do you mean by "to display this association end also in the association itself" ?

from an association to get the ends : memberEnds property

to get Associations from a class : aClass.getAssociations()
Re: Displaying association ends [message #1710278 is a reply to message #1710263] Mon, 05 October 2015 12:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

I meant the fist statement: from an association, get the ends.
I tried as.memberEnds, but this generates an error.

Best regards,

Marc
Re: Displaying association ends [message #1710333 is a reply to message #1710278] Tue, 06 October 2015 03:20 Go to previous messageGo to next message
Eclipse UserFriend
Sorry I meant memberEnd property (without the "s")
Re: Displaying association ends [message #1710411 is a reply to message #1710333] Tue, 06 October 2015 09:24 Go to previous message
Eclipse UserFriend
Thanks, Tristan, it works fine.
Previous Topic:Checking for empty list of stereotypes
Next Topic:Maven/Tycho plugin
Goto Forum:
  


Current Time: Mon Jul 07 13:06:01 EDT 2025

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

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

Back to the top