Methods Summary |
---|
public java.lang.String | getArtist()This returns the musical artist for this CD.
return artist;
|
public java.lang.String | getLabel()This returns the label for this CD.
return label;
|
public java.lang.String | getTitle() This returns the title of this CD.
return title;
|
public void | setArtist(java.lang.String artist)This will set the artist for this CD.
this.artist = artist;
|
public void | setLabel(java.lang.String label)This will set the label of this CD.
this.label = label;
|
public void | setTitle(java.lang.String title)This will set the title of this CD.
this.title = title;
|
public java.lang.String | toString()This overrides the default behavior of toString()
and provides the basic information about this CD instance.
return "'" + title + "' by " + artist + ", on " +
label;
|