co.arcs.groove.thresher
Class Song

java.lang.Object
  extended by co.arcs.groove.thresher.Song

public class Song
extends Object


Nested Class Summary
static class Song.UserData
           
 
Method Summary
 boolean equals(Object obj)
           
 int getAlbumId()
           
 String getAlbumName()
           
 int getArtistId()
           
 String getArtistName()
           
 String getCoverArtFilename()
           
 int getDuration()
           
 int getId()
           
 String getName()
           
 int getPopularity()
           
 int getTrack()
           
 Song.UserData getUserData()
          Get data about the user associated with this song instance.
 int getYear()
           
 int hashCode()
           
 boolean isLowBitrateAvailable()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getId

public int getId()

getName

@Nullable
public String getName()

getTrack

public int getTrack()

getDuration

public int getDuration()

getCoverArtFilename

@Nullable
public String getCoverArtFilename()

isLowBitrateAvailable

public boolean isLowBitrateAvailable()

getPopularity

public int getPopularity()

getYear

public int getYear()

getAlbumId

public int getAlbumId()

getAlbumName

@Nullable
public String getAlbumName()

getArtistId

public int getArtistId()

getArtistName

@Nullable
public String getArtistName()

getUserData

@Nullable
public Song.UserData getUserData()
Get data about the user associated with this song instance.

Returns:
Data about the user, or null if no user is associated.


Copyright © 2014. All rights reserved.