Book a Demo

Author Topic: Use Case Composite  (Read 3929 times)

Daniel Temby

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Use Case Composite
« on: April 17, 2008, 04:43:24 pm »
Hi,

Through the autmation interface:

I have created a sequence diagram for each of my use cases.  Each sequence diagram has the Use Case as its parent element.

I then set the subtype of the UseCase to 8 in an attempt to make it a composite.

What am I missing? As this does not seem to work vi automation, if I use Advanced->Make Composite via the GUI everything works fine and as far as I can see the only database change made by EA is to set the subtype of the UseCase element to 8

Daniel Temby

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Use Case Composite
« Reply #1 on: April 17, 2008, 05:50:58 pm »
I found part of the answer, EA adds an entry to the xref table to link the composite use case with its diagram.

Unfortunately there doesn`t seem to be a way to add to the xref table through the automation interface.

Any ideas ????

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Use Case Composite
« Reply #2 on: April 17, 2008, 09:43:11 pm »
You will probably have to do this via a direct OLEDB connection to the database. Be careful and you will probably be OK.

Search the forum for any additional help on opening the database. This has been covered in detail several times. [Although the documentation is good enough if you've got experience in this area.]

David
No, you can't have it!

thomas.kilian

  • Guest
Re: Use Case Composite
« Reply #3 on: April 17, 2008, 10:26:43 pm »
Which is honestly scrap by design. Why have an API if you're force to fiddle with the database in the end?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Use Case Composite
« Reply #4 on: April 17, 2008, 11:39:48 pm »
But if this were improved, even a tiny bit, we'd have less to complain about. How would we fill the empty hours?

David   :-X
No, you can't have it!