Book a Demo

Author Topic: Class attribute constraints on diagram  (Read 4338 times)

Ota Smid

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Class attribute constraints on diagram
« on: September 04, 2014, 06:59:59 pm »
Hi,
 I have a simple question. Is is possible to see attributes constraints on class diagram?

I mean constraints created based on this manual page:
http://www.sparxsystems.com/enterprise_architect_user_guide/10/modeling_basics/attributeconstraints.html

Thank you

Ota

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Class attribute constraints on diagram
« Reply #1 on: September 04, 2014, 07:42:29 pm »
No. It might be possible to create a shape script but even if so you would need to stereotype the class in order to trigger the script.

q.

Takeshi K

  • EA User
  • **
  • Posts: 632
  • Karma: +43/-1
    • View Profile
    • Sparx Systems Japan
Re: Class attribute constraints on diagram
« Reply #2 on: September 05, 2014, 07:30:53 am »
Just FYI, to show something next to attribute, create tagged value 'xUML'. For example, if you add attribute's Tagged Value 'xUML' and set its value to '{some constraint}', it shows like following in Class diagrams:

int attributeName {some constraint}

HTH,
--
t-kouno