Book a Demo

Author Topic: Import Attributes and Operations  (Read 3050 times)

Greg_White

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Import Attributes and Operations
« on: June 15, 2006, 02:31:52 am »
I am a new user of EA.  We are developing a project with a large number of classes.  

Is there a way to import attributes and operations for classes?  If so, how is this done?

We'd also like to be able to export existing ones, make bulk changes to names, notes, type, etc and reimport.

Thanks

thomaskilian

  • Guest
Re: Import Attributes and Operations
« Reply #1 on: June 15, 2006, 03:19:03 am »
How do you intend to import them? From code or from a list?

Greg_White

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import Attributes and Operations
« Reply #2 on: June 15, 2006, 03:23:54 am »
I was hoping to be able to create the data in a spreadsheet (csv) and import the bulk entries?

thomaskilian

  • Guest
Re: Import Attributes and Operations
« Reply #3 on: June 15, 2006, 05:22:55 am »
This is simple. See Project/"Import/Export"/"CSV Import/Export...".

Greg_White

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Import Attributes and Operations
« Reply #4 on: June 15, 2006, 05:50:15 am »
Thanks Thomas.

I tried that.  It created a 'csv' file but it only has records the classes in the package.  There are not records for the attributes (properties) or operations (methods)?

What have I done wrong?

thomaskilian

  • Guest
Re: Import Attributes and Operations
« Reply #5 on: June 15, 2006, 08:06:48 am »
Ops. I did (again) not read carefully. If you also need to import the attributes/operations then there is probably no way around either using XMI or using the automation interface. It's not too hard to do this via automation, so I probably would prefer this way. XMI creation out of the blue does not seem so promising to me...