Book a Demo

Author Topic: Instances of elements  (Read 3643 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Instances of elements
« on: October 24, 2014, 08:22:59 pm »
Hi,

I have a library of 'components'. I have multiple views (diagrams) to which I add instances of the components and form relationships between them. Each view shows an alternate implementation. One of the views will be selected as the target. At this point i'd like to add the relationships formed between the instances on the chosen view to/between their underlying instance classifiers.

Is there a way to do this automatically in Sparx ?

Regards,

Jon.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Instances of elements
« Reply #1 on: October 24, 2014, 08:33:56 pm »
Not trivial, I'd say. You need to find out the instances which "can" be done via a SQL, but again not a trivial one. Probably you're better served with a little script to sort out the instances.

q.

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Re: Instances of elements
« Reply #2 on: October 24, 2014, 09:50:07 pm »
Yes that's what I thought. Just wanted to make sure I hadn't missed a mystery feature before I started coding.

Thanks

Jon