|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.fanfoot.db.ID
Provides utility methods for generating ID's for database entries.
Constructor Summary | |
ID()
|
Method Summary | |
static java.lang.String |
getPlayerID()
Create an ID number for a player in the indicated postion |
static void |
setPlayerID(int id)
Set the player ID to the supplied value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ID()
Method Detail |
public static void setPlayerID(int id)
id
- The new playerID valuepublic static java.lang.String getPlayerID() throws DBException
DBException
- if the position is not recognised
|
FantasySportsModule 0.0.2-dev | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |