Hello,
I have a few questions regarding the code generation facility in MagicDraw.
We're evaluating Magic Draw for usage in a software project using an MDA
approach.
The model shall be UML diagrams (foremost class diagrams) and we want to
put all important information into these diagrams using extension mechanisms
like
stereotypes and tagged values. An example would be a class "Customer" in the
model
having the stereotype <<BusinessObject>> and some attributes like
OID, customerID, name, address and all that stuff. Some of the fields of
such a class
should be marked as persistent or transient for example or be denominated as
object identifier, etc.
Then we want to generate code (OR mapping descriptors and of course Java
Interfaces and classes)
from the UML model considering all the stereotypes and tagged values.
a) Is this possible in Magic Draw?
b) Can the process of code generation be customized to meet our
requirements, e.g. using a template language like Apache Velocity?
In the accompanying documentation I didn't find a hint to a possibility for
such customizations.
Thanx for your help,
Jan Geiger