Book a Demo

Author Topic: Association always create attributes?  (Read 3400 times)

doc_bobo

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Association always create attributes?
« on: June 19, 2002, 07:14:28 am »
I have currently modelled associations between some interface to express the intended relationship between implementing classes. Unfortunately, it seems as if the Java Code generator will always add private variables to some of the interfaces (based on the association).

How do I turn this off? (It's not an aggregation or composition, just an association ...)

Dennis

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Association always create attributes?
« Reply #1 on: June 20, 2002, 05:44:43 am »
Hi,

As far as I know, aggration, composition and association should turn in the same piece of code (as it does now). I think it would be better if you would use an dependency instead of an association.

grtz,
Dennis