Author Topic: Function of t_objecttypes table?  (Read 4006 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Function of t_objecttypes table?
« on: April 06, 2010, 06:52:45 pm »
Can anyone tell me what the function of the t_objecttypes table is?

I've been running on an .EAP with an empty t_objecttypes table for a couple of hours and there doesn't seem to be any ill effects...  Maybe I've just been lucky?  The table has to exist - else EA won't start - but apart from that...

Paolo
« Last Edit: April 06, 2010, 06:53:06 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Function of t_objecttypes table?
« Reply #1 on: April 06, 2010, 07:11:04 pm »
I have no clue.
I just tested by deleting the contents of that table and tried some different things (like adding custom types such as GUIElements to a diagram, changing the type of an element and creating an HTML export) but none of those things did something wrong.

Geert

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Function of t_objecttypes table?
« Reply #2 on: April 07, 2010, 10:56:57 am »
It appears to be used for filling listboxes and comboboxes, for example on the Auto Name Counters dialog (Settings > Auto Name Counters). You can also create a custom tagged value which enumerates the table contents (Type=Enum;List=ObjectTypes;)
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Function of t_objecttypes table?
« Reply #3 on: April 07, 2010, 11:22:19 am »
Quote
It appears to be used for filling listboxes and comboboxes, for example on the Auto Name Counters dialog (Settings > Auto Name Counters). You can also create a custom tagged value which enumerates the table contents (Type=Enum;List=ObjectTypes;)
Well one listbox it DOESN'T populate is the list of object types to change to...  :o

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!