com.clra.rowing
Class RowingSessionLevel
java.lang.Object
|
+--com.clra.rowing.RowingSessionLevel
- All Implemented Interfaces:
- Comparable, Serializable
- public class RowingSessionLevel
- extends Object
- implements Comparable, Serializable
Represents the level of a rowing session.
- Version:
- $Id: RowingSessionLevel.java,v 1.2 2002/02/18 18:04:54 rphall Exp $
- Author:
- Rick Hall
- See Also:
- Serialized Form
NAME_LTR
public static final String NAME_LTR
NAME_REGULAR
public static final String NAME_REGULAR
LTR
public static final RowingSessionLevel LTR
REGULAR
public static final RowingSessionLevel REGULAR
RowingSessionLevel
protected RowingSessionLevel(String name)
getLevel
public static RowingSessionLevel getLevel(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
DefaultRowingSessionLevelComparator
- Specified by:
compareTo
in interface Comparable
- Parameters:
o
- a non-null RowingSessionLevel or a String NAME of a level- See Also:
DefaultRowingSessionLevelComparator