Package org.plugtree.training.model

Examples of org.plugtree.training.model.Artist


        return playlist;
    }

    private Song createThrillerSong() {
        Song song = new Song("Thriller", Song.Genre.POP, 6540, 1982);
        song.addArtist(new Artist("Michael", "Jackson"));


        return song;

View Full Code Here


    }

    private Song createAdagioSong() {
        Song song = new Song("Adagio", Song.Genre.CLASSICAL, 2561, 1708);
        song.addArtist(new Artist("Johann Sebastian", "Bach"));


        return song;

View Full Code Here

    }

    private Song createTheFinalCountdownSong() {
        Song song = new Song("The final countdown", Song.Genre.ROCK, 300, 1985);
        song.addArtist(new Artist("Joey", "Tempest"));
        song.addArtist(new Artist("John", "Norum"));


        return song;

    }
View Full Code Here

     * Creates a Michael Jackson song ("Thriller").
     * @return the created song.
     */
    private Song createThriller() {
        Song song = new Song("Thriller", Song.Genre.POP,6540);
        song.addArtist(new Artist("Michael", "Jackson"));
        return song;
    }
View Full Code Here

     * Creates a Bach song ("Adagio").
     * @return the created song.
     */
    private Song createAdagio() {
        Song song = new Song("Adagio", Song.Genre.CLASSICAL,2561);
        song.addArtist(new Artist("Johann Sebastian", "Bach"));
        return song;
    }
View Full Code Here

        Playlist playlist = new Playlist();
        playlist.setName("My favorite songs");


        Song song = new Song("Thriller", Song.Genre.POP, 6540, 1982);
        song.addArtist(new Artist("Michael", "Jackson"));
        playlist.addSong(song);

        song = new Song("Adagio", Song.Genre.CLASSICAL, 2561, 1708);
        song.addArtist(new Artist("Johann Sebastian", "Bach"));
        playlist.addSong(song);

        song = new Song("The final countdown", Song.Genre.ROCK, 300, 1985);
        song.addArtist(new Artist("Joey", "Tempest"));
        song.addArtist(new Artist("John", "Norum"));
        playlist.addSong(song);

        return playlist;
    }
View Full Code Here

    private Playlist createShortPlaylist() {
        Playlist playlist = new Playlist();
        playlist.setName("Rock songs");

        Song song = new Song("The final countdown", Song.Genre.ROCK, 300, 1985);
        song.addArtist(new Artist("Joey", "Tempest"));
        song.addArtist(new Artist("John", "Norum"));
        playlist.addSong(song);

        song = new Song("Thriller", Song.Genre.POP, 6540, 1982);
        song.addArtist(new Artist("Michael", "Jackson"));
        playlist.addSong(song);

        return playlist;
    }
View Full Code Here

     * Creates a new playlist containing just one song: "Thriller"
     * @return a new playlist containing just one song: "Thriller"
     */
    private Song createThrillerSong(){
        Song song = new Song("Thriller", Song.Genre.POP, 6540, 1982);
        song.addArtist(new Artist("Michael", "Jackson"));
        return song;
    }
View Full Code Here

     * Creates a new playlist containing just one song: "Adagio"
     * @return a new playlist containing just one song: "Adagio"
     */
    private Song createAdagioSong(){
        Song song = new Song("Adagio", Song.Genre.CLASSICAL, 2561, 1708);
        song.addArtist(new Artist("Johann Sebastian", "Bach"));
        return song;
    }
View Full Code Here

     * Creates a new playlist containing just one song: "The final countdown"
     * @return a new playlist containing just one song: "The final countdown"
     */
    private Song createTheFinalCountdownSong(){
        Song song = new Song("The final countdown", Song.Genre.ROCK, 300, 1985);
        song.addArtist(new Artist("Joey", "Tempest"));
        song.addArtist(new Artist("John", "Norum"));
        return song;
    }
View Full Code Here

TOP

Related Classes of org.plugtree.training.model.Artist

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.