org.jscience.sports
Class Sport

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

public class Sport
extends java.lang.Object
implements Named

A class representing a sport.


Field Summary
static int ACTIVE
          DOCUMENT ME!
static int AIR
          DOCUMENT ME!
static int ANIMALS
          DOCUMENT ME!
static int ARROW
          DOCUMENT ME!
static int BALL
          DOCUMENT ME!
static int FIGHT
          DOCUMENT ME!
static int FOOT
          DOCUMENT ME!
static int GROUND
          DOCUMENT ME!
static int HAND
          DOCUMENT ME!
static int HEAD
          DOCUMENT ME!
static int HUMANS
          DOCUMENT ME!
static int ICE
          DOCUMENT ME!
static int RACE
          DOCUMENT ME!
static int SNOW
          DOCUMENT ME!
static int TACTIC
          DOCUMENT ME!
static int TEAM
          DOCUMENT ME!
static int TOOL
          DOCUMENT ME!
static int VEHICLE
          DOCUMENT ME!
static int WATER
          DOCUMENT ME!
static int WEIGHT
          DOCUMENT ME!
 
Constructor Summary
Sport(java.lang.String name, int description, java.lang.String[] rules, java.util.Date date)
          Creates a new Sport object.
 
Method Summary
 java.util.Date getDate()
          DOCUMENT ME!
 int getDescription()
          DOCUMENT ME!
 java.lang.String getName()
          DOCUMENT ME!
 java.lang.String[] getRules()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BALL

public static final int BALL
DOCUMENT ME!

See Also:
Constant Field Values

ARROW

public static final int ARROW
DOCUMENT ME!

See Also:
Constant Field Values

VEHICLE

public static final int VEHICLE
DOCUMENT ME!

See Also:
Constant Field Values

WEIGHT

public static final int WEIGHT
DOCUMENT ME!

See Also:
Constant Field Values

TOOL

public static final int TOOL
DOCUMENT ME!

See Also:
Constant Field Values

FOOT

public static final int FOOT
DOCUMENT ME!

See Also:
Constant Field Values

HAND

public static final int HAND
DOCUMENT ME!

See Also:
Constant Field Values

HEAD

public static final int HEAD
DOCUMENT ME!

See Also:
Constant Field Values

TEAM

public static final int TEAM
DOCUMENT ME!

See Also:
Constant Field Values

WATER

public static final int WATER
DOCUMENT ME!

See Also:
Constant Field Values

AIR

public static final int AIR
DOCUMENT ME!

See Also:
Constant Field Values

ICE

public static final int ICE
DOCUMENT ME!

See Also:
Constant Field Values

SNOW

public static final int SNOW
DOCUMENT ME!

See Also:
Constant Field Values

GROUND

public static final int GROUND
DOCUMENT ME!

See Also:
Constant Field Values

HUMANS

public static final int HUMANS
DOCUMENT ME!

See Also:
Constant Field Values

ANIMALS

public static final int ANIMALS
DOCUMENT ME!

See Also:
Constant Field Values

RACE

public static final int RACE
DOCUMENT ME!

See Also:
Constant Field Values

FIGHT

public static final int FIGHT
DOCUMENT ME!

See Also:
Constant Field Values

ACTIVE

public static final int ACTIVE
DOCUMENT ME!

See Also:
Constant Field Values

TACTIC

public static final int TACTIC
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

Sport

public Sport(java.lang.String name,
             int description,
             java.lang.String[] rules,
             java.util.Date date)
Creates a new Sport object.

Parameters:
name - DOCUMENT ME!
description - DOCUMENT ME!
rules - DOCUMENT ME!
date - 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 int getDescription()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getRules

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

Returns:
DOCUMENT ME!

getDate

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

Returns:
DOCUMENT ME!