org.tranql.cache
Class CacheTable

java.lang.Object
  extended byorg.tranql.cache.CacheTable
All Implemented Interfaces:
Entity, java.io.Serializable

public final class CacheTable
extends java.lang.Object
implements Entity, java.io.Serializable

Version:
$Revision: 1.10 $ $Date: 2004/05/09 20:28:29 $
See Also:
Serialized Form

Constructor Summary
CacheTable(java.lang.String name, CacheSlot[] slots, 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)
           
 java.util.List getAssociationEnds()
           
 Attribute getAttribute(java.lang.String name)
           
 java.util.List getAttributes()
           
 UpdateCommand getDeleteCommand()
           
 UpdateCommand getInsertCommand()
           
 java.lang.String getName()
           
 java.lang.String getPhysicalName()
           
 UpdateCommand getUpdateCommand()
           
 CacheRow newRow()
           
 void removeRow(InTxCache cache, GlobalIdentity id)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheTable

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

getName

public java.lang.String getName()
Specified by:
getName in interface Entity

getPhysicalName

public java.lang.String getPhysicalName()
Specified by:
getPhysicalName in interface Entity

getAttributes

public java.util.List getAttributes()
Specified by:
getAttributes in interface Entity

getAttribute

public Attribute getAttribute(java.lang.String name)
Specified by:
getAttribute in interface Entity

getAssociationEnds

public java.util.List getAssociationEnds()
Specified by:
getAssociationEnds in interface Entity

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()

equals

public boolean equals(java.lang.Object obj)


Copyright © -2005 The Codehaus. All Rights Reserved.