public static IMapper getMapper(Type type)
    {
        switch (type) {
            case ALBUM:
                return new AlbumMapper();
            case ARTIST:
                return new ArtistMapper();
            case TRACK:
                return new TrackMapper();
            case GENRE:
                return new GenreMapper();
            default:
                throw new IllegalArgumentException();
        }
    }