org.tranql.pkgenerator
Class PrimaryKeyGeneratorDelegate

java.lang.Object
  extended byorg.tranql.pkgenerator.PrimaryKeyGeneratorDelegate
All Implemented Interfaces:
PrimaryKeyGenerator, java.io.Serializable

public final class PrimaryKeyGeneratorDelegate
extends java.lang.Object
implements PrimaryKeyGenerator, java.io.Serializable

Version:
$Revision: 173 $ $Date: 2005-02-20 16:42:56 +0100 (Sun, 20 Feb 2005) $
See Also:
Serialized Form

Constructor Summary
PrimaryKeyGeneratorDelegate()
           
 
Method Summary
 java.lang.Object getNextPrimaryKey(CacheRow cacheRow)
           
 void setPrimaryKeyGenerator(PrimaryKeyGenerator keyGenerator)
           
 CacheRow updateCache(InTxCache cache, GlobalIdentity id, CacheRow cacheRow)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimaryKeyGeneratorDelegate

public PrimaryKeyGeneratorDelegate()
Method Detail

setPrimaryKeyGenerator

public void setPrimaryKeyGenerator(PrimaryKeyGenerator keyGenerator)

getNextPrimaryKey

public java.lang.Object getNextPrimaryKey(CacheRow cacheRow)
                                   throws PrimaryKeyGeneratorException
Specified by:
getNextPrimaryKey in interface PrimaryKeyGenerator
Throws:
PrimaryKeyGeneratorException

updateCache

public CacheRow updateCache(InTxCache cache,
                            GlobalIdentity id,
                            CacheRow cacheRow)
                     throws DuplicateIdentityException
Specified by:
updateCache in interface PrimaryKeyGenerator
Throws:
DuplicateIdentityException


Copyright © -2006 The Codehaus. All Rights Reserved.