net.mlw.fball.web
Class RequestConstants.Key

java.lang.Object
  |
  +--net.mlw.fball.web.RequestConstants.Key
Enclosing class:
RequestConstants

public static final class RequestConstants.Key
extends java.lang.Object

This class is used to represent a key in the request. I have choosed to use the typesave enum pattern as described in Effective Java Pg.105

Version:
$Revision: 1.6 $ $Date: 2004/05/21 20:43:48 $
Author:
Matthew L. Wilson

Field Summary
static RequestConstants.Key CHANNELS
          Holds the Coach object.
static RequestConstants.Key COACH
          Holds the Coach object.
static RequestConstants.Key FREE_AGENTS
          Holds a List of available players.
static RequestConstants.Key LEAGUE
          Holds the League object.
static RequestConstants.Key LEAGUES
          Holds a List of League objects.
 
Method Summary
 java.lang.String getStringLiteral()
          Gets the String literal this key represents.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LEAGUE

public static final RequestConstants.Key LEAGUE
Holds the League object.


COACH

public static final RequestConstants.Key COACH
Holds the Coach object.


LEAGUES

public static final RequestConstants.Key LEAGUES
Holds a List of League objects.


CHANNELS

public static final RequestConstants.Key CHANNELS
Holds the Coach object.


FREE_AGENTS

public static final RequestConstants.Key FREE_AGENTS
Holds a List of available players.

Method Detail

getStringLiteral

public java.lang.String getStringLiteral()
Gets the String literal this key represents.

Returns:
The String literal

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2003-2004 mlavilson. All Rights Reserved.