Book a Demo

Author Topic: Creating of Enumeration values / value pairs  (Read 4576 times)

Michel777

  • EA User
  • **
  • Posts: 228
  • Karma: +0/-0
    • View Profile
Creating of Enumeration values / value pairs
« on: October 08, 2015, 06:08:00 pm »
I cannot find, how to model Enumeration values for the Element "Enumeration". As an attribute ? Further how to model value pairs for Enumerations like

started = 0
interrupted = 1
resumed = 2

Thanks a lot,

Michel

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Creating of Enumeration values / value pairs
« Reply #1 on: October 08, 2015, 06:09:59 pm »
Yes, you model enumeration value as attributes and make sure the IsLiteral flag is checked.

You could try the initial value to simulate the "= 3"

Geert