Packages

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 Format object. This includes information such as color, language, aspect ratio, and duration.

production

The production details of the movie, as a Production object. This includes attributes such as country, budget, gross earnings, and title year.

reviews

The reviews and aggregated feedback data for the movie, as a Reviews object. It includes IMDb score, social metrics, and review counts.

director

The director of the movie, represented as a Principal object, which includes the director's name and Facebook likes.

actor1

The first main actor in the movie, represented as a Principal object.

actor2

The second main actor in the movie, represented as a Principal object.

actor3

The third main actor in the movie, represented as an optional Principal object. If no third actor is present, this will be None.

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

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Movie
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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 Format object. This includes information such as color, language, aspect ratio, and duration.

    production

    The production details of the movie, as a Production object. This includes attributes such as country, budget, gross earnings, and title year.

    reviews

    The reviews and aggregated feedback data for the movie, as a Reviews object. It includes IMDb score, social metrics, and review counts.

    director

    The director of the movie, represented as a Principal object, which includes the director's name and Facebook likes.

    actor1

    The first main actor in the movie, represented as a Principal object.

    actor2

    The second main actor in the movie, represented as a Principal object.

    actor3

    The third main actor in the movie, represented as an optional Principal object. If no third actor is present, this will be None.

    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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val actor1: Principal
  5. val actor2: Principal
  6. val actor3: Option[Principal]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. val director: Principal
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. val format: Format
  12. val genres: AttributeSet
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. val imdb: String
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. val plotKeywords: AttributeSet
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. val production: Production
  22. val reviews: Reviews
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. val title: String
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped