[Uml-devel] Generate anotations with stereotypes

pau carre pau.carre at gmail.com
Thu Mar 20 14:17:53 UTC 2008


Hi, I think it would be a great feature to add Java annotations
generation based on stereotypes.
For example, if one add Entity stereotype with an attribute table to a
class Employee then the generated code should look like:

@Entity(table="");
class Employee {
}

I would even be better if Umbrello allows to add a value for each
stereotype attribute so the code generated would look like:

@Entity(table="CORP_EMPLOYEE")
class Employee{
}

Best regards,
Pau Carré




More information about the umbrello-devel mailing list