org.musicontroller.importer
Class PlaylistImportProperties

java.lang.Object
  extended by org.musicontroller.importer.PlaylistImportProperties
All Implemented Interfaces:
java.io.Serializable

public class PlaylistImportProperties
extends java.lang.Object
implements java.io.Serializable

This bean can hold information about a playlist to be imported. The information kept is the release date and a cover art search result.

Version:
$Id: PlaylistImportProperties.java,v 1.1 2010/03/16 18:55:43 varienaja Exp $
Author:
Hans Drexler
See Also:
Serialized Form

Constructor Summary
PlaylistImportProperties()
          No arguments constructor release date 1-1-1900, no cover art search done, add to existing.
 
Method Summary
 java.lang.String getCoverArt()
          Getter for the proposed cover art image.
 java.lang.String getPlaylistName()
          Getter for the playlist name.
 java.util.Date getReleaseDate()
          Getter for the release date.
 java.util.Date getTimeOfLastCoverArtSearch()
          Getter for the date and time the cover art search was last done.
 boolean isAddToExistingPlaylist()
           
 boolean isCoverArtSearchDone()
          Returns true if a cover art search has been performed.
 void setAddToExistingPlaylist(boolean toExistingPlaylist)
           
 void setCoverArt(java.lang.String _coverart)
          Setter for the proposed cover art image.
 void setCoverArtSearchDone(boolean artSearchDone)
          Set to true to indicate a cover art search has been done.
 void setPlaylistName(java.lang.String name)
          Setter for the playlist name.
 void setReleaseDate(java.util.Date releaseDate)
          Setter for the release date.
 void setTimeOfLastCoverArtSearch(java.util.Date ofLastCoverArtSearch)
          Setter for the date and time the cover art search was last done.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaylistImportProperties

public PlaylistImportProperties()
No arguments constructor release date 1-1-1900, no cover art search done, add to existing.

Method Detail

isAddToExistingPlaylist

public boolean isAddToExistingPlaylist()

setAddToExistingPlaylist

public void setAddToExistingPlaylist(boolean toExistingPlaylist)

getCoverArt

public java.lang.String getCoverArt()
Getter for the proposed cover art image.

Returns:
The cover art image.

setCoverArt

public void setCoverArt(java.lang.String _coverart)
Setter for the proposed cover art image.

Parameters:
_coverart - The proposed cover art image.

getPlaylistName

public java.lang.String getPlaylistName()
Getter for the playlist name.

Returns:
The playlist name.

setPlaylistName

public void setPlaylistName(java.lang.String name)
Setter for the playlist name.

Parameters:
name - The playlist name.

getReleaseDate

public java.util.Date getReleaseDate()
Getter for the release date.

Returns:
The release date.

setReleaseDate

public void setReleaseDate(java.util.Date releaseDate)
Setter for the release date.

Parameters:
releaseDate - The release date.

isCoverArtSearchDone

public boolean isCoverArtSearchDone()
Returns true if a cover art search has been performed.

Returns:
True if a cover art search has been performed.

setCoverArtSearchDone

public void setCoverArtSearchDone(boolean artSearchDone)
Set to true to indicate a cover art search has been done.

Parameters:
artSearchDone - Indicator of status cover art search.

getTimeOfLastCoverArtSearch

public java.util.Date getTimeOfLastCoverArtSearch()
Getter for the date and time the cover art search was last done.

Returns:
The time of the last cover art search.

setTimeOfLastCoverArtSearch

public void setTimeOfLastCoverArtSearch(java.util.Date ofLastCoverArtSearch)
Setter for the date and time the cover art search was last done.

Parameters:
ofLastCoverArtSearch - Time of the last cover art search.


Copyright © 2010 A.J.V.. All Rights Reserved.