From 7c23f453d166d396451504e26fbb385afc0c4c13 Mon Sep 17 00:00:00 2001 From: Clyhtsuriva Date: Mon, 28 Dec 2020 17:31:33 +0100 Subject: Finishing javadoc --- javadoc/Song.html | 69 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 60 insertions(+), 9 deletions(-) (limited to 'javadoc/Song.html') diff --git a/javadoc/Song.html b/javadoc/Song.html index 3f1712f..a9de438 100644 --- a/javadoc/Song.html +++ b/javadoc/Song.html @@ -2,7 +2,7 @@ - + Song @@ -117,10 +117,11 @@ var activeTableTab = "activeTableTab";
public class Song
 extends MusicalElement
-
Song is using instanciating MusicalElement and is Serializable.
+
The Song class is used to create songs while extending MusicalElement.
See Also:
-
Serialized Form
+
MusicalElement, +Serialized Form
@@ -144,7 +145,9 @@ extends MusicalEl int duration, java.lang.String content, java.lang.String artist, - Genre genre)  + Genre genre) +
Constructor method.
+ @@ -163,23 +166,33 @@ extends MusicalEl java.lang.String -getArtist()  +getArtist() +
This method is used to give the artist of the song.
+ java.lang.String -getGenre()  +getGenre() +
This method is used to give the genre of the song.
+ void -setArtist(java.lang.String artist)  +setArtist(java.lang.String artist) +
Basic method to set the artist of the song.
+ void -setGenre(Genre genre)  +setGenre(Genre genre) +
Basic method to set the genre of the song using the name method from the Genre class.
+ java.lang.String -toString()  +toString() +
Basic method to "configure" what does a print of this object actually does.
+ @@ -238,6 +262,11 @@ extends MusicalEl
  • getArtist

    public java.lang.String getArtist()
    +
    This method is used to give the artist of the song.
    +
    +
    Returns:
    +
    artist String
    +
  • @@ -247,6 +276,13 @@ extends MusicalEl
  • getGenre

    public java.lang.String getGenre()
    +
    This method is used to give the genre of the song.
    +
    +
    Returns:
    +
    It returns the genre, which is a String because the constructor use the name method of the Genre class.
    +
    See Also:
    +
    Genre
    +
  • @@ -256,6 +292,11 @@ extends MusicalEl
  • setArtist

    public void setArtist(java.lang.String artist)
    +
    Basic method to set the artist of the song.
    +
    +
    Parameters:
    +
    artist - String
    +
  • @@ -265,6 +306,13 @@ extends MusicalEl
  • setGenre

    public void setGenre(Genre genre)
    +
    Basic method to set the genre of the song using the name method from the Genre class.
    +
    +
    Parameters:
    +
    genre - Genre
    +
    See Also:
    +
    Genre
    +
  • @@ -274,9 +322,12 @@ extends MusicalEl
  • toString

    public java.lang.String toString()
    +
    Basic method to "configure" what does a print of this object actually does.
    Overrides:
    toString in class java.lang.Object
    +
    Returns:
    +
    String, using the object's methods
  • -- cgit v1.2.3