com.bankframe.services.sequences
Class SequenceGeneratorFactoryImpl

java.lang.Object
  extended bycom.bankframe.services.sequences.SequenceGeneratorFactory
      extended bycom.bankframe.services.sequences.SequenceGeneratorFactoryImpl
Direct Known Subclasses:
DB2SequenceGeneratorFactoryImpl, OracleSequenceGeneratorFactoryImpl

public abstract class SequenceGeneratorFactoryImpl
extends SequenceGeneratorFactory


Constructor Summary
SequenceGeneratorFactoryImpl()
           
 
Method Summary
 long buildAndExecuteSQL(java.lang.String sequenceName)
           
 java.lang.Long getNextValue(java.lang.String sequenceName)
           
 java.lang.String getNextValue(java.lang.String sequenceName, int requiredLength)
           
abstract  java.lang.String getResultName()
           
abstract  java.lang.String getSQLCommand(java.lang.String sequenceName)
           
 
Methods inherited from class com.bankframe.services.sequences.SequenceGeneratorFactory
createSequenceFactory, getInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceGeneratorFactoryImpl

public SequenceGeneratorFactoryImpl()
Method Detail

getSQLCommand

public abstract java.lang.String getSQLCommand(java.lang.String sequenceName)
                                        throws ProcessingErrorException
Throws:
ProcessingErrorException

getResultName

public abstract java.lang.String getResultName()
                                        throws ProcessingErrorException
Throws:
ProcessingErrorException

buildAndExecuteSQL

public long buildAndExecuteSQL(java.lang.String sequenceName)
                        throws ProcessingErrorException
Throws:
ProcessingErrorException

getNextValue

public java.lang.String getNextValue(java.lang.String sequenceName,
                                     int requiredLength)
                              throws ProcessingErrorException
Specified by:
getNextValue in class SequenceGeneratorFactory
Throws:
ProcessingErrorException

getNextValue

public java.lang.Long getNextValue(java.lang.String sequenceName)
                            throws ProcessingErrorException
Specified by:
getNextValue in class SequenceGeneratorFactory
Throws:
ProcessingErrorException


Copyright © 2005, 2007, Oracle. All rights reserved.