com.clra.rowing
Class RowingSessionType
java.lang.Object
|
+--com.clra.rowing.RowingSessionType
- All Implemented Interfaces:
- Comparable, Serializable
- public class RowingSessionType
- extends Object
- implements Comparable, Serializable
Represents the type of a rowing session.
- Version:
- $Id: RowingSessionType.java,v 1.2 2002/02/18 18:05:04 rphall Exp $
- Author:
- Rick Hall
- See Also:
- Serialized Form
NAME_PRACTICE
public static final String NAME_PRACTICE
NAME_REGATTA
public static final String NAME_REGATTA
PRACTICE
public static final RowingSessionType PRACTICE
REGATTA
public static final RowingSessionType REGATTA
RowingSessionType
protected RowingSessionType(String name)
getType
public static RowingSessionType getType(String name)
throws RowingException
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Object o)
- Compares a level to other levels and valid level names. The default
order is described in the documentation for
DefaultRowingSessionTypeComparator
- Specified by:
compareTo
in interface Comparable
- Parameters:
o
- a non-null RowingSessionLevel or a String NAME of a level- See Also:
DefaultRowingSessionTypeComparator