Book a Demo

Author Topic: java code generation  (Read 2237 times)

danul

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
java code generation
« on: April 27, 2006, 12:34:39 am »
Hi,

Have started attempting code generation for java and am having a few issues:

- $LinkClass with lowercase first letter
I've removed the "m_" from the associated attribute, however how do i change the first letter of the attribute to be lower case?

- Generating code in package structure
How do I acheive this?  The EA seems determined to generate my code into one directory?

Also is there a list somewhere of what things like $LinkClass are actually linked to?  The manual only has some referencing concerning resetting defaults.


Thanks,

Daniel


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: java code generation
« Reply #1 on: April 27, 2006, 03:32:13 pm »
Quote
- $LinkClass with lowercase first letter
I've removed the "m_" from the associated attribute, however how do i change the first letter of the attribute to be lower case?

You can modify the Linked Attribute declaration template to do this, but there will still be some places during synchronisation that you can't modify.  (So EA won't recognise that the association has already been generated.)

If synchronisation is important to you, it may be a better idea to turn off auto-generation of names, and always add them in the format you want.  (Possibly via an addin)

Quote
- Generating code in package structure
How do I acheive this?  The EA seems determined to generate my code into one directory?

Use the Generate Package feature.  (Project | Source Code Engineering | Generate Package Source Code)

Quote
Also is there a list somewhere of what things like $LinkClass are actually linked to?  The manual only has some referencing concerning resetting defaults.

Sorry, I'm not sure what you're after.