org.jscience.arts.theatrical
Class Play

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.Play
All Implemented Interfaces:
java.io.Serializable, Property, Named, Positioned

public class Play
extends Artwork

A class representing a show, or play. It can be anything from a musical comedy, a danced show, an opera or a mime.

See Also:
Serialized Form

Constructor Summary
Play(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, java.util.Vector acts)
          Creates a new Play object.
 
Method Summary
 void addActor(Individual actor)
          DOCUMENT ME!
 void addDirector(Individual director)
          DOCUMENT ME!
 java.util.Set getActors()
          DOCUMENT ME!
 java.util.Vector getActs()
          DOCUMENT ME!
 java.util.Set getDirectors()
          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!
 
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, getKind, getName, setDecayTime, setKind, 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
 

Constructor Detail

Play

public Play(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,
            java.util.Vector acts)
Creates a new Play 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!
acts - DOCUMENT ME!
Method Detail

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!

getActs

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

Returns:
DOCUMENT ME!