About this task
You can use model-to-text transformations to complete
the following tasks:
- Generate application code or artifacts from a source model.
- Detect and resolve differences between the design of a model and
its implementation. The transformation generates a new set of files
and, in most cases, the source model remains unchanged.
You can use text-to-model transformations to complete
the following tasks:
- Generate conceptual models from code or artifacts.
- Detect and resolve differences between the application code or
artifacts and the model. You can select the updates to apply to the
model. In most cases, the application code or artifacts remain unchanged.
Note: Capabilities such as visual editing and
language transformations are offered only in Rational® Software Architect
for WebSphere® Software and Rational Software Architect
Standard Edition.
You
can use model-to-model transformations to transform a source model
into a target model at a different level of abstraction. For example,
in Rational Software Architect
for WebSphere Software,
to model service-oriented architecture (SOA) solutions, you can transform
business analysis models that were created in WebSphere Business Modeler into
UML service models.
Transformations and round-trip engineering
Two
round-trip-engineering scenarios are common:
- Transform a UML model into code, change the code, and then transform
the changed code into UML
- Transform existing code into a UML model, change the model, and
then transform the changed model into code
By default, the IBM Rational modeling products support
round-trip-engineering scenarios that transform UML to code, and then
transform code into a UML model.
To determine how to use a
transformation in a round-trip engineering scenario starting from
code, see the overview topic for that transformation. Depending on
the transformation that you run, you might have to complete specific
tasks before you run the code-to-UML transformation.
Installed
transformations
To view the list
of transformations that are installed in the product, complete one
of the following steps: