Book a Demo

Author Topic: Transform package rules for names?  (Read 3100 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Transform package rules for names?
« on: April 10, 2014, 11:52:54 am »
When I transform the current package, using the DDL transformation, to create a physical model from a logical model, is it possible to specify rules for transforming class and attributes names to "physical names",
e.g. I might want to change "My name" to "MyName".

Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Nizam Mohamed

  • EA User
  • **
  • Posts: 193
  • Karma: +1/-0
    • View Profile
Re: Transform package rules for names?
« Reply #1 on: April 10, 2014, 01:45:50 pm »
I've done converting spaced names to underscored names. by changing the template as below.
Code: [Select]
 name=%qt%%CONVERT_NAME(className, "spaced", "underscored")%%qt%
  %TRANSFORM_REFERENCE("Table")%
  %TRANSFORM_CURRENT("name", "language", "stereotype")%