- From: Jo Rabin <jrabin@mtld.mobi>
- Date: Fri, 15 Feb 2008 14:37:54 -0000
- To: "Rodrigo Garcia Acevedo" <rodrigo.garcia@fundacionctic.org>, José Manuel Cantera Fonseca <jmcf@tid.es>
- Cc: <public-ddwg@w3.org>
Hi Rodrigo I made some small changes to the IDL in the current draft 1c of the Simple API. I found that the Eclipse Plug In I am using for IDL does not like methods in exceptions so changed them to member fields. Also I changed the reference to stringArray to StringArray. I really don't know anything about IDL so not sure whether this was the right thing to do, but at least it stopped Eclipse complaining. Jo > -----Original Message----- > From: public-ddwg-request@w3.org [mailto:public-ddwg-request@w3.org] On > Behalf Of Rodrigo Garcia Acevedo > Sent: 12 February 2008 10:33 > To: José Manuel Cantera Fonseca > Cc: public-ddwg@w3.org > Subject: RE: New simple API version with aspect support > > > Hi all. > > I support Jose's point about dropping the string methods to work with more > specific types as it makes the API more robust and flexible (later on > those classes could be easily extended through inheritance, etc). > I also like the idea of adding the factory methods like newPropertyName > and newAspectName and the cataloguing functions. I don't think they are > neither cumbersome nor difficult to use. > > Just two comments: > - To be totally consistent throughout the API, the vocabularyIRI string > should be wrapped in a specific type with its own factory method too, > shouldn't it? > - The listProperties(string vocabularyIRI) should throw a NameException > too. > > Best regards, > Rodrigo. > > Btw, I uploaded the IDL for the current Simple API to the Morfeo's > repository. > > svn: https://svn.morfeo-project.org/svn/ddr-ri/trunk/Simple/API/idl > http: https://forge.morfeo- > project.org/plugins/scmsvn/viewcvs.php/trunk/Simple/API/idl/?root=ddr-ri > > _________________________________________________________ > Rodrigo García Acevedo - rodrigo.garcia@fundacionctic.org > Departamento I+D+i > Fundación CTIC - www.fundacionctic.org > Parque Científico Tecnológico de Gijón > Edificio Centros Tecnológicos > 33203 Cabueñes - Gijón - Asturias - Spain > Phone: +34 984 29 12 12 > Fax: +34 984 39 06 12 > _________________________________________________________ > > -----Mensaje original----- > De: public-ddwg-request@w3.org [mailto:public-ddwg-request@w3.org] En > nombre de José Manuel Cantera Fonseca > Enviado el: lunes, 11 de febrero de 2008 18:07 > Para: José Manuel Cantera Fonseca > CC: public-ddwg@w3.org > Asunto: Re: New simple API version with aspect support > > > The new version can be downloaded from SVN at > > https://svn.morfeo-project.org/svn/ddr-ri/trunk/Simple/API/java/DevInfo- > Simple-API > > The code can be browsed in > > https://forge.morfeo- > project.org/plugins/scmsvn/viewcvs.php/trunk/Simple/API/java/DevInfo- > Simple-API/?root=ddr-ri > > Best Regards > > José Manuel Cantera Fonseca escribió: > > > > Hi all, > > > > As agreed I have just uploaded a new version of the Java simple API > > for DD. The new version includes aspect support and the cataloguing > > functions supported by Jo. Also it includes the new newProperty > > factory methods that avoid dealing directly with Strings in the > > getProperty methods. > > > > Please note that the getPropertyValue methods do not deal with Strings > > and I think this is part of the beauty of this API compared to WURFL's > > (btw Luca has just announced a new version of the WURFL API :) ). > > > > IMHO saying that something is String is saying nothing, but using > > something more specifically typed is good for our interface and for > > standardization purposes. > > > > That's all for now > > > > Best Regards > > > > > > >
Received on Friday, 15 February 2008 14:43:54 UTC