Book a Demo

Author Topic: Removing stereotypes in a transformation template  (Read 2122 times)

nbau2s

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Removing stereotypes in a transformation template
« on: March 24, 2009, 09:48:24 pm »
Hello,
I would like to create useful Java source code from a model. Unfortunately, all enumeration classes in the model (and their attributes) have additional stereotypes assigned to them. This would not really be a problem, but it seems that the code generation template now no longer recognizes the classes with stereotype <<xxx,enumeration>> as enumerations and generates simple java classes from them.
My idea is to remove the additional stereotypes in a model-to-model transformation where the whole model is transformed using the java template. Unfortunately I did not find enough documentation on the template's language to be able to assess whether it is possible to remove some stereotypes in the transformation process and how to do so.

Has anyone any ideas?