Class MediaBase
java.lang.Object
com.amilesend.omdb.client.model.type.MediaBase
Defines common attributes for media (i.e., movie, TV series).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMediaBase.MediaBaseBuilder<C extends MediaBase,B extends MediaBase.MediaBaseBuilder<C, B>> -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the list credited actors.The description of received awards.Gets the list of countries.Gets the list of directors.Gets the list of genres.The IMDB identifier.Gets the IMDB rating.Gets the IMDB votes associated with the rating.Gets the list of languages.The metacritic score.getPlot()The plot description.The URL of the movie poster image.getRated()The associated rating.Gets the list of ratings.The date of release.The runtime.getTitle()The movie title.Gets the list of credited writers.getYear()The year of release.inthashCode()toString()
-
Method Details
-
getRatings
Gets the list of ratings.- Returns:
- the list of ratings
- See Also:
-
getImdbRating
Gets the IMDB rating.- Returns:
- the rating
-
getImdbVotes
Gets the IMDB votes associated with the rating.- Returns:
- the number of votes
-
getGenres
Gets the list of genres.- Returns:
- the list of genres
-
getDirectors
Gets the list of directors.- Returns:
- the list of directors
-
getWriters
Gets the list of credited writers.- Returns:
- the list of writers
-
getActors
Gets the list credited actors.- Returns:
- the list of actors
-
getLanguages
Gets the list of languages.- Returns:
- the list of languages
-
getCountries
Gets the list of countries.- Returns:
- the list of countries
-
equals
-
hashCode
public int hashCode() -
toString
-
getTitle
The movie title. -
getYear
The year of release. -
getRated
The associated rating. -
getReleased
The date of release. -
getRuntime
The runtime. -
getPlot
The plot description. -
getAwards
The description of received awards. -
getPoster
The URL of the movie poster image. -
getMetascore
The metacritic score. -
getImdbId
The IMDB identifier.
-