case class Movie(title: String, format: Format, production: Production, reviews: Reviews, director: Principal, actor1: Principal, actor2: Principal, actor3: Option[Principal], genres: AttributeSet, plotKeywords: AttributeSet, imdb: String) extends Product with Serializable
The Movie case class represents a comprehensive set of data about a movie, including its title, format, production details,
reviews, cast information, genres, plot keywords, and IMDb identifier. It encapsulates essential and optional attributes
about a movie in a structured format for easy parsing, manipulation, and serialization (e.g., CSV generation).
- title
The title of the movie, represented as a string.
- format
The format details of the movie, as a
Formatobject. This includes information such as color, language, aspect ratio, and duration.- production
The production details of the movie, as a
Productionobject. This includes attributes such as country, budget, gross earnings, and title year.- reviews
The reviews and aggregated feedback data for the movie, as a
Reviewsobject. It includes IMDb score, social metrics, and review counts.- director
The director of the movie, represented as a
Principalobject, which includes the director's name and Facebook likes.- actor1
The first main actor in the movie, represented as a
Principalobject.- actor2
The second main actor in the movie, represented as a
Principalobject.- actor3
The third main actor in the movie, represented as an optional
Principalobject. If no third actor is present, this will beNone.- genres
The list of genres for the movie, represented as an
AttributeSet. This may include genres like Action, Drama, Comedy, etc.- plotKeywords
The set of plot-related keywords for the movie, represented as an
AttributeSet. Keywords provide insights into the movie's storyline.- imdb
The unique IMDb identifier for the movie, represented as a string.
- Annotations
- @deprecated
- Deprecated
(Since version 1.7.0) Example code: it moves out of the library, into the tests, in 2.0.0
- Alphabetic
- By Inheritance
- Movie
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Movie(title: String, format: Format, production: Production, reviews: Reviews, director: Principal, actor1: Principal, actor2: Principal, actor3: Option[Principal], genres: AttributeSet, plotKeywords: AttributeSet, imdb: String)
- title
The title of the movie, represented as a string.
- format
The format details of the movie, as a
Formatobject. This includes information such as color, language, aspect ratio, and duration.- production
The production details of the movie, as a
Productionobject. This includes attributes such as country, budget, gross earnings, and title year.- reviews
The reviews and aggregated feedback data for the movie, as a
Reviewsobject. It includes IMDb score, social metrics, and review counts.- director
The director of the movie, represented as a
Principalobject, which includes the director's name and Facebook likes.- actor1
The first main actor in the movie, represented as a
Principalobject.- actor2
The second main actor in the movie, represented as a
Principalobject.- actor3
The third main actor in the movie, represented as an optional
Principalobject. If no third actor is present, this will beNone.- genres
The list of genres for the movie, represented as an
AttributeSet. This may include genres like Action, Drama, Comedy, etc.- plotKeywords
The set of plot-related keywords for the movie, represented as an
AttributeSet. Keywords provide insights into the movie's storyline.- imdb
The unique IMDb identifier for the movie, represented as a string.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val actor1: Principal
- val actor2: Principal
- val actor3: Option[Principal]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val director: Principal
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val format: Format
- val genres: AttributeSet
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val imdb: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val plotKeywords: AttributeSet
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val production: Production
- val reviews: Reviews
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: String
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)