Author Topic: How to convert an Attribute to an Association  (Read 213 times)

yee

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to convert an Attribute to an Association
« on: January 28, 2008, 12:01:04 am »
Hi,

I use the import source function to import some java classes. EA extracted an attribute like the following:

invoiceItems: Set<InvoiceItem> = new HashSet<InvoiceItem>()

This is actually a 0..* association to the InvoiceItem class.

How do I convert this to an assocation?
Is there a way to model this line, including the initializer, with an association?

Thanks
Yee