Home » Modeling » Epsilon » [ETL] Accesing existing output model elements
| | | |
Re: [ETL] Accesing existing output model elements [message #525425 is a reply to message #522751] |
Tue, 06 April 2010 10:34   |
Eclipse User |
|
|
|
Hello,
I have tried to test this to see if somehow I managed to see the elements. Looking at the documentation I did a small eol test:
base!Font.all().println();
var f : new base!Font;
base!Font.all().println();
base.allContents().println();
For which I get the next console output:
Sequence {}
Sequence {Font [id=null, color=null, faceName=null, pointSize=null]}
Sequence {DocumentRoot [mixed=[ecore.xml.type:text=
], ], EStringToStringMapEntry [key=xmi, value=http://www.omg.org/XMI], EStringToStringMapEntry [key=xsi, value=http://www.w3.org/2001/XMLSchema-instance], EStringToStringMapEntry [key=tdml, value=http://moosas.uniandes.edu.co/HiLeSPL/tdml], Font [id=null, color=null, faceName=null, pointSize=null]}
If I look at the xml of the base model I see:
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tdml="http://moosas.uniandes.edu.co/HiLeSPL/tdml">
<tdml:TimingDiagram defaultTimeUnits="1e-6" delayRule="first" fontPtr="HL4" lineThickness="1" showDelays="1" showHolds="1" showSamples="1" showSetups="1" showUncertainty="ALL">
<tdmlAdminInfo>
...
Comparing it to the console output it would seem that only the model information is beeing loaded (the xmi description) and not the element information.
Hope this helps.
|
|
|
Re: [ETL] Accesing existing output model elements [message #525461 is a reply to message #525425] |
Tue, 06 April 2010 12:05   |
Eclipse User |
|
|
|
Hi Horacio,
Not sure why this might be happening. Could you please zip and send me
your metamodels/models/transformations so that I can have a closer look
at this?
Cheers,
Dimitris
On 06/04/2010 17:34, Horacio wrote:
> Hello,
>
> I have tried to test this to see if somehow I managed to see the
> elements. Looking at the documentation I did a small eol test:
>
> base!Font.all().println();
> var f : new base!Font;
> base!Font.all().println();
> base.allContents().println();
>
> For which I get the next console output:
>
> Sequence {}
> Sequence {Font [id=null, color=null, faceName=null, pointSize=null]}
> Sequence {DocumentRoot [mixed=[ecore.xml.type:text=
> ], ], EStringToStringMapEntry [key=xmi, value=http://www.omg.org/XMI],
> EStringToStringMapEntry [key=xsi,
> value=http://www.w3.org/2001/XMLSchema-instance],
> EStringToStringMapEntry [key=tdml,
> value=http://moosas.uniandes.edu.co/HiLeSPL/tdml], Font [id=null,
> color=null, faceName=null, pointSize=null]}
>
>
> If I look at the xml of the base model I see:
>
> <?xml version="1.0" encoding="ASCII"?>
> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tdml="http://moosas.uniandes.edu.co/HiLeSPL/tdml">
> <tdml:TimingDiagram defaultTimeUnits="1e-6" delayRule="first"
> fontPtr="HL4" lineThickness="1" showDelays="1" showHolds="1"
> showSamples="1" showSetups="1" showUncertainty="ALL">
> <tdmlAdminInfo>
> ..
>
> Comparing it to the console output it would seem that only the model
> information is beeing loaded (the xmi description) and not the element
> information.
> Hope this helps.
>
>
>
|
|
| |
Re: [ETL] Accesing existing output model elements [message #525681 is a reply to message #525676] |
Wed, 07 April 2010 09:00  |
Eclipse User |
|
|
|
Hi Horacio,
You're right. I somehow managed to miss it :S Sorry about that. I'll
have a look at this tomorrow (it's a pretty busy day today) and get back
to you.
Cheers,
Dimitris
On 07/04/2010 15:56, Horacio wrote:
> Dimitris,
>
> I sent you the files to your gmail account the 23 of March from
> h.hoyos95 at uniandes dot edu dot co. Please tell me if you received
> them or if I send them to another account.
>
> Regards,
|
|
| | |
Re: [ETL] Accesing existing output model elements [message #588182 is a reply to message #522751] |
Tue, 06 April 2010 10:34  |
Eclipse User |
|
|
|
Hello,
I have tried to test this to see if somehow I managed to see the elements. Looking at the documentation I did a small eol test:
base!Font.all().println();
var f : new base!Font;
base!Font.all().println();
base.allContents().println();
For which I get the next console output:
Sequence {}
Sequence {Font [id=null, color=null, faceName=null, pointSize=null]}
Sequence {DocumentRoot [mixed=[ecore.xml.type:text=
], ], EStringToStringMapEntry [key=xmi, value=http://www.omg.org/XMI], EStringToStringMapEntry [key=xsi, value=http://www.w3.org/2001/XMLSchema-instance], EStringToStringMapEntry [key=tdml, value=http://moosas.uniandes.edu.co/HiLeSPL/tdml], Font [id=null, color=null, faceName=null, pointSize=null]}
If I look at the xml of the base model I see:
<?xml version="1.0" encoding="ASCII"?>
<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tdml="http://moosas.uniandes.edu.co/HiLeSPL/tdml">
<tdml:TimingDiagram defaultTimeUnits="1e-6" delayRule="first" fontPtr="HL4" lineThickness="1" showDelays="1" showHolds="1" showSamples="1" showSetups="1" showUncertainty="ALL">
<tdmlAdminInfo>
...
Comparing it to the console output it would seem that only the model information is beeing loaded (the xmi description) and not the element information.
Hope this helps.
--
Horacio Hoyos Rodriguez
Research Assistant
Universidad de los Andes
http://moosas.uniandes.edu.co/
|
|
|
Re: [ETL] Accesing existing output model elements [message #588190 is a reply to message #588182] |
Tue, 06 April 2010 12:05  |
Eclipse User |
|
|
|
Hi Horacio,
Not sure why this might be happening. Could you please zip and send me
your metamodels/models/transformations so that I can have a closer look
at this?
Cheers,
Dimitris
On 06/04/2010 17:34, Horacio wrote:
> Hello,
>
> I have tried to test this to see if somehow I managed to see the
> elements. Looking at the documentation I did a small eol test:
>
> base!Font.all().println();
> var f : new base!Font;
> base!Font.all().println();
> base.allContents().println();
>
> For which I get the next console output:
>
> Sequence {}
> Sequence {Font [id=null, color=null, faceName=null, pointSize=null]}
> Sequence {DocumentRoot [mixed=[ecore.xml.type:text=
> ], ], EStringToStringMapEntry [key=xmi, value=http://www.omg.org/XMI],
> EStringToStringMapEntry [key=xsi,
> value=http://www.w3.org/2001/XMLSchema-instance],
> EStringToStringMapEntry [key=tdml,
> value=http://moosas.uniandes.edu.co/HiLeSPL/tdml], Font [id=null,
> color=null, faceName=null, pointSize=null]}
>
>
> If I look at the xml of the base model I see:
>
> <?xml version="1.0" encoding="ASCII"?>
> <xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:tdml="http://moosas.uniandes.edu.co/HiLeSPL/tdml">
> <tdml:TimingDiagram defaultTimeUnits="1e-6" delayRule="first"
> fontPtr="HL4" lineThickness="1" showDelays="1" showHolds="1"
> showSamples="1" showSetups="1" showUncertainty="ALL">
> <tdmlAdminInfo>
> ..
>
> Comparing it to the console output it would seem that only the model
> information is beeing loaded (the xmi description) and not the element
> information.
> Hope this helps.
>
>
>
|
|
| |
Re: [ETL] Accesing existing output model elements [message #588205 is a reply to message #525676] |
Wed, 07 April 2010 09:00  |
Eclipse User |
|
|
|
Hi Horacio,
You're right. I somehow managed to miss it :S Sorry about that. I'll
have a look at this tomorrow (it's a pretty busy day today) and get back
to you.
Cheers,
Dimitris
On 07/04/2010 15:56, Horacio wrote:
> Dimitris,
>
> I sent you the files to your gmail account the 23 of March from
> h.hoyos95 at uniandes dot edu dot co. Please tell me if you received
> them or if I send them to another account.
>
> Regards,
|
|
|
Goto Forum:
Current Time: Wed Jul 23 05:37:13 EDT 2025
Powered by FUDForum. Page generated in 0.06022 seconds
|