|
|||||||||
| Home >> All >> org >> cantaloop >> [ cgimlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.cantaloop.cgimlet
Class IDManager

java.lang.Objectorg.cantaloop.cgimlet.IDManager
- public class IDManager
- extends java.lang.Object
The IDManager helps you to avaid naming-conflicts in your generated
code. Just append the next id to your identifiers.
- Version:
- @version@ ($Revision: 1.6 $)
| Field Summary | |
private int |
m_currentID
|
| Constructor Summary | |
IDManager()
|
|
| Method Summary | |
java.lang.String |
currentID()
Returns the current id. |
java.lang.String |
nextID()
Sets the id to its next value and returns it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
m_currentID
private int m_currentID
| Constructor Detail |
IDManager
public IDManager()
| Method Detail |
nextID
public java.lang.String nextID()
- Sets the id to its next value and returns it.
currentID
public java.lang.String currentID()
- Returns the current id.
|
|||||||||
| Home >> All >> org >> cantaloop >> [ cgimlet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.cantaloop.cgimlet.IDManager