Package com.ebasetech.xi.api
Interface SequenceManager
public interface SequenceManager
The
SequenceManager
interface provides a single sequence(String)
method to provide the next number within
a defined sequence.
The SequenceManager is accessed using EbaseSystem.getSequenceManager()
.
- Since:
- V4.4
-
Method Summary
Modifier and Type Method Description int
sequence(java.lang.String sequenceName)
Returns the next number within the sequence specified bysequenceName
.
-
Method Details
-
sequence
int sequence(java.lang.String sequenceName) throws com.ebasetech.xi.exceptions.FormRuntimeExceptionReturns the next number within the sequence specified bysequenceName
. Sequences are defined and maintained using the Ebase Xi Designer.- Returns:
- the next sequence number
- Throws:
com.ebasetech.xi.exceptions.FormRuntimeException
- Since:
- V4.4
-