Book a Demo

Author Topic: Tagged value Type formats  (Read 6312 times)

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Tagged value Type formats
« on: July 20, 2023, 01:55:22 pm »
I'm delving into some old area of the model.
In UML Types > Tagged Value Types


for a defined tag type I see
Type=List;
Values=Undefined,
Reference Architecture,
Strategic Architecture,
Segment Architecture,
Capability Architecture,
Solution Architecture


This type=list is not documented any more Predefined Structured Types | Enterprise Architect User Guide (sparxsystems.com)

Is "Type=List" a synonym for "Type=Enum "   
?

thanks
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Tagged value Type formats
« Reply #1 on: July 20, 2023, 07:30:11 pm »
I'm delving into some old area of the model.
In UML Types > Tagged Value Types


for a defined tag type I see
Type=List;
Values=Undefined,
Reference Architecture,
Strategic Architecture,
Segment Architecture,
Capability Architecture,
Solution Architecture


This type=list is not documented any more Predefined Structured Types | Enterprise Architect User Guide (sparxsystems.com)

Is "Type=List" a synonym for "Type=Enum "   
?

thanks
Hi Skiwi,
That would be my expectation.  It must be pretty old!   Never seen it myself.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

BobM

  • EA User
  • **
  • Posts: 144
  • Karma: +9/-0
    • View Profile
Re: Tagged value Type formats
« Reply #2 on: July 20, 2023, 07:34:43 pm »
An enumeration is a complete, ordered listing of all the items in a collection

I think it is safe to assume that for Sparx it is a synonym

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Tagged value Type formats
« Reply #3 on: July 20, 2023, 07:46:52 pm »
Found a shadow somewhere: http://www.icodeguru.com/design/Enterprise-Architect/create_predefined_tagged_value.htm
Looks like some pre-V9 or so documentation. Funny, they use both there (typically Sparxian, I guess).

q.

P.S. That was V7.0 !!
« Last Edit: July 20, 2023, 07:50:56 pm by qwerty »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tagged value Type formats
« Reply #4 on: July 21, 2023, 09:11:57 am »
Looks like some pre-V9 or so documentation. Funny, they use both there (typically Sparxian, I guess).
It's worse than that. The important parts of that example are:
Code: [Select]
Type=Enum;
List=Authors;

Which is reflected in the current documentation.
https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_frameworks/predefinedreferencedata.html

I don't know if you've tried to create one of those tagged values, but I expect that it will just result in a simple string. It's missing a valid type and it doesn't specify a valid list.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Tagged value Type formats
« Reply #5 on: July 25, 2023, 06:19:48 am »
Thanks, yes I suspect that there declarations have been around since before v9.
Another example:
Code: [Select]
Type=Custom;
Type=List;
List=Defect;Enhancement;

I'll update it to type=enum.
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Jayson

  • EA User
  • **
  • Posts: 363
  • Karma: +1/-0
    • View Profile
Re: Tagged value Type formats
« Reply #6 on: July 30, 2023, 07:32:34 am »
Those Tagged Value types are definitely still valid and work as expected.
The only difference between them an a regular enum is that the enum item are taken from the Sparx reference data and can be updated within the model itself.