[DDI-SRG] [MRT] Bug: ValueString inherits from InstanceValue

Hoyle, Larry larryhoyle at ku.edu
Mon Feb 10 14:25:50 EST 2020


ValueString shouldn't be a Datatype it is a thing that inherits from InstanceValue with a string content. It is the specific string that was captured to signify something.
Perhaps all the attributes you list (e.g.  FormatDescription-InstanceVariableMap-setValue ) should just be a simple string and not a ValueString.

[cid:image001.png at 01D5E015.9C228260]

From: ddi-srg-bounces at icpsr.umich.edu <ddi-srg-bounces at icpsr.umich.edu> On Behalf Of Wackerow, Joachim
Sent: Monday, February 10, 2020 1:00 PM
To: DDI - Structural Reform Group <ddi-srg at icpsr.umich.edu>
Subject: Re: [DDI-SRG] [MRT] Bug: ValueString inherits from InstanceValue

If this is goal, a different modeling approach is required. It is not possible in UML that an attribute is defined by a data type which inherits from a class.

Achim

From: Hoyle, Larry [mailto:larryhoyle at ku.edu]
Sent: Monday, February 10, 2020 19:55
To: Wackerow, Joachim; DDI - Structural Reform Group
Subject: RE: [MRT] Bug: ValueString inherits from InstanceValue

A string is only one type of value. This structure allows for representations in the future like real binary, blob (image, sound, etc).

From: ddi-srg-bounces at icpsr.umich.edu<mailto:ddi-srg-bounces at icpsr.umich.edu> <ddi-srg-bounces at icpsr.umich.edu<mailto:ddi-srg-bounces at icpsr.umich.edu>> On Behalf Of Wackerow, Joachim
Sent: Monday, February 10, 2020 12:51 PM
To: DDI - Structural Reform Group <ddi-srg at icpsr.umich.edu<mailto:ddi-srg at icpsr.umich.edu>>
Subject: [DDI-SRG] [MRT] Bug: ValueString inherits from InstanceValue

The data type ValueString inherits from InstanceValue. The inheritance doesn't make sense here.
What is the intention here?

ValueString is used in as data type in the following attributes:
FormatDescription-InstanceVariableMap-setValue
FormatDescription-ValueMapping-defaultValue
Representations-CategoryStatistic-categoryValue
Representations-CategoryStatistic-filterValue

A related Diagram is attached.

Achim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.icpsr.umich.edu/pipermail/ddi-srg/attachments/20200210/4faf1be7/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 241917 bytes
Desc: image001.png
Url : http://lists.icpsr.umich.edu/pipermail/ddi-srg/attachments/20200210/4faf1be7/attachment-0001.png 


More information about the DDI-SRG mailing list