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; } }