[Uml-devel] import, How

asutton at cs.kent.edu asutton at cs.kent.edu
Fri Nov 7 07:29:16 UTC 2003

> On Fri, Nov 07, 2003 at 01:59:47PM +0100, Harald Wallus wrote:
>> ist it possible in the uml-modell to define import-statements?
>> I just try to create an example with the ozone-database. So I need  e.g.
>>  import org.OzoneDB.OzoneObject;
>> I tried to add packages in the same structure and to define an
>> assoziation.
>> But it didn't work.
>> Is there some posibilities to customize the code generation in that way,
>> that I can introduce makros or something like this?
>> Is it possible to add for each class an special header file.
> Unforutunatly this is not currently possible.  You can define a custom
> header for all classes but not individually.

i can't remember if there's an actual import association in uml, but its
semantically equivilant to a dependency stereotyped with <<import>>.

somebody could probably re-write the code generator to recognize that.


More information about the umbrello-devel mailing list