org.jscience.sports
Class Category

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

public class Category
extends java.lang.Object
implements Named

A class representing a category of competitors within a sport.


Constructor Summary
Category(java.lang.String name, java.lang.String description)
          Creates a new Category object.
 
Method Summary
 java.lang.String getDescription()
          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

Category

public Category(java.lang.String name,
                java.lang.String description)
Creates a new Category object.

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