org.jscience.sports
Class Competition

java.lang.Object
  extended by org.jscience.sports.Competition
All Implemented Interfaces:
Named

public class Competition
extends java.lang.Object
implements Named

A class representing a competition (where various matchs in various sports occur).


Constructor Summary
Competition(java.lang.String name, java.lang.String[] prizes, Match[] matches)
          Creates a new Competition object.
 
Method Summary
 Match[] getMatches()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String[] getPrizes()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Competition

public Competition(java.lang.String name,
                   java.lang.String[] prizes,
                   Match[] matches)
Creates a new Competition object.

Parameters:
name - DOCUMENT ME!
prizes - DOCUMENT ME!
matches - DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getName

public java.lang.String getName()
DOCUMENT ME!

Specified by:
getName in interface Named
Returns:
DOCUMENT ME!

getPrizes

public java.lang.String[] getPrizes()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMatches

public Match[] getMatches()
DOCUMENT ME!

Returns:
DOCUMENT ME!