Primitive types in the ivoa package

Laurent MICHEL laurent.michel at astro.unistra.fr
Mon May 18 10:42:23 CEST 2020


Helo DM,

I'm working on CAB-MSD and Modelio warns me against the use of 
ivoa:Quantity as attribute types because it is not declared as primitive.

    For the record: ivoa:Quantity and sub-types attach a unit
                    to a numerical value.

This means that I've to build an explicit composition relationship from 
my class to ivoa:Quantity if I want to use it which is rather ugly.

Is there is strong justification for this feature?

Laurent
-- 
---- English version:
      https://www.deepl.com/

---- Laurent MICHEL              Tel  (33 0) 3 68 85 24 37
      Observatoire de Strasbourg  Fax  (33 0) 3 68 85 24 32
      11 Rue de l'Universite      Mail laurent.michel at astro.unistra.fr
      67000 Strasbourg (France)   Web  http://astro.u-strasbg.fr/~michel
---


More information about the dm mailing list