|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.architect.olap.OLAPObject
ca.sqlpower.architect.olap.MondrianModel.VirtualCube
public static class MondrianModel.VirtualCube
A VirtualCube is a set of dimensions and measures gleaned from other cubes.
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
pcs |
| Constructor Summary | |
|---|---|
MondrianModel.VirtualCube()
Creates a new VirtualCube with all attributes set to their defaults. |
|
MondrianModel.VirtualCube(MondrianModel.VirtualCube original)
Creates a new VirtualCube with all attributes copied from the given VirtualCube. |
|
| Method Summary | |
|---|---|
void |
addCalculatedMember(int pos,
MondrianModel.CalculatedMember newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addCalculatedMember(MondrianModel.CalculatedMember newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addChild(int index,
OLAPObject child)
Adds the given child or sets the appropriate property on this OLAPObject, allowing the overall target index to be specified. |
void |
addChild(OLAPObject child)
Adds the given child or sets the appropriate property on this OLAPObject, if this type of OLAPObject has the applicable addXXX() or setXXX() method for the given object's type. |
void |
addDimension(int pos,
MondrianModel.VirtualCubeDimension newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addDimension(MondrianModel.VirtualCubeDimension newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addMeasure(int pos,
MondrianModel.VirtualCubeMeasure newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addMeasure(MondrianModel.VirtualCubeMeasure newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addNamedSet(int pos,
MondrianModel.NamedSet newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addNamedSet(MondrianModel.NamedSet newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
boolean |
allowsChildren()
Returns true if this type of OLAPObject can ever return a non-empty list from OLAPObject.getChildren(), and false if getChildren() is always empty. |
java.util.List<MondrianModel.CalculatedMember> |
getCalculatedMembers()
|
java.lang.String |
getCaption()
|
java.util.List<OLAPObject> |
getChildren()
Returns a read-only unified list of all children of this OLAPObject. |
MondrianModel.CubeUsages |
getCubeUsage()
|
java.lang.String |
getDefaultMeasure()
|
java.util.List<MondrianModel.VirtualCubeDimension> |
getDimensions()
|
java.lang.Boolean |
getEnabled()
|
java.util.List<MondrianModel.VirtualCubeMeasure> |
getMeasures()
|
java.lang.String |
getName()
Default implementation. |
java.util.List<MondrianModel.NamedSet> |
getNamedSets()
|
MondrianModel.CalculatedMember |
removeCalculatedMember(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeCalculatedMember(MondrianModel.CalculatedMember removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
boolean |
removeChild(OLAPObject child)
Removes the given child on this OLAPObject if this type of OLAPObject has the applicable removeXXX() or setXXX(null) method for the given object's type. |
MondrianModel.VirtualCubeDimension |
removeDimension(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeDimension(MondrianModel.VirtualCubeDimension removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
MondrianModel.VirtualCubeMeasure |
removeMeasure(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeMeasure(MondrianModel.VirtualCubeMeasure removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
MondrianModel.NamedSet |
removeNamedSet(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeNamedSet(MondrianModel.NamedSet removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
void |
setCaption(java.lang.String newval)
|
void |
setCubeUsage(MondrianModel.CubeUsages newval)
|
void |
setDefaultMeasure(java.lang.String newval)
|
void |
setEnabled(java.lang.Boolean newval)
|
void |
setName(java.lang.String newval)
|
java.lang.String |
toString()
|
| Methods inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
addChildListener, addCompoundEditListener, addPropertyChangeListener, endCompoundEdit, fireChildAdded, fireChildRemoved, getParent, removeChildListener, removeCompoundEditListener, removePropertyChangeListener, startCompoundEdit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MondrianModel.VirtualCube()
public MondrianModel.VirtualCube(MondrianModel.VirtualCube original)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean newval)
public java.lang.String getName()
OLAPObject
getName in class OLAPObjectpublic void setName(java.lang.String newval)
public java.lang.String getDefaultMeasure()
public void setDefaultMeasure(java.lang.String newval)
public java.lang.String getCaption()
public void setCaption(java.lang.String newval)
public MondrianModel.CubeUsages getCubeUsage()
public void setCubeUsage(MondrianModel.CubeUsages newval)
public void addDimension(int pos,
MondrianModel.VirtualCubeDimension newChild)
public void addDimension(MondrianModel.VirtualCubeDimension newChild)
public boolean removeDimension(MondrianModel.VirtualCubeDimension removeChild)
public MondrianModel.VirtualCubeDimension removeDimension(int pos)
public java.util.List<MondrianModel.VirtualCubeDimension> getDimensions()
public void addMeasure(int pos,
MondrianModel.VirtualCubeMeasure newChild)
public void addMeasure(MondrianModel.VirtualCubeMeasure newChild)
public boolean removeMeasure(MondrianModel.VirtualCubeMeasure removeChild)
public MondrianModel.VirtualCubeMeasure removeMeasure(int pos)
public java.util.List<MondrianModel.VirtualCubeMeasure> getMeasures()
public void addCalculatedMember(int pos,
MondrianModel.CalculatedMember newChild)
public void addCalculatedMember(MondrianModel.CalculatedMember newChild)
public boolean removeCalculatedMember(MondrianModel.CalculatedMember removeChild)
public MondrianModel.CalculatedMember removeCalculatedMember(int pos)
public java.util.List<MondrianModel.CalculatedMember> getCalculatedMembers()
public void addNamedSet(int pos,
MondrianModel.NamedSet newChild)
public void addNamedSet(MondrianModel.NamedSet newChild)
public boolean removeNamedSet(MondrianModel.NamedSet removeChild)
public MondrianModel.NamedSet removeNamedSet(int pos)
public java.util.List<MondrianModel.NamedSet> getNamedSets()
public java.util.List<OLAPObject> getChildren()
OLAPObject
getChildren in class OLAPObjectpublic boolean allowsChildren()
OLAPObjectOLAPObject.getChildren(), and false if getChildren() is always empty.
allowsChildren in class OLAPObjectpublic void addChild(OLAPObject child)
OLAPObjectThis method in the abstract base class always throws the IllegalArgumentException because no children or properties are defined at this level.
This method isn't compile-time type safe, so it is recommended not to use it on "by-hand" usage of this API. This method is used during XML parsing, which can't be made compile-time type safe anyway.
addChild in class OLAPObjectchild - The child to add.
public void addChild(int index,
OLAPObject child)
OLAPObjectThis method in the abstract base class always throws IllegalArgumentException because no children or properties are defined at this level.
This method isn't compile-time type safe, so it is recommended not to use it on "by-hand" usage of this API. This method is used for undo and redo, which can't be compile-time type safe anyway.
addChild in class OLAPObjectindex - The overall index (same index as would be in
OLAPObject.getChildren()) at which to add the child.child - The child to add.public boolean removeChild(OLAPObject child)
OLAPObjectThis method in the abstract base class always throws the IllegalArgumentException because no children or properties are defined at this level.
removeChild in class OLAPObjectchild - The child to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||