Class to Text -> Console Transformation

This transformation accepts a UML class, a package, or a model as its source and writes the names of the classes and their attributes and operations, and the parameters of the operations to the Console view. If you choose a model or a package as the source, the transformation writes the details of all the classes that the model or package contains.

Running the Transformation

To run the transformation:

  1. Start the run-time workbench.
  2. In the run-time workbench, create a UML model that contains a package with one or more classes.
  3. Switch to the Modeling perspective.
  4. Right-click a class, package, or the model; then click Transform > Run Transformation > Class to Text -> Console.
  5. In the Run Transform window, click Run.

The transform results are displayed in the Console view where the sample is imported (and not in the console view of the run-time workbench).

Transformation Details

Transformation Source

This transformation accepts an UML model or an UML package or one or more UML classes as the source.

Transformation Target

This transformation does need any target.