Book a Demo

Author Topic: Code generation / getter and setter  (Read 3965 times)

Anna

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Code generation / getter and setter
« on: February 25, 2002, 07:16:31 am »
Hello

Thanks for the great program :)

My question is, is there a way to make the code generator generate java getter and setter methods for all the attributes in the class ?

TIA

gsparks

  • EA User
  • **
  • Posts: 325
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Code generation / getter and setter
« Reply #1 on: February 25, 2002, 02:57:37 pm »
Hi,

I think the simplest solution would be an option to automatically generate a property interface (get/set in Java) in the default code gen language when a new attribute is added. This would accept the default name etc. and create stereotyped operations.

Let me know if this would help,

Geoff Sparks