W3C home > Mailing lists > Public > public-ddwg-comments@w3.org > April 2008

DDR Simple API - Convenience methods on PropertyValues

From: JOSE MANUEL CANTERA FONSECA <jmcf@tid.es>
Date: Tue, 15 Apr 2008 12:24:12 +0200
To: "public-ddwg-comments@w3.org" <public-ddwg-comments@w3.org>
Message-id: <93AA9E47B82F684A868C217766F489050397FB9EEE@EXCLU2K7.hi.inet>
Regarding the PropertyValues interface,

there are no convenience methods on that interface that allow to retrieve PropertyValues without dealing with a PropertyRef.

However the Service interface has a lot of convenience methods that avoid dealing with PropertyRef if necessary.

This seems to be a bit contradictory in the design of the API.

Proposed Amendment:

+ Add a getValue(localPropertyName) method
+ Add a getValue(localPropertyName,localAspectName,vocabularyIRI) method

to the PropertyValues interface

---

Jose Manuel Cantera
Senior Technologist

Telefónica I+D
Received on Tuesday, 15 April 2008 10:24:50 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:41:40 UTC