org.jscience.sports
Class Team

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

public class Team
extends java.lang.Object
implements Named

A class representing a group of competitors going together.


Constructor Summary
Team(java.lang.String name, java.lang.String description, java.util.Date season, Individual[] members)
          Creates a new Team object.
 
Method Summary
 java.util.Date getDate()
          DOCUMENT ME!
 java.lang.String getDescription()
          DOCUMENT ME!
 Individual[] getMembers()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Team

public Team(java.lang.String name,
            java.lang.String description,
            java.util.Date season,
            Individual[] members)
Creates a new Team object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
season - DOCUMENT ME!
members - 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!

getDescription

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

Returns:
DOCUMENT ME!

getDate

public java.util.Date getDate()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMembers

public Individual[] getMembers()
DOCUMENT ME!

Returns:
DOCUMENT ME!