[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.m2m] [ATL] href in IN model
|
- From: mllacer@xxxxxxxxxxxxx (Miguel Llácer)
- Date: Fri, 11 Apr 2008 11:46:22 +0000 (UTC)
- Newsgroups: eclipse.modeling.m2m
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.