OwlSoft / Owl

This repository contains the remote server system of the owl suite (Owl) and the service client (Owlet)
5 stars 0 forks source link

Create Strong Typed Interfaces for DAOs #1

Closed Danielku15 closed 12 years ago

Danielku15 commented 12 years ago

There are no strong typed interfaces defined for all DAOs which need to exist. The IDaoFactory simply enforces to return any object. Please add clear interfaces which define the methods a DAO should implement:

interface IActivityDao extends IDao<Activity> {}
interface IConfigurationDao extends IDao<Configuration>  {} 
...

And implement the interfaces on the current Daos:

class Db4oActivityDao extends Db4oDaoBase<Activity> implements IActivityDao {}