|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.object.AbstractSPObject
ca.sqlpower.wabit.AbstractWabitObject
ca.sqlpower.wabit.rs.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
|
| Fields inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
uuid |
| 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()
|
int |
childPositionOffset(java.lang.Class<? extends ca.sqlpower.object.SPObject> childType)
|
java.util.List<java.lang.Class<? extends ca.sqlpower.object.SPObject>> |
getAllowedChildTypes()
|
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. |
boolean |
isInitialized()
|
protected boolean |
removeChildImpl(ca.sqlpower.object.SPObject child)
|
void |
removeDependency(ca.sqlpower.object.SPObject dependency)
|
| Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject |
|---|
cleanup, commit, equals, generateNewUUID, getParent, getSession, isForegroundThread, removeChild, rollback, runInBackground, runInForeground, toString |
| Methods inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
addChild, addChildImpl, addSPListener, begin, fireChildAdded, fireChildRemoved, firePropertyChange, firePropertyChange, firePropertyChange, fireTransactionEnded, fireTransactionRollback, fireTransactionStarted, getChildren, getName, getUUID, removeSPListener, setName, setParent, setUUID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ca.sqlpower.object.SPObject |
|---|
addChild, addSPListener, begin, getChildren, getName, getUUID, removeSPListener, setName, setParent, setUUID |
| 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(ca.sqlpower.object.SPObject child)
removeChildImpl in class ca.sqlpower.object.AbstractSPObjectpublic boolean allowsChildren()
public int childPositionOffset(java.lang.Class<? extends ca.sqlpower.object.SPObject> childType)
public java.util.List<? extends WabitObject> getChildren()
public java.util.List<WabitObject> getDependencies()
public void removeDependency(ca.sqlpower.object.SPObject dependency)
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()
public boolean isInitialized()
public java.util.List<java.lang.Class<? extends ca.sqlpower.object.SPObject>> getAllowedChildTypes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||