ca.sqlpower.architect
Class SourceObjectIntegrityWatcher

java.lang.Object
  extended by ca.sqlpower.architect.SourceObjectIntegrityWatcher
All Implemented Interfaces:
SQLObjectPreEventListener

public class SourceObjectIntegrityWatcher
extends java.lang.Object
implements SQLObjectPreEventListener

Watches the session's root object, and reacts when SQLDatabase items are removed. In that case, it ensures there are no dangling references from the playpen database back to the removed database or its children. If there are, the user is asked to decide to either cancel the operation or allow the ETL lineage (SQLColumn.sourceColumn) references to be broken.


Method Summary
 void dbChildrenPreRemove(SQLObjectPreEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dbChildrenPreRemove

public void dbChildrenPreRemove(SQLObjectPreEvent e)
Specified by:
dbChildrenPreRemove in interface SQLObjectPreEventListener


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca