Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [ETL/EOL][newbie] Dealing with EFeatureMapEntry?
[ETL/EOL][newbie] Dealing with EFeatureMapEntry? [message #572237] Mon, 03 August 2009 09:33
Darren  is currently offline Darren Friend
Messages: 40
Registered: September 2009
Member
Hello all,

I'm trying to transform data from a model based on an XSD to one based on
my own meta-model. I'm having difficult with EFeatureMapEntry and wondered
if anyone has any experience of transforming these relationships?

In more detail I have an element that contains 4 different sub-elements.
The order of these is important and I am assuming it is defined in the
EFeatureMapEntry relationship.

I have tried something like this:

for (x in v.element.group){
if(x.isTypeOf(XMLMetaModel!XMLElement){
var z := x.equivalent();
-- Do stuff for this type
}
if(x.isTypeOf(XMLMetaModel!XMLElement2){
var z := x.equivalent();
-- Do stuff for this type
}
}

However the if statements for the 4 element types are never entered. Is
there an operation for returning an elements type? i.e.
x.type().println(), or should this be approached another way?

Thanks, Darren
Previous Topic:Problem running ETL using Epsilon/ANT
Next Topic:Behaviour of String.split()
Goto Forum:
  


Current Time: Fri Mar 29 13:34:33 GMT 2024

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

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

Back to the top