gov.lanl.Database
Class JDXSeqUtil

java.lang.Object
  |
  +--gov.lanl.Database.JDXSeqUtil

public class JDXSeqUtil
extends java.lang.Object

A utility class to manage Database Sequence values.


Constructor Summary
JDXSeqUtil(java.lang.String seqName, JDXS jdxHandle, long increment)
           
 
Method Summary
 void Dump()
          Method declaration
 long getNextSeq()
          Get the next sequence number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDXSeqUtil

public JDXSeqUtil(java.lang.String seqName,
                  JDXS jdxHandle,
                  long increment)
Parameters:
seqName - String
jdxHandle - JDXS
increment - long
Method Detail

getNextSeq

public long getNextSeq()
Get the next sequence number. If necessary go to the database.

Returns:
long

Dump

public void Dump()
Method declaration

See Also:


Copyright © 2000 Apache Software Foundation. All Rights Reserved.