02.01.2013 Views

ATL Transformation Examples The SSL to SDL ATL ... - Eclipse

ATL Transformation Examples The SSL to SDL ATL ... - Eclipse

ATL Transformation Examples The SSL to SDL ATL ... - Eclipse

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

www.soluta.net<br />

<strong>ATL</strong><br />

TRANSFORMATION EXAMPLE<br />

Irina Dumitrascu<br />

idumitrascu@soluta.net<br />

Natalia Rebeja<br />

nrebeja@soluta.net<br />

<strong>SSL</strong> <strong>to</strong> <strong>SDL</strong> Date: 20/02/2006<br />

-- <strong>to</strong> the complex type generated from the input's type - see rule<br />

-- TypeFromOn<strong>to</strong>logy_Input: part_c).<br />

rule SingleInput_On<strong>to</strong>logy {<br />

from e : <strong>SSL</strong>!ServiceInput (<br />

not thisModule.getMultipleInputs()->includes(e) and<br />

e.Type.oclIsKindOf(<strong>SSL</strong>!On<strong>to</strong>logyClassURI ))<br />

<strong>to</strong> inm : <strong>SDL</strong>!SimpleMessage(<br />

ElName

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!