Author Topic: Accessing Inner Classes via AI  (Read 6754 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Accessing Inner Classes via AI
« on: July 19, 2005, 02:33:15 pm »
HI,

A (admittedly quick) perusal of the EA Help and a search of this forum doesn't show how to access inner classes via the Automation Interface.  I can get them OK with the CTF, but I'm now moving on to the AI.

Can anyone help?

Cheerz.
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Accessing Inner Classes via AI
« Reply #1 on: July 19, 2005, 03:30:32 pm »
You'll need to find everything:
  • that is on the source end of a nesting connector (that the current element is on the target end of)
  • in the current package that has its ParentID equal to the current class ElementID.
Simon

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Accessing Inner Classes via AI
« Reply #2 on: July 19, 2005, 03:59:19 pm »
Quote
You'll need to find everything:
  • that is on the source end of a nesting connector (that the current element is on the target end of)
  • in the current package that has its ParentID equal to the current class ElementID.
Simon
Thanks, Simon.
That's hat I figured, but I thought I'd ask if there was an easier way, since the CTF makes it relatively easy...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Accessing Inner Classes via AI
« Reply #3 on: July 19, 2005, 04:03:01 pm »
Sounds like the dreaded n-recursive parts explosion (BOM) query to me.  I do have a template for this somewhere if you can wait somewhere between 24 hours and armageddon-cometh for me to find it.

bruce
« Last Edit: July 19, 2005, 04:04:42 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Accessing Inner Classes via AI
« Reply #4 on: July 19, 2005, 04:30:05 pm »
Quote
Sounds like the dreaded n-recursive parts explosion (BOM) query to me.  I do have a template for this somewhere if you can wait somewhere between 24 hours and Armageddon-cometh for me to find it.

bruce
Hi bruce,
If it's a coding template then I'm very interested.  If it's a CTF template, then I'm still interested, but no hurry.  I'm already generating one level of InnerClass via the CTF.

As I said in the first post, I'm moving past CTF, having used it to establish the XML (defined by the XSD I've created) can be emitted from EA.  Since CTF won't emit everything I need, I'm going to AI.

Cheerz,
Paolo
« Last Edit: July 19, 2005, 04:30:37 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!