The UML-to-Java transformation and the UML-to-EJB transformation add the @generated tag to the following generated elements:
Before you rerun the UML-to-Java transformation, you can remove the @generated tags from the elements that you do not want the transformation to overwrite. Instead, you might want to edit the @generated tags by inserting characters after the @ character; for example, @wasgenerated. Inserting characters can help you to identify the generated code that the transformation does not overwrite when you rerun the transformation.
The UML-to-EJB transformation
does not add the @generated tag to enterprise bean classes and enterprise
bean interfaces. However, the transformation adds the @generated tag to the
methods of enterprise bean classes and interfaces that it generates from the
corresponding source model operations. When you rerun the UML-to-EJB transformation,
it does not overwrite the beans that the transformation previously generated.