36 lines
1.1 KiB
Java
36 lines
1.1 KiB
Java
//: gui/flex/Song.java
|
|
package gui.flex;
|
|
|
|
public class Song implements java.io.Serializable {
|
|
private String name;
|
|
private String artist;
|
|
private String album;
|
|
private String albumImageUrl;
|
|
private String songMediaUrl;
|
|
public Song() {}
|
|
public Song(String name, String artist, String album,
|
|
String albumImageUrl, String songMediaUrl) {
|
|
this.name = name;
|
|
this.artist = artist;
|
|
this.album = album;
|
|
this.albumImageUrl = albumImageUrl;
|
|
this.songMediaUrl = songMediaUrl;
|
|
}
|
|
public void setAlbum(String album) { this.album = album;}
|
|
public String getAlbum() { return album; }
|
|
public void setAlbumImageUrl(String albumImageUrl) {
|
|
this.albumImageUrl = albumImageUrl;
|
|
}
|
|
public String getAlbumImageUrl() { return albumImageUrl;}
|
|
public void setArtist(String artist) {
|
|
this.artist = artist;
|
|
}
|
|
public String getArtist() { return artist; }
|
|
public void setName(String name) { this.name = name; }
|
|
public String getName() { return name; }
|
|
public void setSongMediaUrl(String songMediaUrl) {
|
|
this.songMediaUrl = songMediaUrl;
|
|
}
|
|
public String getSongMediaUrl() { return songMediaUrl; }
|
|
} ///:~
|