ca.sqlpower.architect.olap
Class OLAPChildEvent
java.lang.Object
ca.sqlpower.architect.olap.OLAPChildEvent
public class OLAPChildEvent
- extends java.lang.Object
An event object that describes adding or removing a single child of the
given type to/from a parent.
|
Constructor Summary |
OLAPChildEvent(OLAPObject source,
java.lang.Class<? extends OLAPObject> childType,
OLAPObject child,
int index)
Creates a new event object that describes adding or removing a single
child of the given type to/from a parent. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
OLAPChildEvent
public OLAPChildEvent(OLAPObject source,
java.lang.Class<? extends OLAPObject> childType,
OLAPObject child,
int index)
- Creates a new event object that describes adding or removing a single
child of the given type to/from a parent.
- Parameters:
source - The parent that gained or lost a child.childType - The child type for which the parent gained or lost a child
(OLAP Objects support multiple child types).child - The child that was added or removed.index - The index of the child that was added or removed (this is the
overall index in the parent, not the index within one child type).
getSource
public OLAPObject getSource()
getChildType
public java.lang.Class<? extends OLAPObject> getChildType()
getChild
public OLAPObject getChild()
getIndex
public int getIndex()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca