Skip to main content



      Home
Home » Modeling » UML2 » Re: Primitive types
Re: Primitive types [message #477257] Tue, 15 April 2008 19:45 Go to next message
Eclipse UserFriend
César,

It sounds like a UML question to me, so it's best to ask it on the UML
newsgroup, which I've added to the "to" list of the reply. If an
EDataType has a proper instanceClassName, like float, or int, that will
be used by the generator. Just have a look at the Ecore model itself at
things like EInt or EFloat as examples.


kaiserlautern wrote:
> Hi,
>
> I have a profile with some UML-inspired primitive types (like
> UnlimitedNatural, Real, etc.). However, when I generate the classes,
> there are many errors complaining about non-existing types. For the
> lack of a better idea, I tried to set up the "instanceClassName"
> attribute with an existing java primitive type, imagining that the
> generator would use the java types instead, but it did not work. So,
> my question is: how could I force the generator to replace model
> datatypes with "good" java types (for example, Integer for
> UnlimitedNatural, etc.)?
>
> Thanks for any clue,
>
> César
Re: Primitive types [message #477262 is a reply to message #477257] Thu, 17 April 2008 09:13 Go to previous message
Eclipse UserFriend
Hi Ed, C
Re: Primitive types [message #626419 is a reply to message #477257] Thu, 17 April 2008 09:13 Go to previous message
Eclipse UserFriend
Hi Ed, C
Previous Topic:List of UML2-compatible UML Tools
Next Topic:Resolving Elements in a different Resource
Goto Forum:
  


Current Time: Sun Aug 31 04:48:22 EDT 2025

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

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

Back to the top