org.jscience.arts.musical
Class Composition

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

public class Composition
extends Artwork

A class representing a musical composition.

See Also:
Serialized Form

Constructor Summary
Composition(java.lang.String name, java.lang.String description, Community producer, java.util.Date productionDate, Identification identification, java.util.Set authors, double key, double tempo, java.util.Vector notes)
          Creates a new Composition object.
Composition(java.lang.String name, java.lang.String description, Community producer, java.util.Date productionDate, Identification identification, java.util.Set authors, java.util.Vector notes)
          Creates a new Composition object.
 
Method Summary
 double getKey()
          DOCUMENT ME!
 java.util.Vector getNotes()
          DOCUMENT ME!
 double getTempo()
          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

Composition

public Composition(java.lang.String name,
                   java.lang.String description,
                   Community producer,
                   java.util.Date productionDate,
                   Identification identification,
                   java.util.Set authors,
                   java.util.Vector notes)
Creates a new Composition object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
producer - DOCUMENT ME!
productionDate - DOCUMENT ME!
identification - DOCUMENT ME!
authors - DOCUMENT ME!
notes - DOCUMENT ME!

Composition

public Composition(java.lang.String name,
                   java.lang.String description,
                   Community producer,
                   java.util.Date productionDate,
                   Identification identification,
                   java.util.Set authors,
                   double key,
                   double tempo,
                   java.util.Vector notes)
Creates a new Composition object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
producer - DOCUMENT ME!
productionDate - DOCUMENT ME!
identification - DOCUMENT ME!
authors - DOCUMENT ME!
key - DOCUMENT ME!
tempo - DOCUMENT ME!
notes - DOCUMENT ME!
Method Detail

getKey

public double getKey()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getTempo

public double getTempo()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getNotes

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

Returns:
DOCUMENT ME!