From 7c23f453d166d396451504e26fbb385afc0c4c13 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Dec 2020 17:31:33 +0100 Subject: Finishing javadoc --- Album.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'Album.java') 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 * */ -- cgit v1.2.3