Skip to main content



      Home
Home » Modeling » Epsilon » [ETL/EOL][newbie] Dealing with EFeatureMapEntry?
[ETL/EOL][newbie] Dealing with EFeatureMapEntry? [message #572237] Mon, 03 August 2009 05:33
Eclipse UserFriend
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: Mon Jul 14 13:45:43 EDT 2025

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

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

Back to the top