org.axiondb.engine.metaupdaters
Class AxionColumnsMetaTableUpdater

java.lang.Object
  extended by org.axiondb.event.BaseDatabaseModificationListener
      extended by org.axiondb.engine.metaupdaters.AxionColumnsMetaTableUpdater
All Implemented Interfaces:
DatabaseModificationListener, TableModificationListener

public class AxionColumnsMetaTableUpdater
extends BaseDatabaseModificationListener
implements DatabaseModificationListener, TableModificationListener

Updates the AXION_TABLES meta table

Version:
$Revision: 1.5 $ $Date: 2005/12/20 18:32:57 $

Constructor Summary
AxionColumnsMetaTableUpdater(Database db)
           
 
Method Summary
 void columnAdded(ColumnEvent e)
           
 void constraintAdded(ConstraintEvent event)
           
 void constraintRemoved(ConstraintEvent event)
           
protected  Row createRowForColumnAdded(Table t, Column col)
           
 void rowDeleted(RowEvent event)
           
 void rowInserted(RowEvent event)
           
 void rowUpdated(RowEvent event)
           
 void tableAdded(DatabaseModifiedEvent e)
           
 void tableDropped(DatabaseModifiedEvent e)
           
 void updateNullableStatus(ConstraintEvent event, boolean changeNullableTo)
           
 
Methods inherited from class org.axiondb.event.BaseDatabaseModificationListener
sequenceAdded, sequenceDropped, serverAdded, serverDropped, typeAdded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.axiondb.event.DatabaseModificationListener
sequenceAdded, sequenceDropped, serverAdded, serverDropped, typeAdded
 

Constructor Detail

AxionColumnsMetaTableUpdater

public AxionColumnsMetaTableUpdater(Database db)
Method Detail

tableAdded

public void tableAdded(DatabaseModifiedEvent e)
Specified by:
tableAdded in interface DatabaseModificationListener
Overrides:
tableAdded in class BaseDatabaseModificationListener

tableDropped

public void tableDropped(DatabaseModifiedEvent e)
Specified by:
tableDropped in interface DatabaseModificationListener
Overrides:
tableDropped in class BaseDatabaseModificationListener

columnAdded

public void columnAdded(ColumnEvent e)
                 throws AxionException
Specified by:
columnAdded in interface TableModificationListener
Throws:
AxionException

rowInserted

public void rowInserted(RowEvent event)
                 throws AxionException
Specified by:
rowInserted in interface TableModificationListener
Throws:
AxionException

rowDeleted

public void rowDeleted(RowEvent event)
                throws AxionException
Specified by:
rowDeleted in interface TableModificationListener
Throws:
AxionException

rowUpdated

public void rowUpdated(RowEvent event)
                throws AxionException
Specified by:
rowUpdated in interface TableModificationListener
Throws:
AxionException

constraintAdded

public void constraintAdded(ConstraintEvent event)
                     throws AxionException
Specified by:
constraintAdded in interface TableModificationListener
Throws:
AxionException

constraintRemoved

public void constraintRemoved(ConstraintEvent event)
                       throws AxionException
Specified by:
constraintRemoved in interface TableModificationListener
Throws:
AxionException

updateNullableStatus

public void updateNullableStatus(ConstraintEvent event,
                                 boolean changeNullableTo)

createRowForColumnAdded

protected Row createRowForColumnAdded(Table t,
                                      Column col)
                               throws AxionException
Throws:
AxionException