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 />

}<br />

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

TRANSFORMATION EXAMPLE<br />

class PrimitiveType extends Datatype {<br />

}<br />

class TypedLiteral extends Literal {<br />

reference theType : URIreference;<br />

}<br />

class PlainLiteral extends Literal {<br />

attribute Language : String;<br />

}<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 />

class URIreference extends Literal, AnnotationObject {<br />

}<br />

class NonNegativeInteger extends TypedLiteral {<br />

}<br />

class Literal extends Value, Element, AnnotationObject {<br />

attribute lexicalForm : String;<br />

}<br />

abstract class DataRange extends ValueRange, Element {<br />

}<br />

class DepricatedDatatype extends Datatype {<br />

}<br />

class Datatype extends DataRange, NamedElement {<br />

reference TypeDefinitionURI : URIreference;<br />

}<br />

package Individuals {<br />

class DataTypePropertyThing extends Thing {<br />

reference Type : DatatypeProperty;<br />

reference <strong>The</strong>DTPRange : Literal;<br />

reference <strong>The</strong>DTPDomain : ClassThing;<br />

}<br />

class ObjectPropertyThing extends Thing {<br />

reference <strong>The</strong>OPDomain : ClassThing;<br />

reference <strong>The</strong>OPRange : ClassThing;<br />

reference Type : ObjectProperty;<br />

}<br />

23/36

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

Saved successfully!

Ooh no, something went wrong!