Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Associte two links with two classes(Associte two links with two classes)
Associte two links with two classes [message #1247987] Sun, 16 February 2014 21:18 Go to next message
am gl is currently offline am glFriend
Messages: 1
Registered: February 2014
Junior Member
Hi,

my practice has got two classes (Action and ActivityEdge); theses clases are related with two associations (incoming and outgoing).
With the following code, it can make the assignment of the both associations:
operation bpmn!Event generarEventoIntermediate() : aduml!Action{
var nodeEvent = new aduml!Action;
...
nodeEvent.incoming = self.incoming;
nodeEvent.outgoing = self.outgoing;
...
}

but there is a problem, because if it's both assignment there is an internal error, but if only this one of the two assignment, the allocation is correct. I would like to know, how can do two assignment between two classes?

Thank you!
Re: Associte two links with two classes [message #1248386 is a reply to message #1247987] Mon, 17 February 2014 07:41 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 919
Registered: July 2009
Senior Member

Hi,

Could you please put together a minimal example [1] we can use to reproduce this?

Cheers,
Dimitris

[1] http://eclipse.org/epsilon/doc/articles/minimal-examples/
Previous Topic:Code generation
Next Topic:Issue with the definition of gmf.nodes
Goto Forum:
  


Current Time: Sun Dec 21 03:19:15 GMT 2014

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

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