|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.AbstractWabitObject
ca.sqlpower.wabit.olap.WabitOlapSelection
public abstract class WabitOlapSelection
Wrapper class to wrap an Olap4j Selection, that is, an Inclusion or Exclusion.
| Field Summary | |
|---|---|
protected boolean |
initialized
|
protected org.olap4j.query.Selection.Operator |
operator
|
protected org.olap4j.query.Selection |
selection
The Selection this class wraps. |
protected java.lang.String |
uniqueMemberName
|
| Constructor Summary | |
|---|---|
WabitOlapSelection(org.olap4j.query.Selection.Operator operator,
java.lang.String uniqueMemberName)
Creates a new WabitOlapSelection with the given properties. |
|
WabitOlapSelection(org.olap4j.query.Selection selection)
Creates a new WabitOlapSelection to wrap the given Selection. |
|
WabitOlapSelection(WabitOlapSelection selection)
Copy Constructor. |
|
| Method Summary | |
|---|---|
boolean |
allowsChildren()
Returns true if this object may contain children. |
int |
childPositionOffset(java.lang.Class<? extends WabitObject> childType)
Returns the position in the list that would be returned by getChildren() that the first object of type childClass is, or where it would be if there were any children of that type. |
java.util.List<? extends WabitObject> |
getChildren()
Selections are leaf nodes. |
java.util.List<WabitObject> |
getDependencies()
Olap wrapper classes only depend on the wrapped Olap4j objects |
org.olap4j.query.Selection.Operator |
getOperator()
Returns the Selection.Operator associated with the wrapped Selection, or
the cached Operator if this object hasn't been initialized. |
java.lang.String |
getUniqueMemberName()
Returns the unique member name associated with the wrapped Selection, or the cached Operator if this object hasn't been initialized. |
protected boolean |
removeChildImpl(WabitObject child)
This is the object specific implementation of removeChild. |
void |
removeDependency(WabitObject dependency)
Removes the given object as a dependency of this object. |
| Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject |
|---|
addChild, addChildImpl, addWabitListener, begin, beginTransaction, cleanup, commit, commitTransaction, equals, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, generateNewUUID, getChildren, getName, getParent, getSession, getUUID, isForegroundThread, removeChild, removeWabitListener, rollback, rollbackTransaction, runInBackground, runInForeground, setName, setParent, setUUID, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected org.olap4j.query.Selection selection
Selection this class wraps. Should not be leaked out of the
wabit.olap package.
protected final org.olap4j.query.Selection.Operator operator
protected final java.lang.String uniqueMemberName
protected boolean initialized
| Constructor Detail |
|---|
public WabitOlapSelection(WabitOlapSelection selection)
public WabitOlapSelection(org.olap4j.query.Selection selection)
Selection.
public WabitOlapSelection(org.olap4j.query.Selection.Operator operator,
java.lang.String uniqueMemberName)
| Method Detail |
|---|
protected boolean removeChildImpl(WabitObject child)
AbstractWabitObject
removeChildImpl in class AbstractWabitObjectAbstractWabitObject.removeChild(WabitObject)public boolean allowsChildren()
WabitObject
WabitObject.childPositionOffset(Class)public int childPositionOffset(java.lang.Class<? extends WabitObject> childType)
WabitObject
public java.util.List<? extends WabitObject> getChildren()
public java.util.List<WabitObject> getDependencies()
public void removeDependency(WabitObject dependency)
WabitObject
public org.olap4j.query.Selection.Operator getOperator()
Selection.Operator associated with the wrapped Selection, or
the cached Operator if this object hasn't been initialized.
public java.lang.String getUniqueMemberName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||