5 changed files with 90 additions and 71 deletions
Unified View
Diff Options
-
BINFavorite_Movies/bin/Movies$1.class
-
BINFavorite_Movies/bin/Movies$2.class
-
BINFavorite_Movies/bin/Movies.class
-
89Favorite_Movies/src/Movie.java
-
72Favorite_Movies/src/Movies.java
@ -1,4 +1,93 @@ |
|||||
public class Movie { |
public class Movie { |
||||
|
private int movieId; |
||||
|
private String title; |
||||
|
private int year; |
||||
|
private int length; |
||||
|
private String genre; |
||||
|
private String studioName; |
||||
|
private String producerName; |
||||
|
private String shortDescription; |
||||
|
private double avgRating; |
||||
|
private int numWatched; |
||||
|
|
||||
|
|
||||
|
public int getMovieId() { |
||||
|
return this.movieId; |
||||
|
} |
||||
|
|
||||
|
public void setMovieId(int movieId) { |
||||
|
this.movieId = movieId; |
||||
|
} |
||||
|
|
||||
|
public String getTitle() { |
||||
|
return this.title; |
||||
|
} |
||||
|
|
||||
|
public void setTitle(String title) { |
||||
|
this.title = title; |
||||
|
} |
||||
|
|
||||
|
public int getYear() { |
||||
|
return year; |
||||
|
} |
||||
|
|
||||
|
public void setYear(int year) { |
||||
|
this.year = year; |
||||
|
} |
||||
|
|
||||
|
public int getLength() { |
||||
|
return this.length; |
||||
|
} |
||||
|
|
||||
|
public void setLength(int length) { |
||||
|
this.length = length; |
||||
|
} |
||||
|
|
||||
|
public String getGenre() { |
||||
|
return this.genre; |
||||
|
} |
||||
|
|
||||
|
public void setGenre(String genre) { |
||||
|
this.genre = genre; |
||||
|
} |
||||
|
|
||||
|
public String getStudioName() { |
||||
|
return this.studioName; |
||||
|
} |
||||
|
|
||||
|
public void setStudioName(String studioName) { |
||||
|
this.studioName = studioName; |
||||
|
} |
||||
|
|
||||
|
public String getProducerName() { |
||||
|
return this.producerName; |
||||
|
} |
||||
|
|
||||
|
public void setProducerName(String producerName) { |
||||
|
this.producerName = producerName; |
||||
|
} |
||||
|
|
||||
|
public String getShortDescription() { |
||||
|
return this.shortDescription; |
||||
|
} |
||||
|
|
||||
|
public void setShortDescription(String shortDescription) { |
||||
|
this.shortDescription = shortDescription; |
||||
|
} |
||||
|
|
||||
|
public double getAvgRating() { |
||||
|
return this.avgRating; |
||||
|
} |
||||
|
|
||||
|
public void setAvgRating(double avgRating) { |
||||
|
this.avgRating = avgRating; |
||||
|
} |
||||
|
|
||||
|
public int getNumWatched() { |
||||
|
return numWatched; |
||||
|
} |
||||
|
|
||||
|
public void setNumWatched(int numWatched) { |
||||
|
this.numWatched = numWatched; |
||||
|
} |
||||
} |
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue