Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumscreateAssociation
https://www.eclipse.org/forums/index.php/mv/msg/240671/726494/#msg_726494
Originally posted by: Emil Huseynli
Hi, here is a question about createAssociation method
Association createAssociation(boolean end1IsNavigable,
AggregationKind end1Aggregation,
java.lang.String end1Name,
int end1Lower,
int end1Upper,
Type end1Type,
boolean end2IsNavigable,
AggregationKind end2Aggregation,
java.lang.String end2Name,
int end2Lower,
int end2Upper)
What's the meaning of the end1Name and end2Name parameters? Are that
roles? Let's say, for example i have a Controls association, Department
controls Project. If i create an association with the method above, what
should i put into end1Name and end2Name? Is the following right?