Project

General

Profile

Actions

feature request #4499

open

Implement fields for typical StatisticalMeasurementValues

Added by Andreas Müller over 9 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Priority12
Category:
cdm
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
normal
Tags:

Description

To simplify the handling of quantitative data we may want to add concrete fields for min, max, average, sampleSize, typicalLowerBoundary, typicalUpperBoundary, variance, standardDeviation.

Maybe we also want singleValue (instead of average and sampleSize = 1

Only modifiers will not be available anymore. Are they needed? If yes, do we need them for each field or for

see also #2334


Related issues

Related to EDIT - feature request #8978: Implement measurement values as BigDecimal ClosedKatja Luther

Actions
Actions #1

Updated by Andreas Müller over 9 years ago

One problem that arises is the correct use of numbers in Java, Hibernate + DB. For correct rounding etc. we should better use BigDecimal rather than Double.

However, BigDecimal is stored as Numeric(PRECISION,SCALE) with a fixed SCALE value. To allow different Scaling per record we may want to implement a BigDecimalUserType. This can be found at https://bitbucket.org/ratkins/bigdecimalusertype/.

http://stackoverflow.com/questions/6544232/how-do-i-map-a-bigdecimal-in-hibernate-so-i-get-back-the-same-scale-i-put-in

Alternatively we may use UserType with String representation !! But this may not allow Database computations on values.

https://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html

Actions #2

Updated by Andreas Müller over 9 years ago

first implementations but commented r22246

Actions #3

Updated by Andreas Müller over 9 years ago

  • Target version changed from CDM UML 3.5 to CDM UML - Next major release

Move all unassigned modelling tickets to next major release

Actions #4

Updated by Andreas Müller over 9 years ago

  • Target version changed from CDM UML - Next major release to CDM UML 3.5
Actions #5

Updated by Andreas Müller almost 9 years ago

  • Target version deleted (CDM UML 3.6)
Actions #6

Updated by Andreas Müller almost 8 years ago

  • Target version changed from CDM UML 4.0 to CDM UML 4.1
Actions #7

Updated by Andreas Müller almost 8 years ago

  • Priority changed from Highest to Priority13
Actions #8

Updated by Andreas Müller over 7 years ago

  • Target version changed from CDM UML 4.1 to CDM UML 4.7
Actions #9

Updated by Andreas Müller almost 7 years ago

  • Target version changed from CDM UML 4.7 to CDM UML 5.0
Actions #10

Updated by Andreas Müller almost 6 years ago

  • Target version changed from CDM UML 5.0 to CDM UML 5.5
Actions #11

Updated by Andreas Müller over 5 years ago

  • Priority changed from Priority13 to Priority12
Actions #12

Updated by Andreas Müller almost 5 years ago

  • Target version changed from CDM UML 5.5 to CDM UML 5.15
Actions #14

Updated by Andreas Müller over 4 years ago

  • Tags set to additivity
  • Description updated (diff)
Actions #16

Updated by Andreas Müller almost 4 years ago

Actions #17

Updated by Andreas Müller almost 4 years ago

  • Private changed from Yes to No
Actions #18

Updated by Andreas Müller almost 4 years ago

  • Target version changed from CDM UML 5.15 to CDM UML 5.43
Actions

Also available in: Atom PDF