|
||||||||||
| 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.WabitOlapAxis
public class WabitOlapAxis
Wrapper class to an Olap4j Dimension. Used to load and save Olap4j Dimensions.
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
uuid |
| Constructor Summary | |
|---|---|
WabitOlapAxis(org.olap4j.Axis ordinal)
Creates a WabitOlapDimension with the given name. |
|
WabitOlapAxis(org.olap4j.query.QueryAxis queryAxis)
Creates a WabitOlapAxis to wrap the given QueryAxis. |
|
WabitOlapAxis(WabitOlapAxis axis)
Copy Constructor. |
|
| Method Summary | |
|---|---|
protected void |
addChildImpl(ca.sqlpower.object.SPObject child,
int index)
|
void |
addDimension(WabitOlapDimension dimension)
Adds an exclusion to this axis. |
void |
addDimension(WabitOlapDimension dimension,
int index)
Adds an exclusion to this axis at the given dimension. |
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()
|
java.util.List<WabitObject> |
getDependencies()
Olap wrapper classes only depend on the wrapped Olap4j objects |
java.util.List<WabitOlapDimension> |
getDimensions()
Returns the list of dimensions |
org.olap4j.Axis |
getOrdinal()
|
OlapQuery |
getParent()
Returns the parent of this WabitObject. |
java.lang.String |
getSortEvaluationLiteral()
|
java.lang.String |
getSortOrder()
|
boolean |
isNonEmpty()
|
protected boolean |
removeChildImpl(ca.sqlpower.object.SPObject child)
|
void |
removeDependency(ca.sqlpower.object.SPObject dependency)
|
void |
setNonEmpty(boolean nonEmpty)
|
void |
setSortEvaluationLiteral(java.lang.String sortEvaluationLiteral)
|
void |
setSortOrder(java.lang.String sortOrder)
|
void |
updateChildren()
Updates lists of children based on children of the wrapped Dimension. |
| Methods inherited from class ca.sqlpower.wabit.AbstractWabitObject |
|---|
cleanup, commit, equals, generateNewUUID, getSession, isForegroundThread, removeChild, rollback, runInBackground, runInForeground, toString |
| Methods inherited from class ca.sqlpower.object.AbstractSPObject |
|---|
addChild, 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 |
| Constructor Detail |
|---|
public WabitOlapAxis(WabitOlapAxis axis)
public WabitOlapAxis(org.olap4j.query.QueryAxis queryAxis)
QueryAxis.
public WabitOlapAxis(org.olap4j.Axis ordinal)
| Method Detail |
|---|
public void updateChildren()
public void addDimension(WabitOlapDimension dimension)
QueryAxis.
public void addDimension(WabitOlapDimension dimension,
int index)
QueryAxis.
protected boolean removeChildImpl(ca.sqlpower.object.SPObject child)
removeChildImpl in class ca.sqlpower.object.AbstractSPObject
protected void addChildImpl(ca.sqlpower.object.SPObject child,
int index)
addChildImpl 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 java.util.List<WabitOlapDimension> getDimensions()
public void setNonEmpty(boolean nonEmpty)
public boolean isNonEmpty()
public void setSortOrder(java.lang.String sortOrder)
public java.lang.String getSortOrder()
public void setSortEvaluationLiteral(java.lang.String sortEvaluationLiteral)
public java.lang.String getSortEvaluationLiteral()
public org.olap4j.Axis getOrdinal()
public OlapQuery getParent()
WabitObjectWabitObject
tree.
getParent in interface ca.sqlpower.object.SPObjectgetParent in interface WabitObjectgetParent in class AbstractWabitObjectpublic 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 | |||||||||