Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Sandro Gava

Pages: [1]
General Board / Re: Containers for 1..n relationships
« on: November 11, 2002, 09:40:55 am »
I usually generate java code from diagrams and it seems to work properly.
You can specify a global setting in "View > Options > Java specification" or for a single Class (the class that has multiplicity 1 in the 1-to-many relationship) and it will work.
Hope this helps.


General Board / Re: Generating get/set for associations in java
« on: November 06, 2002, 04:06:01 am »

If you  have an 1-to-1 association, there is a way to solve your problem: I find that if I add an attribute (and set the property flag) with the same name of the association target role, EA will generate the right code.
This doesn't seem to work if the association is of type 1-to-many.  :(

Sandro Gava

Pages: [1]