Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Re: Primitive types
Re: Primitive types [message #477257] Tue, 15 April 2008 23:45 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Primitive types [message #477262 is a reply to message #477257] Thu, 17 April 2008 13:13 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Ed, C
Re: Primitive types [message #626419 is a reply to message #477257] Thu, 17 April 2008 13:13 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Ed, C
Previous Topic:List of UML2-compatible UML Tools
Next Topic:Resolving Elements in a different Resource
Goto Forum:
  


Current Time: Fri Apr 19 13:52:56 GMT 2024

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

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

Back to the top