Book a Demo

Author Topic: Custom datatype sourcecode generation  (Read 2459 times)

solarzz

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Custom datatype sourcecode generation
« on: May 23, 2005, 09:32:03 am »
In EA I can define custom datatypes, in java for example "Date" datatype (or String, ArrayList,..).

Using custom datatype (Date) as attribute i need in generated source file:

import java.util.Date


Any help?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Custom datatype sourcecode generation
« Reply #1 on: May 23, 2005, 03:16:51 pm »
My recommendation would be to create a Date class somewhere in a different part of your model inside a package structure java.util.  If you do this instead of creating it as a datatype then if you select Date from a dropdown box EA will generate the correct import statement.

Simon