net.sourceforge.atunes.kernel.modules.contextInformation.lastfm.data
Class LastFmSimilarArtists

java.lang.Object
  extended by net.sourceforge.atunes.kernel.modules.contextInformation.lastfm.data.LastFmSimilarArtists
All Implemented Interfaces:
SimilarArtistsInfo

public class LastFmSimilarArtists
extends java.lang.Object
implements SimilarArtistsInfo

The Class LastFmSimilarArtists.


Field Summary
static int MAX_SIMILAR_ARTISTS
          The Constant MAX_SIMILAR_ARTISTS.
 
Constructor Summary
LastFmSimilarArtists()
           
 
Method Summary
 java.lang.String getArtistName()
          Gets the artist name.
 java.util.List<ArtistInfo> getArtists()
          Gets the artists.
 java.lang.String getPicture()
          Gets the picture.
static SimilarArtistsInfo getSimilarArtists(java.util.Collection<Artist> as, Artist a)
          Gets the similar artists.
 void setArtistName(java.lang.String artistName)
          Sets the artist name.
 void setArtists(java.util.List<? extends ArtistInfo> artists)
          Sets the artists.
 void setPicture(java.lang.String picture)
          Sets the picture.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_SIMILAR_ARTISTS

public static final int MAX_SIMILAR_ARTISTS
The Constant MAX_SIMILAR_ARTISTS.

See Also:
Constant Field Values
Constructor Detail

LastFmSimilarArtists

public LastFmSimilarArtists()
Method Detail

getSimilarArtists

public static SimilarArtistsInfo getSimilarArtists(java.util.Collection<Artist> as,
                                                   Artist a)
Gets the similar artists.

Returns:
the similar artists

getArtistName

public java.lang.String getArtistName()
Gets the artist name.

Specified by:
getArtistName in interface SimilarArtistsInfo
Returns:
the artist name

getArtists

public java.util.List<ArtistInfo> getArtists()
Gets the artists.

Specified by:
getArtists in interface SimilarArtistsInfo
Returns:
the artists

getPicture

public java.lang.String getPicture()
Gets the picture.

Specified by:
getPicture in interface SimilarArtistsInfo
Returns:
the picture

setArtistName

public void setArtistName(java.lang.String artistName)
Sets the artist name.

Specified by:
setArtistName in interface SimilarArtistsInfo
Parameters:
artistName - the artistName to set

setArtists

public void setArtists(java.util.List<? extends ArtistInfo> artists)
Sets the artists.

Specified by:
setArtists in interface SimilarArtistsInfo
Parameters:
artists - the artists to set

setPicture

public void setPicture(java.lang.String picture)
Sets the picture.

Specified by:
setPicture in interface SimilarArtistsInfo
Parameters:
picture - the picture to set


Copyright © 2006-2008 The aTunes Team. All Rights Reserved.