Book a Demo

Author Topic: Associations and "Aggregate option"  (Read 2595 times)

mmrack

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Associations and "Aggregate option"
« on: October 29, 2004, 05:43:52 pm »
In a trivial bidirectional one to many relationship between "Car" and "Wheel", the "Car" have one attribute named "wheels" that is a "java.util.List" of wheels and "Wheel" have one attribute named "owner" that is the "Car" where wheels are installed.
This works fine and a correct code is generated.
But, when I edit this association (Association Link) and set Aggregate Option with "shared" or "composite", the "owner" attribute is not generated in "Wheel" class.
What's is happening?