1
General Board / camel case for java attributes generation
« on: February 06, 2008, 06:23:02 am »
Hi, I just installed the latest EA release, transformed a PIM into a java model. Private class attributes in the PIM were correctly transformed into javabeans-compliant attributes. Unfortunately, camel-case generation for accessor methods did not happen! The second word initial is lower-case. This used to work right out of the box. I looked at the java transform templates and did not see the camel-case macro used anywhere. How do I fix this? I know nothing about EA's scripting language. Sample script please? :)
Miguel
The current script under 'Attribute_AsProperties:
%if classStereotype=="enumeration"%
%endTemplate%
$type=%CONVERT_TYPE("Java",attType)%
%Properties(attName,$type)%
Miguel
The current script under 'Attribute_AsProperties:
%if classStereotype=="enumeration"%
%endTemplate%
$type=%CONVERT_TYPE("Java",attType)%
%Properties(attName,$type)%