HughP / simal

Automatically exported from code.google.com/p/simal
0 stars 0 forks source link

Refactor doap properties representing foaf:Documents #346

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Replace all interfaces and classes used for doap properties that represent a 
URL : 

doap:bug-database 
doap:downloadpage 
doap:download-mirror 
doap:screenshot 
doap:wiki 
doap:homepage 
doap:old-homepage

with one interface/implementation/service (background in proposal on list [1]).

Deprecate the following interfaces and implementations: 

IDoapBugDatabase, BugDatabase 
IBugDatabaseService (no implementation) 
IDoapDownloadPage, DownloadPage 
IDoapDownloadMirror, DownloadMirror 
IDoapLocation, Location 
IDoapHomepage, Homepage 
IHomepageService, JenaHomepageService 
IDoapScreenshot, Screenshot 
IDoapWiki, Wiki 

Replace these all with a single interface/impl + corresponding service 
(naming as much as possible in line with current classes): 

IDocument extends IFoafResource 
Document implements IDocument 
IDocumentService extends IService 
JenaDocumentService implements IDocumentService 

This change will impact the interfaces IProject, IPerson, IDoapRepositoy 
(and ISimalRepository because of one method that has been deprecated on 
implementation level).

This will be done in a separate branch.

[1] 
http://groups.google.com/group/simal-contributors/browse_thread/thread/4cc663dad
f7c1ed8

Original issue reported on code.google.com by sander.v...@oucs.ox.ac.uk on 15 Sep 2010 at 3:31

GoogleCodeExporter commented 9 years ago
Changes made in a branch ready to be merged into the trunk. 

https://simal.googlecode.com/svn/branches/issue346_refactoring_documents

Original comment by sander.v...@oucs.ox.ac.uk on 24 Oct 2010 at 9:08

GoogleCodeExporter commented 9 years ago
Branch merged into trunk and tested. 

Original comment by sander.v...@oucs.ox.ac.uk on 4 Feb 2011 at 5:45