aboutsummaryrefslogtreecommitdiff
path: root/Song.java
diff options
context:
space:
mode:
Diffstat (limited to 'Song.java')
-rw-r--r--Song.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Song.java b/Song.java
index 2890536..6e26332 100644
--- a/Song.java
+++ b/Song.java
@@ -15,7 +15,7 @@ public class Song extends MusicalElement{
public void setGenre(Genre genre){this.genre=genre.name();}
public String toString() {
- return "Title : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre();
+ return "Id : "+getId()+"\nTitle : "+getTitle()+"\nDuration : "+getDuration()+"\nContent : "+getContent()+"\nArtist : "+getArtist()+"\nGenre : "+getGenre();
// return getTitle()+";"+getDuration()+";"+getContent()+";"+getArtist()+";"+getGenre();
}