# QVT transformation

###### Identifier:

org.eclipse.m2m.qvt.oml.runtime.qvtTransformation

###### Since:

1.0

###### Description:

This extension point provides a mechanism to register deployed QVTo units. The registered units are accessible through the QVTo UI, and can be imported from other plugins or workspace projects.

###### Configuration Markup:

<!ELEMENT extension ((transformation | library)+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

Extension point to register deployed QVTo modules

The input element is deprecated

<!ELEMENT input EMPTY>

<!ATTLIST input

metamodel CDATA #IMPLIED

metaclass CDATA #IMPLIED>

An input parameter to a QVTo transformation

- metamodel - The namespace URI of the input metamodel
- metaclass - The fully qualified name of the input classifier

The output element is deprecated

<!ELEMENT output EMPTY>

<!ATTLIST output

metamodel CDATA #IMPLIED

metaclass CDATA #IMPLIED>

An output parameter of a QVTo transformation

- metamodel - The namespace URI of the output metamodel
- metaclass - The fully qualified name of the output classifier, separated by slashes

<!ELEMENT transformation (input , output)?>

<!ATTLIST transformation

file CDATA #REQUIRED

id IDREF #REQUIRED>

A runnable transformation module containing a `main()` operation

- file - The path to the registered transformation file (*.qvto)
- id - The fully qualified name used to import the registered transformation

<!ELEMENT library EMPTY>

<!ATTLIST library

file CDATA #REQUIRED

id IDREF #REQUIRED>

A library module that may be imported by other modules

- file - The path to the registered library file (*.qvto)
- id - The fully qualified name used to import the registered library

###### Examples:

The following example registers the `Simpleuml_To_Rdb` unit, which is resolvable as `Simpleuml_To_Rdb` from importing QVTo units.

    <extension point="org.eclipse.m2m.qvt.oml.runtime.qvtTransformation">
     <transformation file="Simpleuml_To_Rdb.qvto" id="Simpleuml_To_Rdb"/>
    </extension>

Copyright (c) 2007, 2015 Borland Software Corporation