Author Topic: SPARX RFC - Tagged Value support for CSV  (Read 4914 times)

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
SPARX RFC - Tagged Value support for CSV
« on: January 29, 2009, 10:55:13 am »
There have been a number of requests both on the forums, and through the official support channels for the CSV import/export process to support tagged values.

Unfortunatley, representing this relational data in a two-dimensional format for a set of generic elements is not straight forward, and can be done in a variety of ways. As such we are requesting feedback from users as to what format they would expect tagged value data to be presented in.

This feedback will be evaluated through the design decision making process based on its merits. If you would like to participate your thoughts on this area, please send an email marked for my attention to [email protected].
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

neil_albiston

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
    • View Profile
Re: SPARX RFC - Tagged Value support for CSV
« Reply #1 on: June 30, 2010, 09:36:20 pm »
Has there been any progress on the import of tagged values via csv ?

beginner

  • Guest
Re: SPARX RFC - Tagged Value support for CSV
« Reply #2 on: July 01, 2010, 02:01:52 am »
I vote for error correction instead of any CSV "improvements".

b.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: SPARX RFC - Tagged Value support for CSV
« Reply #3 on: July 21, 2010, 07:32:03 am »
I understand, since 2 different stereotypes could have different sets of tagged values (but some could be shared).
You could simply mandate that only "columns" in the CSV matching tagged values for a stereotype (nominated in the import process by a stereotype column selector) will be imported.  Using empty fields for invalid tagged values could be supported, yet mix and match in the one import.

For example, say you have 2 stereotypes - "application" and "server" (doesn't matter what the base UML classifier is).

Application has "IT support person" and "business function" as tagged values
Server has "IT support person" and "ip address" as tagged values

The import CSV file could look like this (1st row is column header):
element_name,stereotype,IT support person, business function, ip address
intranet,application,david teague,ERP,
w21223,server,john taylor,,192.0.0.1

The above is just a sparse matrix where common tagged values can be populated across stereotypes.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8599
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: SPARX RFC - Tagged Value support for CSV
« Reply #4 on: July 21, 2010, 03:19:07 pm »
Quote
I understand, since 2 different stereotypes could have different sets of tagged values (but some could be shared).
[size=18]...[/size]
You will need to also consider that the same stereotype may be in more than one MDG technology and have different sets of tagged values...

Paolo
« Last Edit: July 21, 2010, 03:19:40 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!