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 a file. 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.
To run the transformation:
By default, the transformation stores the results in an output file
named class2text.txt
, in a folder named
ClassToTextOutput
. Open a Navigator view to view the
output file.
To specify a different name for the output file, in the Run Transform window, click the Properties tab. On the Properties page, in the Target File Name field, specify a new name and click Apply.
This transformation accepts an UML model or an UML package or one or more UML classes as the source.
This transformation accepts a project as its target.