|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.atunes.kernel.modules.repository.RepositoryStats
public class RepositoryStats
The Class RepositoryStats.
Constructor Summary | |
---|---|
protected |
RepositoryStats()
Instantiates a new repository stats. |
Method Summary | |
---|---|
RankList<Album> |
getAlbumsRanking()
Gets the albums ranking. |
RankList<Artist> |
getArtistsRanking()
Gets the artists ranking. |
int |
getDifferentSongsPlayed()
Gets the different songs played. |
RankList<AudioFile> |
getSongsRanking()
Gets the songs ranking. |
java.util.Map<java.lang.String,SongStats> |
getSongsStats()
Gets the songs stats. |
SongStats |
getStatsForFile(AudioFile song)
Gets the stats for file. |
int |
getTotalPlays()
Gets the total plays. |
void |
setAlbumsRanking(RankList<Album> albumsRanking)
Sets the albums ranking. |
void |
setArtistsRanking(RankList<Artist> artistsRanking)
Sets the artists ranking. |
void |
setDifferentSongsPlayed(int differentSongsPlayed)
Sets the different songs played. |
void |
setSongsRanking(RankList<AudioFile> songsRanking)
Sets the songs ranking. |
void |
setSongsStats(java.util.Map<java.lang.String,SongStats> songsStats)
Sets the songs stats. |
void |
setTotalPlays(int totalPlays)
Sets the total plays. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected RepositoryStats()
Method Detail |
---|
public RankList<Album> getAlbumsRanking()
public RankList<Artist> getArtistsRanking()
public int getDifferentSongsPlayed()
public RankList<AudioFile> getSongsRanking()
public java.util.Map<java.lang.String,SongStats> getSongsStats()
public SongStats getStatsForFile(AudioFile song)
song
- the song
public int getTotalPlays()
public void setAlbumsRanking(RankList<Album> albumsRanking)
albumsRanking
- the new albums rankingpublic void setArtistsRanking(RankList<Artist> artistsRanking)
artistsRanking
- the new artists rankingpublic void setDifferentSongsPlayed(int differentSongsPlayed)
differentSongsPlayed
- the new different songs playedpublic void setSongsRanking(RankList<AudioFile> songsRanking)
songsRanking
- the new songs rankingpublic void setSongsStats(java.util.Map<java.lang.String,SongStats> songsStats)
songsStats
- the songs statspublic void setTotalPlays(int totalPlays)
totalPlays
- the new total plays
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |