Author Topic: Can I enforce unique class names  (Read 426 times)

Simon MA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Can I enforce unique class names
« on: December 14, 2017, 08:56:42 pm »
Hi,

Does anyone know if it is possible to enforce class names to be unique within a package etc?

Digging through the forum, I've found this discussed as far back as 2005: https://www.sparxsystems.com/forums/smf/index.php?topic=14614.0 and as recently as 2013 https://www.sparxsystems.com/forums/smf/index.php/topic,24956.msg199738.html#msg199738 and the answer appears to be no, but as several years have passed since the last one that I found, I thought I would ask in case things have changed...

Cheers

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8204
  • Karma: +193/-23
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Can I enforce unique class names
« Reply #1 on: December 14, 2017, 09:58:44 pm »
Not out of the box.

But it is fairly simple to write an EA-Matic script or add-in to enforce something like that.

Geert

Simon MA

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Can I enforce unique class names
« Reply #2 on: December 15, 2017, 10:05:45 pm »
Thanks. (I might log a feature request)