aboutsummaryrefslogtreecommitdiff
path: root/Album.java
blob: b48cf8e4d50859fe2a1cd267e28e0ec39f7b2b8a (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
25
26
27
import java.util.ArrayList;

public class Album {
	private int id, duration, date;
	private String title, artist;
	private ArrayList songs = new ArrayList();
	public Album(int id, String title, int duration, String artist, int date, ArrayList songs) {
		this.id=id;
		this.title=title;
		this.duration=duration;
		this.artist=artist;
		this.date=date;
		this.songs=songs;
	}

	public int getId(){return id;}
	public String getTitle(){return title;}
	public int getDuration(){


		return duration;

	}



}