how to specify data-relation attributes

Data-relations in datasets can have attributes like NESTED, RECURSIVE, NOT-ACTIVE and REPOSITION.
But there is currently no way to specify that in UML; the data-relations are generated from associations between temp-tables and as far as I see there is nothing in the cartridge that writes the attributes conditionally. Or am I overlooking something?

What would be a good way to fix this?
The associations between the temp-tables could have multiple stereotypes: one for each attribute switch. Is that a good plan? Would it be good enough for the standard iMo release?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ede's picture

how to specify data-relation attributes

In my opinion this kind of attributes are not identifying enough for the class to use a stereotype. I think this should be tagged values in the UML and should be additional fields in the ttAttribute table of dsClass (just like the special attributes for progress specific things like column-label and help.

nested

I discovered a problem a bit related to this issue. The attribute NESTED is always placed in a data-relation.
In my opinion this is a bad default. As this may cause the following error in .Net: "The same table cannot be the child table in two nested relations". Since NESTED is only used for writing a dataset to xml, I propose to remove it.