-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathSongData.java
More file actions
113 lines (88 loc) · 2.1 KB
/
SongData.java
File metadata and controls
113 lines (88 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import java.io.Serializable;
import java.util.ArrayList;
/**
* Container class for holding all song data
*
* @author Akshay
*
*/
public class SongData implements Serializable {
private static final long serialVersionUID = 1L;
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public ArrayList<String> getUrl() {
return url;
}
public void setUrl(ArrayList<String> url) {
this.url = url;
}
public String getAlbum() {
return album;
}
public void setAlbum(String album) {
this.album = album;
}
public String getArtist() {
return artist;
}
public void setArtist(String artist) {
this.artist = artist;
}
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
public String getGenre() {
return genre;
}
public void setGenre(String genre) {
this.genre = genre;
}
public String getAlbumArt() {
return albumArt;
}
public void setAlbumArt(String albumArt) {
this.albumArt = albumArt;
}
public String getmetaTitle() {
return metaTitle;
}
public void setmetaTitle(String metaTitle) {
this.metaTitle = metaTitle;
}
public String getmetaDescription() {
return metaDescription;
}
public void setmetaDescription(String metaDescription) {
this.metaDescription = metaDescription;
}
private String title;
private ArrayList<String> url;
private String album;
private String artist;
private String year;
private String genre;
private String albumArt;
private String metaTitle;
private String metaDescription;
public SongData(String title, String url, String album, String artist,
String year, String genre, String albumArt, String metaTitle2,
String metaDescription2) {
this.title = title;
this.album = album;
this.artist = artist;
this.year = year;
this.genre = genre;
this.albumArt = albumArt;
this.url = new ArrayList<>();
this.url.add(url);
this.metaTitle = metaTitle2;
this.metaDescription = metaDescription2;
}
}