| extending Xpand models [message #516283]
||Tue, 23 February 2010 13:50
Registered: February 2010
I'm currently trying to see what it is possible to do using Xpand + MWE + Xtext (and ecore), and if I can use it for my intership.|
So I've got a question, as I can't find exactly what is possible and what is not
My point is to create databases, creating first a generic metamodel for a database, and using a more specific model for each database I'll have to create.
I want to generate API for those specific models automaticly, in any langage (providing I have the needed template, of course).
So there are my questions :
Can a model refer to another model, extending it ?
Can I do recursive extending, having a model refer to a model that refers to a model and so on ?
Can i redefine types ?
As in a "age" type, on which I define constraints (obviously an non-negative int).
Can I than use it as a simple type to classes, as we usually use int, string, bool ?
One day I shall master M2T, but that day has yet to come...
Powered by FUDForum
. Page generated in 0.03166 seconds