Esempio n. 1
0
 public void setRating(Rating rating)
 {
     this.rating = rating;
 }
Esempio n. 2
0
 public Movie(String name, Rating rating, Genre genre)
 {
     this.name   = name;
     this.rating = rating;
     this.genre  = genre;
 }