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

Jay Greenfield nightcleaner at gmail.com
Mon Feb 10 14:33:04 EST 2020


If you want to give ValueString a little more reach, you might consider give it a datatype of TypedString. TypedString consists of typeOfContent which is an ExternalControlledVocabulary and content which is a String.

On Feb 10, 2020, at 2:25 PM, Hoyle, Larry <larryhoyle at ku.edu> wrote:

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.
 
<image001.png>
 
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 <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
_______________________________________________
DDI-SRG mailing list
DDI-SRG at icpsr.umich.edu
http://lists.icpsr.umich.edu/mailman/listinfo/ddi-srg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.icpsr.umich.edu/pipermail/ddi-srg/attachments/20200210/d411a4bd/attachment.html 


More information about the DDI-SRG mailing list