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

Re: Preview of full latest Java Interface : Comments on SimpleService interface

From: José Manuel Cantera Fonseca <jmcf@tid.es>
Date: Wed, 27 Feb 2008 09:27:10 +0100
To: Jo Rabin <jrabin@mtld.mobi>
Cc: "public-ddwg@w3.org" <public-ddwg@w3.org>
Message-id: <47C51EDE.2050307@tid.es>

+ I'm missing a newHttpEvidence() method. We agree that the Java binding 
is gonna also have a newHttpEvidence(Map) but the method with no 
parameters is also needed as it is the only method present in IDL and in 
every language binding

+ The methods that only receive a property and not an aspect, Are they 
going to return the property value for the default aspect of the property?

+ The getPropertyValues method should have at least one more overloaded 
method:

    public SimplePropertyValues getSimplePropertyValues(SimpleEvidence 
evidence,
            PropertyName property) throws NameException, SystemException;

which will return all the property values for that property in all the 
aspects of that property

+ I'm a bit worried about the complexity of the overloading that we are 
putting in place We should think of what is gonna be the most common use 
case and model it in a convenience function and leave the other cases 
behind the SimplePropertyRef and SimpleProperty interfaces

So perhaps it only makes sense to mantain the getPropertyValue(Evidence, 
String localPropertyName) as the only fast food method ...with the 
possible addition of the methods that allow to retrieve all the 
properties of an aspect

Also I'm not very convinced that we need to have in everyplace the word 
'Simple', that could be left in the package name ...

Best Regards

Jo Rabin escribió:
>
> I’ve uploaded an edited copy of the latest Java interfaces as I 
> believe agreed on list. However, there are a couple of instances of 
> editorial discretion wrt names etc.
>
>  
>
> Seeing as I am very short of time I’d like people to review this and 
> make any comments known _/before/_ I go ahead and edit/issue a new 
> draft. I’m going to hold off producing the draft till tomorrow.
>
>  
>
> You will find the new interfaces at
>
>  
>
> http://www.w3.org/2005/MWI/DDWG/drafts/api/simple/java/org/w3c/ddr/simple/
>
>  
>
> Jo
>
>  
>
>  
>
Received on Wednesday, 27 February 2008 08:25:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 12:13:53 GMT