public class StoredValue
extends java.lang.Object
| Constructor and Description | 
|---|
| StoredValue(java.lang.String id)Stored value for a id | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getID()returns the code of this stored value | 
| long | getLastIncremented()When was this stored value last incremented | 
| long | getNextNumber()The next number | 
| boolean | hasMoreNumbers()Do we have more number in the cache ? | 
| void | setNumber(long inNr,
         int count)Set the next number | 
public StoredValue(java.lang.String id)
id - The codepublic java.lang.String getID()
public long getLastIncremented()
public void setNumber(long inNr,
                      int count)
inNr - The next numbercount - The cache sizepublic boolean hasMoreNumbers()
public long getNextNumber()
stSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.