public IService getService(Type type)
    {
        switch (type) {
            case ALBUM:
                return new AlbumService(this.daoFactory.getAlbumDAO());
            case ARTIST:
                return new ArtistService(this.daoFactory.getArtistDAO());
            case TRACK:
                return new TrackService(this.daoFactory.getTrackDAO());
            case GENRE:
                return  new GenreService(this.daoFactory.getGenreDAO());
            default:
                throw new IllegalArgumentException();
        }
    }