Book a Demo

Author Topic: Referencing data in 1 eap file from another eap  (Read 2624 times)

Priyajeet

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Referencing data in 1 eap file from another eap
« on: August 11, 2006, 11:45:57 am »
Is it possible (and if yes - how) to reference data from another EAP file into an existing EAP file.

Say I have 1.eap that has a class Person. Now this person might have two attributes - HomeAddress, BusinessAddress.

Say I have 2.eap that has a class Address.

Is it possible to reference that Address type from 2.eap and apply it to the attributes of 1.eap? Howto?

Stuff like that. Referencing external data. Joiing use of multiple eap files created by different people.

Thanks much.
« Last Edit: August 11, 2006, 11:46:36 am by Priyajeet »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Referencing data in 1 eap file from another ea
« Reply #1 on: August 11, 2006, 03:00:19 pm »
No, you cannot reference an item in another project file directly. However, you can always create a package in the referencing project and copy over the necessary items - with as much structure as required. The foreign items can now be referenced.

Take a look at the Import (and Export) Package to XMI functions. This is the way to go.

You will be left with the problem of duplicate maintenance. When you change items in the referenced project, you will need to propagate the changes to projects that make references. EA may be able to help you a bit there. At the very least look into controlled packages.

HTH, David
No, you can't have it!