You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.1 KiB
58 lines
1.1 KiB
package device.cdPlayer;
|
|
|
|
public class CD {
|
|
private String format;
|
|
private String albumName;
|
|
private String[] playList;
|
|
private String id;
|
|
|
|
public CD() {}
|
|
|
|
public CD(String format) {
|
|
this.format = format;
|
|
}
|
|
|
|
public CD(String format, String[] playList) {
|
|
this.format = format;
|
|
this.playList = playList;
|
|
}
|
|
|
|
public CD(String format, String albumName, String[] playList, String id) {
|
|
this.format = format;
|
|
this.albumName = albumName;
|
|
this.playList = playList;
|
|
this.id = id;
|
|
}
|
|
|
|
public String getFormat() {
|
|
return format;
|
|
}
|
|
|
|
public void setFormat(String format) {
|
|
this.format = format;
|
|
}
|
|
|
|
public String[] getPlayList() {
|
|
return playList;
|
|
}
|
|
|
|
public void setPlayList(String[] playList) {
|
|
this.playList = playList;
|
|
}
|
|
|
|
public String getAlbumName() {
|
|
return albumName;
|
|
}
|
|
|
|
public void setAlbumName(String albumName) {
|
|
this.albumName = albumName;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
}
|