1 package org.musicontroller.importer;
2
3 import java.io.Serializable;
4 import java.util.Date;
5
6 import org.varienaja.util.DateTools;
7
8
9
10
11
12
13
14
15 public class PlaylistImportProperties implements Serializable {
16
17 private static final long serialVersionUID = 2008032201L;
18
19
20
21
22 private String _playlistName;
23
24
25
26
27 private boolean _addToExistingPlaylist;
28
29
30
31
32 private boolean _coverArtSearchDone;
33
34
35
36
37 private Date _timeOfLastCoverArtSearch;
38
39
40
41
42 private transient String _coverart;
43
44
45
46
47 private Date _releaseDate;
48
49
50
51
52 public PlaylistImportProperties() {
53 _releaseDate = DateTools.encodeDate(1, 1, 1900);
54 _addToExistingPlaylist = true;
55 _coverArtSearchDone = false;
56 }
57
58 public boolean isAddToExistingPlaylist() {
59 return _addToExistingPlaylist;
60 }
61
62 public void setAddToExistingPlaylist(boolean toExistingPlaylist) {
63 _addToExistingPlaylist = toExistingPlaylist;
64 }
65
66
67
68
69
70 public String getCoverArt() {
71 return _coverart;
72 }
73
74
75
76
77
78 public void setCoverArt(String _coverart) {
79 this._coverart = _coverart;
80 }
81
82
83
84
85
86 public String getPlaylistName() {
87 return _playlistName;
88 }
89
90
91
92
93
94 public void setPlaylistName(String name) {
95 _playlistName = name;
96 }
97
98
99
100
101
102 public Date getReleaseDate() {
103 return _releaseDate;
104 }
105
106
107
108
109
110 public void setReleaseDate(Date releaseDate) {
111 _releaseDate = releaseDate;
112 }
113
114
115
116
117
118 public boolean isCoverArtSearchDone() {
119 return _coverArtSearchDone;
120 }
121
122
123
124
125
126 public void setCoverArtSearchDone(boolean artSearchDone) {
127 _coverArtSearchDone = artSearchDone;
128 }
129
130
131
132
133
134 public Date getTimeOfLastCoverArtSearch() {
135 return _timeOfLastCoverArtSearch;
136 }
137
138
139
140
141
142 public void setTimeOfLastCoverArtSearch(Date ofLastCoverArtSearch) {
143 _timeOfLastCoverArtSearch = ofLastCoverArtSearch;
144 }
145 }