Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Annotation to cause package import
Annotation to cause package import [message #1041700] Mon, 15 April 2013 12:31
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
In my model I have an operation with a body that uses a
GregorianCalendar (image attached). The generated code is fine except
that there is no import at the beginning of the file, so this method has
an error that I have to manually fix by importing GregorianCalendar.

How can I annotate the model for such a simple thing as making sure that
the generator generates the following in its list of imports?

import java.util.GregorianCalendar;

Thanks for any assistance.

- Mike
  • Attachment: model.tiff
    (Size: 26.20KB, Downloaded 102 times)
Previous Topic:Equality, hashcodes, EMF and Hibernate
Next Topic:Annotation to cause package import
Goto Forum:
  


Current Time: Thu Apr 25 14:13:06 GMT 2024

Powered by FUDForum. Page generated in 0.02659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top