|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuniversity.ID
public class ID
Singleton class to create IDs.
Method Summary | |
---|---|
static ID |
getFactory()
Returns an instance of the ID class |
int |
getNextId()
Returns the next id. |
void |
setId(int count)
Set the value of the next id number |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ID getFactory()
public int getNextId()
public void setId(int count)
count
- the next id number to use
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |