blob: 635f62ae27a8e29983150307d0b5c5f77a038f79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
import java.util.ArrayList;
import java.io.Serializable;
public class Playlist implements Serializable {
private int id;
private String name;
private ArrayList<Song> content = new ArrayList<Song>();
public Playlist(int id, String name, ArrayList<Song> content) {
this.id=id;
this.name=name;
this.content=content;
}
public int getId(){return id;}
public String getName(){return name;}
public ArrayList<Song> getContent(){return content;}
public void setID(){this.id=id;}
public void setName(){this.name=name;}
// public void setContent(){this.content=content;}
}
|