<html> <head> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Le 02/11/14 00:37, Werner Keil a écrit :<br> <blockquote cite="mid:CAAGawe36-T1922O4_o9rJrhMyiA4tVA59ipcC-D6U_LVx= " type="cite"> <div dir="ltr">That's part of the Spec, while some terms there (OK, "Measurable" was already purged<img src="cid:part1.07060400.00070608@geomatys.fr" goomoji="338" style="margin: 0px 0.2ex; vertical-align: middle;">) may be influenced by JSR 275 or the prior Unit-API<br> </div> </blockquote> <p>Okay, there is a copy and paste of our spec (emphasis are mine):<br> </p> <blockquote> <p><b>Quantity:</b> Any type of <u><b>quantitative</b></u> property or attribute of a thing. For example, 'temperature', 'volume', 'pressure', 'molecular mass' and 'internal energy' are quantitative properties which can be used to describe the state of a confined gas. A unit is not needed to express a quantity. For example, Alice can quantify the mass of her shoe by handling it. A unit is not needed to do quantitative arithmetic, either. Alice can add the mass of her left shoe and the mass of her right shoe by placing them both in the pan of a balance. Units are needed to represent measurable quantities in a computer, on paper, on a network, etc. <b>In this API, quantities are restricted to the measurable ones: only the quantities that can be expressed as the combination of a numerical value and a unit are supported.</b> This is sometime considered as a partial definition of Measure rather than Quantity. Nevertheless this API uses the “quantity” term for consistency with usage in other frameworks, because the concept of quantity is needed anyway for units parametrization, and for avoiding the introduction of both concepts in the library.<br> </p> </blockquote> <p>I agree with the current spec definition. To me, the Quantity type in JSR-363 is a <i>quantitative measurement</i>, not a quantity in the sense that Jean-Marie said (Jean-Marie point of view is totally valid, but the specification approach is more specialized).<br> </p> <p>So I think that the current hierarchy is conform to the spec.<br> </p> <p> Martin<br> <br> </p> </body> </html>
Attachment:
gifdhUmHF0kFI.gif
Description: GIF image
Re: On Quantity - Measurement relationship |
(continued) | |
Werner Keil | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Jean-Marie Dautelle | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Re: On Quantity - Measurement relationship |
Martin Desruisseaux | 11/01/2014 |
Werner Keil | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Werner Keil | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Martin Desruisseaux | 11/01/2014 | |
Werner Keil | 11/01/2014 |