org.axiondb.engine.metaupdaters
Class AxionColumnsMetaTableUpdater
java.lang.Object
org.axiondb.event.BaseDatabaseModificationListener
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AxionColumnsMetaTableUpdater
public AxionColumnsMetaTableUpdater(Database db)
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