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

Hi,

I have another problem with references between models.

I have an element Instance in metamodel which has a reference (type) to the Ecore element EModelElement.

When I create a model, and load UML.ecore as resource, I can select in reference type the type of the element that I want to represente.
An example:
Instance - type = Class->EncapsuledClassifer,BehavioredClassifer


something like this:
<instance name="clase">
 <type xsi:type="ecore:EClass" href="UML.ecore#//Class"/>
</instance>

I am doing a transformation and I want to compare the value of instance.type (which is Class->EncapsuledClassifer,BehavioredClassifer) with UML!Class but I don't know how do this.