private static Movie buildMovieInfo( String category, String title, String description, String studio, String videoUrl, String cardImageUrl, String bgImageUrl) { Movie movie = new Movie(); movie.setId(Movie.getCount()); Movie.incCount(); movie.setTitle(title); movie.setDescription(description); movie.setStudio(studio); movie.setCategory(category); movie.setCardImageUrl(cardImageUrl); movie.setBackgroundImageUrl(bgImageUrl); movie.setVideoUrl(videoUrl); return movie; }