simonjwright / coldframe

ColdFrame generates Ada framework code and documentation from UML models.
https://simonjwright.github.io/coldframe
GNU General Public License v2.0
8 stars 1 forks source link

Using another class as a parameter or result #23

Open simonjwright opened 1 year ago

simonjwright commented 1 year ago

This arose with SF bug 79, no longer visible, but traces visible in the SF_Bug_79 domain in Regressions.uml.

The fix there is very clumsy.

A better fix would generate with {Domain}.{Class}; in the using class’s package spec, and {Class}.Handle in its subprograms.

The second part is easy, but the first part would need a lot more work; and, interactions with other classes should be managed via relationships!