Book a Demo

Author Topic: Common Types  (Read 3126 times)

microdus

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Common Types
« on: January 15, 2003, 11:24:57 am »
How can you setup language datatypes so that you can use a generic set of types to define all class attributes and then have those types converted to a language specific type when code is generated?

Is this possible?  

What is the "Common Type" field in the menu/Reference/Language DataTypes dialog for?

Tjerk

  • EA User
  • **
  • Posts: 231
  • Karma: +1/-0
    • View Profile
Re: Common Types
« Reply #1 on: January 16, 2003, 12:04:01 am »
Hi Microdus,

You can use the Reference/Language DataTypes to introduce datatypes for common and selfintroduced languages. I'm not use when you need to use the "common type" field.

As far as I can see, there is no automatic conversion to switch languages and their datatypes for your already designed model. You might want to introduce a new language ("Add Product"), add your standard datatypes and convert them to a specific language / implementation when you need to.

When you then create an attribute of that language and your just created datatype, you should be able to do what you ask.

Greetings,
Tjerk

Ps: could somebody else help with the "Common Type" field?

Takeshi_KOUNO

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Common Types
« Reply #2 on: January 17, 2003, 01:11:13 am »
Hello Tjerk,

About 'Common type', it's type which corresponds to above 'Data type' field.

For example, please check C++ language type.The common type of 'int' is 'Integer', and so on.

--
Takeshi KOUNO