Book a Demo

Author Topic: menus for enum tagged value types in profile  (Read 2370 times)

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
menus for enum tagged value types in profile
« on: July 12, 2008, 03:57:00 am »
Hi there,

I am trying to recreate the requirements profile from the requirements whitepaper.

I can make an instance of SystemRequirement and I can see all my attributes in the Tagged Values window, including ReviewCompleted that is (should be) typed Boolean. In the tagged values window I expect the ReviewCompleted attribute to be served by a menu with choices {true,false}, but it seems to be a string-edit field.

In more detail...
My SystemRequirement stereotype has an attribute ReviewCompleted. Under Attribute Properties / Type, I select 'Boolean' from a dropdown list. Then export the profile package as UML profile and re-import as UML resource. SystemRequirement is now available in the toolbox menu. I make a new instance of SystemRequirement in my diagram, and I can see all my attributes in the Tagged Values window. Then, as I mentioned, in the tagged values window the ReviewCompleted attribute has a string-edit for input, instead of a choice.

On another attribute, I tried Attribute Properties / Type = 'Authors', and here again the Tagged Values viewer did not give me a menu to set that field.

After each change to the profile, I was sure to export/import, and synch. Any thoughts what I might be doing wrong? It's my first time through this process.

Thanks,

Owen

EA 7.1 b831 SysML 1.0

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: menus for enum tagged value types in profile
« Reply #1 on: July 14, 2008, 04:35:13 pm »
Authors should have the Detail field set as:
  Type=Enum;
  List=Authors;
See the Help file under: http://www.sparxsystems.com.au/EAUserGuide/predefinedreferencedata.htm