Пример #1
0
 public void setGenre(Genre genre)
 {
     this.genre = genre;
 }
Пример #2
0
 public Movie(String name, Rating rating, Genre genre)
 {
     this.name   = name;
     this.rating = rating;
     this.genre  = genre;
 }