|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.mlw.fball.web.RequestConstants.Key
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
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 |
public static final RequestConstants.Key LEAGUE
public static final RequestConstants.Key COACH
public static final RequestConstants.Key LEAGUES
public static final RequestConstants.Key CHANNELS
public static final RequestConstants.Key FREE_AGENTS
Method Detail |
public java.lang.String getStringLiteral()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |