aboutsummaryrefslogtreecommitdiff
path: root/Album.java
diff options
context:
space:
mode:
Diffstat (limited to 'Album.java')
-rw-r--r--Album.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/Album.java b/Album.java
index 71bf0d7..7b30ca1 100644
--- a/Album.java
+++ b/Album.java
@@ -18,6 +18,7 @@ import java.io.Serializable;
*
* @version 1.0
*
+ * @see Song
* @author Aimeric ADJUTOR
*/
@@ -54,7 +55,7 @@ public class Album implements Serializable {
*
* @return It returns the id, which is an int.
*
- * @author Aimeric ADJUTOR
+ * @author Aimeric ADJUTOR
* */
public int getId(){return id;}
@@ -99,6 +100,12 @@ public class Album implements Serializable {
* @author Aimeric ADJUTOR
* */
public Date getDate(){return date;}
+
+/**
+ * This method is used to print the each songs contained in the songs attribute of the album.
+ *
+ * @author Aimeric ADJUTOR
+ * */
public void getSongs(){
for ( Song s : songs ){
System.out.println(s);
@@ -135,7 +142,7 @@ public class Album implements Serializable {
/**
* Basic method to set the title of the album.
*
- *@param title String
+ * @param title String
*
* @author Aimeric ADJUTOR
* */