org.tranql.cache
Class CacheTable

java.lang.Object
  extended by org.tranql.abstractschema.AbstractEntity
      extended by org.tranql.cache.CacheTable
All Implemented Interfaces:
java.io.Serializable, Entity

public final class CacheTable
extends AbstractEntity

Version:
$Revision: 323 $ $Date: 2006-02-19 07:29:24 +0100 (Sun, 19 Feb 2006) $
See Also:
Serialized Form

Constructor Summary
CacheTable(java.lang.String name, CacheSlot[] slots, EndSlot[] relationshipSlots, UpdateCommand insertCommand, UpdateCommand updateCommand, UpdateCommand deleteCommand)
           
 
Method Summary
 CacheRow addRow(InTxCache cache, GlobalIdentity id, CacheRow origRow)
           
 CacheRow emptyRow(GlobalIdentity id)
           
 boolean equals(java.lang.Object obj)
           
 CacheFactory getCacheFactory()
           
 UpdateCommand getDeleteCommand()
           
 UpdateCommand getInsertCommand()
           
 UpdateCommand getUpdateCommand()
           
 CacheRow newRow()
           
 void removeRow(InTxCache cache, GlobalIdentity id)
           
 void setCacheFactory(CacheFactory cacheFactory)
           
 
Methods inherited from class org.tranql.abstractschema.AbstractEntity
addAssociationEnd, addAttribute, getAssociationEnd, getAssociationEndDefiningFKAttribute, getAssociationEnds, getAttribute, getAttributes, getName, getPhysicalName, getPrimaryKeyFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CacheTable

public CacheTable(java.lang.String name,
                  CacheSlot[] slots,
                  EndSlot[] relationshipSlots,
                  UpdateCommand insertCommand,
                  UpdateCommand updateCommand,
                  UpdateCommand deleteCommand)
Method Detail

newRow

public CacheRow newRow()

emptyRow

public CacheRow emptyRow(GlobalIdentity id)

addRow

public CacheRow addRow(InTxCache cache,
                       GlobalIdentity id,
                       CacheRow origRow)
                throws DuplicateIdentityException
Throws:
DuplicateIdentityException

removeRow

public void removeRow(InTxCache cache,
                      GlobalIdentity id)

getInsertCommand

public UpdateCommand getInsertCommand()

getUpdateCommand

public UpdateCommand getUpdateCommand()

getDeleteCommand

public UpdateCommand getDeleteCommand()

getCacheFactory

public CacheFactory getCacheFactory()

setCacheFactory

public void setCacheFactory(CacheFactory cacheFactory)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © -2010 The Codehaus. All Rights Reserved.