2013-04-06 21:47:24 +02:00
|
|
|
/*
|
|
|
|
This file is part of Subsonic.
|
|
|
|
|
|
|
|
Subsonic is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Subsonic is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with Subsonic. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
Copyright 2009 (C) Sindre Mehus
|
|
|
|
*/
|
|
|
|
package com.thejoshwa.ultrasonic.androidapp.domain;
|
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
import java.util.ArrayList;
|
2013-04-06 21:47:24 +02:00
|
|
|
import java.util.List;
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author Sindre Mehus
|
|
|
|
*/
|
|
|
|
public class Indexes implements Serializable {
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
*/
|
2013-05-16 09:59:55 +02:00
|
|
|
private static final long serialVersionUID = 8156117238598414701L;
|
2013-04-06 21:47:24 +02:00
|
|
|
private final long lastModified;
|
2013-05-16 09:59:55 +02:00
|
|
|
private final List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> shortcuts;
|
|
|
|
private final List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> artists;
|
2013-04-06 21:47:24 +02:00
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
public Indexes(long lastModified, List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> shortcuts, List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> artists) {
|
2013-04-06 21:47:24 +02:00
|
|
|
this.lastModified = lastModified;
|
|
|
|
this.shortcuts = shortcuts;
|
|
|
|
this.artists = artists;
|
|
|
|
}
|
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
public long getLastModified() {
|
2013-04-06 21:47:24 +02:00
|
|
|
return lastModified;
|
|
|
|
}
|
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
public List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> getShortcuts() {
|
2013-04-06 21:47:24 +02:00
|
|
|
return shortcuts;
|
|
|
|
}
|
|
|
|
|
2013-05-16 09:59:55 +02:00
|
|
|
public List<com.thejoshwa.ultrasonic.androidapp.domain.Artist> getArtists() {
|
2013-04-06 21:47:24 +02:00
|
|
|
return artists;
|
|
|
|
}
|
2012-02-26 21:25:13 +01:00
|
|
|
}
|