com.breeweb.slimconnect.data
Class PlaylistSearchCriteria

java.lang.Object
  extended bycom.breeweb.slimconnect.data.PlaylistSearchCriteria

public class PlaylistSearchCriteria
extends java.lang.Object

Author:
Bas de Bree

Constructor Summary
PlaylistSearchCriteria()
          creates a default PlaylistSearchCriteria, which searches with three wildcards.
PlaylistSearchCriteria(java.lang.String genre, java.lang.String artist, java.lang.String album)
          Creates a SearchCriteria using the parameters genre, artist, album.
 
Method Summary
 java.lang.String getAlbum()
           
 java.lang.String getArtist()
           
 java.lang.String getGenre()
           
static java.lang.String getWildcard()
          returns the wildcard as String.
 void setAlbum(java.lang.String album)
           
 void setArtist(java.lang.String artist)
           
 void setGenre(java.lang.String genre)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaylistSearchCriteria

public PlaylistSearchCriteria()
creates a default PlaylistSearchCriteria, which searches with three wildcards. please set genre, artist and or album.


PlaylistSearchCriteria

public PlaylistSearchCriteria(java.lang.String genre,
                              java.lang.String artist,
                              java.lang.String album)
Creates a SearchCriteria using the parameters genre, artist, album. All wildcards will be overridden.

Parameters:
genre - the genre which should match the required song(s)
artist - the artist which should match the required song(s)
album - the album which should match the required song(s)
Method Detail

getWildcard

public static java.lang.String getWildcard()
returns the wildcard as String.

Returns:
the wildcard as String

getAlbum

public java.lang.String getAlbum()
Returns:
Returns the album.

setAlbum

public void setAlbum(java.lang.String album)
Parameters:
album - The album to set.

getArtist

public java.lang.String getArtist()
Returns:
Returns the artist.

setArtist

public void setArtist(java.lang.String artist)
Parameters:
artist - The artist to set.

getGenre

public java.lang.String getGenre()
Returns:
Returns the genre.

setGenre

public void setGenre(java.lang.String genre)
Parameters:
genre - The genre to set.