Book a Demo

Author Topic: What is/do alias?  (Read 5166 times)

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
What is/do alias?
« on: October 31, 2012, 06:11:34 pm »
Hi everyone, the manpage of EA do not realy solve this questions
What does Alias do? is it only in diagramm? or also in code?
Support- Languages: German, English, French

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: What is/do alias?
« Reply #1 on: October 31, 2012, 08:42:36 pm »
An alias provides an alternate way to name a class. It depends on the convention how this is used. Some distinguish business/technic while others use it as a 2nd language container. I usually tell customers to not use the alias at all. In the 1st case a glossary is a much better place for ambiguous descriptions. And in the 2nd one EA is not really capable of multi language (esp. the notes exist only once).

I guess the alias is not really used in code gen. Maybe you can use it in the macros to produce some kind of comment. Not sure, though.

q.
« Last Edit: October 31, 2012, 08:43:14 pm by qwerty »

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: What is/do alias?
« Reply #2 on: October 31, 2012, 09:00:21 pm »
BUt could it be used for
e.g. I've a class class.Now I want that it is written in the diagram like that CLASS.

Does this have bad effect on anything?
Support- Languages: German, English, French

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: What is/do alias?
« Reply #3 on: October 31, 2012, 10:21:24 pm »
No side effect. Just turn on the option for the diagram to use the alias.

q.

MREA

  • EA User
  • **
  • Posts: 72
  • Karma: +0/-0
    • View Profile
Re: What is/do alias?
« Reply #4 on: October 31, 2012, 11:10:48 pm »
thanks!
Support- Languages: German, English, French