[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] href in IN model

That's a good idea but the problem is that instance.type.oclType() always returns MyMETAMODEL!EClass and it is correct because instance.type is a reference to EModelElement from Ecore.

Another problem is that instance.type or instance.type.name should return something like UML!Class or UML!Generalization but in screen appears IN<notnamedyet>.

The only I think that I could do is to obtain the value of href ("UML.ecore#//Generalization") and compare as strings with UML!"uml::Class".name. Is it possible ?¿?

Thanks