Cantaloop CGimlet - API Documentation, Version: 0.2.0, Date: 2002-05-13 21:30 CEST

org.cantaloop.cgimlet
Class IDManager

java.lang.Object
  |
  +--org.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:
0.2.0 ($Revision: 1.6 $)
Author:
David Leuschner, Stefan Heimann

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
 

Constructor Detail

IDManager

public IDManager()
Method Detail

nextID

public java.lang.String nextID()
Sets the id to its next value and returns it.
Returns:
a String value

currentID

public java.lang.String currentID()
Returns the current id.
Returns:
a String value

Copyright 2001, 2002 Stefan Heimann, David Leuschner. All rights reserved.