Book a Demo

Author Topic: Is default datatype==int configurable???  (Read 3606 times)

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Is default datatype==int configurable???
« on: September 09, 2010, 03:24:57 pm »
Hi People,

I notice when adding attributes to classes that the default datatype is int.

This is causing problems in two ways:

1. I'm replicating a large domain model and I'm having to reset the datatype to <none> for every attribute; and,

2. When I import models from elsewhere, all attributes are having the datatype "int" added if the datatype has not been set to something else.

Both of these circumstances are causing a lot of extra keystrokes on my part...

I've had a look in Settings | Code Datatypes | Java, and there is nothing in there to indicate why the default datatype is integer...

Is this configurable somewhere?
« Last Edit: September 09, 2010, 03:25:42 pm by novaphile »
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Is default datatype==int configurable???
« Reply #1 on: September 09, 2010, 04:28:25 pm »
See the "Default Attribute Type" option on the following page:
http://www.sparxsystems.com/enterprise_architect_user_guide/software_development/cgo_java.html

Are you adding your new attributes via the Attributes dialog?  Or by some other means?

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Is default datatype==int configurable???
« Reply #2 on: September 09, 2010, 04:29:47 pm »
In the case of the ones I'm working on at the moment, via the Attributes dialog.
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."