W3C home > Mailing lists > Public > public-ddwg@w3.org > November 2007

Default units of a property (mandatory for DDRs)

From: Josť Manuel Cantera Fonseca <jmcf@tid.es>
Date: Fri, 23 Nov 2007 11:23:19 +0100
To: public-ddwg@w3.org
Message-id: <4746AA17.6090306@tid.es>


While drafting the DDRPropertyValue methods I have realized that perhaps 
we need to specifiy clearly in the vocabulary what are the default units 
of a property. The reason is the following:

We are going to have getValueAsDouble(), getValueAsFloat(), etc. methods 
that are going to return the value in the default units of ... what?
a) of the property
b) or the default (and maybe only) units that a DDR knows for that 

I think that default units should be bound to the property and not to 
the value, so I think we need a default unit for each property in a 
vocab. That will encourage interoperability between DDRs

What others think about this?

Best Regards
Received on Friday, 23 November 2007 11:28:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:00:15 UTC