ca.sqlpower.architect.olap
Class SchemaWatcher
java.lang.Object
ca.sqlpower.architect.olap.SchemaWatcher
- All Implemented Interfaces:
- OLAPChildListener, java.beans.PropertyChangeListener, java.util.EventListener
public class SchemaWatcher
- extends java.lang.Object
- implements OLAPChildListener, java.beans.PropertyChangeListener
A listener class that watches a Schema for name changes and removal of
Dimensions, CubeDimensions, and Cubes to update the referencing
DimensionUsages, VirtualCubeDimensions, and CubeUsages. It has a poor
assumption that OLAPObjects have unique names within the Schema.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaWatcher
public SchemaWatcher(MondrianModel.Schema schema)
olapChildAdded
public void olapChildAdded(OLAPChildEvent e)
- Description copied from interface:
OLAPChildListener
- Called just after a new child is added to an OLAPObject.
- Specified by:
olapChildAdded in interface OLAPChildListener
- Parameters:
e - The event describing the addition. The event's source will be
the parent object which got the new child.
olapChildRemoved
public void olapChildRemoved(OLAPChildEvent e)
- Description copied from interface:
OLAPChildListener
- Called just after a child is removed from an OLAPObject.
- Specified by:
olapChildRemoved in interface OLAPChildListener
- Parameters:
e - The event describing the removal. The event's source will be
the parent object which lost the child.
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca