org.tranql.pkgenerator
Interface PrimaryKeyGenerator

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AutoIncrementTablePrimaryKeyGenerator, PrimaryKeyGeneratorDelegate, SequenceTablePrimaryKeyGenerator, SQLPrimaryKeyGenerator, UUIDPrimaryKeyGenerator

public interface PrimaryKeyGenerator
extends java.io.Serializable

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

Method Summary
 java.lang.Object getNextPrimaryKey(CacheRow cacheRow)
           
 CacheRow updateCache(InTxCache cache, GlobalIdentity id, CacheRow cacheRow)
           
 

Method Detail

getNextPrimaryKey

java.lang.Object getNextPrimaryKey(CacheRow cacheRow)
                                   throws PrimaryKeyGeneratorException
Throws:
PrimaryKeyGeneratorException

updateCache

CacheRow updateCache(InTxCache cache,
                     GlobalIdentity id,
                     CacheRow cacheRow)
                     throws DuplicateIdentityException
Throws:
DuplicateIdentityException


Copyright © -2010 The Codehaus. All Rights Reserved.