Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » *ToEcore: How to create primitive types(*ToEcore: How to create primitive types)
*ToEcore: How to create primitive types [message #648676] Thu, 13 January 2011 22:38 Go to next message
André B hlke is currently offline André B hlkeFriend
Messages: 14
Registered: July 2010
Junior Member
Hello,

I have a problem creating primitive type in my ATL transformation from a MoDisco Java model to Ecore. The transformation works so far, but I can't create type references to EInt, EString etc.

The following doesn't work:

rule IntToEcore {
	from
		type : AST!Type (
			type.oclIsTypeOf(AST!PrimitiveTypeInt)
		)
	to
		ecoreInt : Ecore!EInt
}


Thanks for the help!

Regards,

André
Re: *ToEcore: How to create primitive types [message #649620 is a reply to message #648676] Wed, 19 January 2011 22:33 Go to previous message
André B hlke is currently offline André B hlkeFriend
Messages: 14
Registered: July 2010
Junior Member
There are already threads about this topic, sorry. I didn't find the thread when I searched for the first time...

[Updated on: Wed, 19 January 2011 22:34]

Report message to a moderator

Previous Topic:[ATL] Problem when transforming a model stored in a .uml file into another model
Next Topic:Couldn't find operation "!=(Void)" for stereotype's property
Goto Forum:
  


Current Time: Sun Aug 25 05:41:41 GMT 2019

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

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

Back to the top