Book a Demo

Author Topic: Generating IDL from UML  (Read 2697 times)

jacksko

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Generating IDL from UML
« on: August 09, 2008, 12:19:06 am »
Hi,

I am using the MDG plugin for CORBA to generate IDL from my UML model but come against some problems getting the associations to be translated properly.

I have two structs (let's say Person and House connected with an aggregation. The aggregation is named owns at the House end). Now when I want to generate IDL, I want to get

struct Person {
House owns;
};

However when I generate IDL using the MDG I just get

struct A {
}

Does the MDG CORBA tech support translation of aggregations like that, or do I have to model this using attributes, i.e. not using an aggregation.

Any help would be appreciated,

Jacksko

jacksko

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Generating IDL from UML
« Reply #1 on: August 09, 2008, 12:20:41 am »
Small mistake, the actual generated code now is

struct Person {
}

Still, the aggregation is not translated...

Cheers,

Jacksko