You can use mapping models to specify the file names that a transformation assigns to generated files.
Creating a mapping model
You can create a mapping model to specify an alternate name for each file or folder that a transformation generates. A mapping model is separate from the source model and contains an artifact for each source model element that corresponds to a generated file or folder. Each artifact has the same name as the element it represents. You can specify an alternate name for each source element by changing the artifact’s file name property. Changing the file name property of an artifact that represents a generated folder such as UML package element, affects all resources that are generated into that folder. After a mapping model is created, you can apply it the next time that you run a transformation on your model.Applying a mapping model
You can use a previously created mapping model when you run a transformation to specify alternate file names for each element that a transformation generates. You can specify that a particular transformation configuration use a specific mapping model.Mapping models
A transformation assigns default file names to the files and folders that it generates. You can use a mapping model to specify an alternate file name for files and folders that a transformation generates.
Parent topic: Creating and modifying a transformation configuration
Related concepts
Mapping models