org.jscience.arts.theatrical
Class Movie

java.lang.Object
  extended by org.jscience.economics.PotentialResource
      extended by org.jscience.economics.Resource
          extended by org.jscience.economics.MaterialResource
              extended by org.jscience.economics.resources.Artifact
                  extended by org.jscience.arts.Artwork
                      extended by org.jscience.arts.theatrical.Movie
All Implemented Interfaces:
java.io.Serializable, Property, Named, Positioned

public class Movie
extends Artwork

A class describing a movie, which is basically a filmed play.

See Also:
Serialized Form

Field Summary
static int ACTION
          DOCUMENT ME!
static int ADVENTURE
          DOCUMENT ME!
static int ANIMATION
          DOCUMENT ME!
static int COMEDY
          DOCUMENT ME!
static int CRIME
          DOCUMENT ME!
static int DOCUMENTARY
          DOCUMENT ME!
static int DRAMA
          DOCUMENT ME!
static int FAMILY
          DOCUMENT ME!
static int FANTASY
          DOCUMENT ME!
static int FILM_NOIR
          DOCUMENT ME!
static int HORROR
          DOCUMENT ME!
static int INDEPENDANT
          DOCUMENT ME!
static int MUSICAL
          DOCUMENT ME!
static int MYSTERY
          DOCUMENT ME!
static int ROMANCE
          DOCUMENT ME!
static int SCIENCE_FICTION
          DOCUMENT ME!
static int THRILLER
          DOCUMENT ME!
static int UNKNOWN
          DOCUMENT ME!
static int WAR
          DOCUMENT ME!
static int WESTERN
          DOCUMENT ME!
 
Constructor Summary
Movie(java.lang.String name, java.lang.String description, Community producer, java.util.Date productionDate, Identification identification, java.util.Set directors, java.util.Set authors, java.util.Set actors, int kind, java.util.Vector scenes)
          Creates a new Movie object.
 
Method Summary
 void addActor(Individual actor)
          DOCUMENT ME!
 void addDirector(Individual director)
          DOCUMENT ME!
 java.util.Set getActors()
          DOCUMENT ME!
 java.util.Set getDirectors()
          DOCUMENT ME!
 int getKind()
          DOCUMENT ME!
 java.util.Vector getScenes()
          DOCUMENT ME!
 void removeActor(Individual actor)
          DOCUMENT ME!
 void removeDirector(Individual director)
          DOCUMENT ME!
 void setActors(java.util.Set actors)
          DOCUMENT ME!
 void setDirectors(java.util.Set directors)
          DOCUMENT ME!
 void setKind(int kind)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.arts.Artwork
addAnalysis, addRestoration, equals, getAnalysis, getArt, getAuthors, getRestorations, removeAnalysis, removeRestoration, setAnalysis, setAuthors, setRestorations
 
Methods inherited from class org.jscience.economics.resources.Artifact
getGroup, isBroken, setGroup, setIsBroken
 
Methods inherited from class org.jscience.economics.MaterialResource
getIdentification, getValue, setValue
 
Methods inherited from class org.jscience.economics.Resource
addOwner, getOwners, getPosition, getProducer, getProductionDate, getProductionPlace, removeOwner, setOwners, setPosition
 
Methods inherited from class org.jscience.economics.PotentialResource
getAmount, getDecayTime, getDescription, getName, setDecayTime, setQuantity
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jscience.economics.Property
getOwners
 

Field Detail

UNKNOWN

public static final int UNKNOWN
DOCUMENT ME!

See Also:
Constant Field Values

ACTION

public static final int ACTION
DOCUMENT ME!

See Also:
Constant Field Values

ADVENTURE

public static final int ADVENTURE
DOCUMENT ME!

See Also:
Constant Field Values

ANIMATION

public static final int ANIMATION
DOCUMENT ME!

See Also:
Constant Field Values

FAMILY

public static final int FAMILY
DOCUMENT ME!

See Also:
Constant Field Values

COMEDY

public static final int COMEDY
DOCUMENT ME!

See Also:
Constant Field Values

CRIME

public static final int CRIME
DOCUMENT ME!

See Also:
Constant Field Values

DOCUMENTARY

public static final int DOCUMENTARY
DOCUMENT ME!

See Also:
Constant Field Values

DRAMA

public static final int DRAMA
DOCUMENT ME!

See Also:
Constant Field Values

FANTASY

public static final int FANTASY
DOCUMENT ME!

See Also:
Constant Field Values

FILM_NOIR

public static final int FILM_NOIR
DOCUMENT ME!

See Also:
Constant Field Values

HORROR

public static final int HORROR
DOCUMENT ME!

See Also:
Constant Field Values

INDEPENDANT

public static final int INDEPENDANT
DOCUMENT ME!

See Also:
Constant Field Values

MUSICAL

public static final int MUSICAL
DOCUMENT ME!

See Also:
Constant Field Values

MYSTERY

public static final int MYSTERY
DOCUMENT ME!

See Also:
Constant Field Values

ROMANCE

public static final int ROMANCE
DOCUMENT ME!

See Also:
Constant Field Values

SCIENCE_FICTION

public static final int SCIENCE_FICTION
DOCUMENT ME!

See Also:
Constant Field Values

THRILLER

public static final int THRILLER
DOCUMENT ME!

See Also:
Constant Field Values

WAR

public static final int WAR
DOCUMENT ME!

See Also:
Constant Field Values

WESTERN

public static final int WESTERN
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

Movie

public Movie(java.lang.String name,
             java.lang.String description,
             Community producer,
             java.util.Date productionDate,
             Identification identification,
             java.util.Set directors,
             java.util.Set authors,
             java.util.Set actors,
             int kind,
             java.util.Vector scenes)
Creates a new Movie object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
producer - DOCUMENT ME!
productionDate - DOCUMENT ME!
identification - DOCUMENT ME!
directors - DOCUMENT ME!
authors - DOCUMENT ME!
actors - DOCUMENT ME!
kind - DOCUMENT ME!
scenes - DOCUMENT ME!
Method Detail

getScenes

public java.util.Vector getScenes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDirectors

public java.util.Set getDirectors()
DOCUMENT ME!

Returns:
DOCUMENT ME!

addDirector

public void addDirector(Individual director)
DOCUMENT ME!

Parameters:
director - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

removeDirector

public void removeDirector(Individual director)
DOCUMENT ME!

Parameters:
director - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

setDirectors

public void setDirectors(java.util.Set directors)
DOCUMENT ME!

Parameters:
directors - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

getActors

public java.util.Set getActors()
DOCUMENT ME!

Returns:
DOCUMENT ME!

setActors

public void setActors(java.util.Set actors)
DOCUMENT ME!

Parameters:
actors - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

addActor

public void addActor(Individual actor)
DOCUMENT ME!

Parameters:
actor - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!

removeActor

public void removeActor(Individual actor)
DOCUMENT ME!

Parameters:
actor - DOCUMENT ME!

getKind

public int getKind()
DOCUMENT ME!

Overrides:
getKind in class PotentialResource
Returns:
DOCUMENT ME!

setKind

public void setKind(int kind)
DOCUMENT ME!

Overrides:
setKind in class PotentialResource
Parameters:
kind - DOCUMENT ME!