|
||||||||||
| 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.AggTable
public abstract static class MondrianModel.AggTable
A definition of an aggregate table for a base fact table. This aggregate table must be in the same schema as the base fact table.
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
pcs |
| Constructor Summary | |
|---|---|
MondrianModel.AggTable()
Creates a new AggTable with all attributes set to their defaults. |
|
MondrianModel.AggTable(MondrianModel.AggTable original)
Creates a new AggTable with all attributes copied from the given AggTable. |
|
| Method Summary | |
|---|---|
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 |
addForeignKey(int pos,
MondrianModel.AggForeignKey newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addForeignKey(MondrianModel.AggForeignKey newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addIgnoreColumn(int pos,
MondrianModel.AggIgnoreColumn newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addIgnoreColumn(MondrianModel.AggIgnoreColumn newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addLevel(int pos,
MondrianModel.AggLevel newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addLevel(MondrianModel.AggLevel newChild)
Adds the given child object at the end of the child list, firing an OLAPChildEvent. |
void |
addMeasure(int pos,
MondrianModel.AggMeasure newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addMeasure(MondrianModel.AggMeasure 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<OLAPObject> |
getChildren()
Returns a read-only unified list of all children of this OLAPObject. |
MondrianModel.AggFactCount |
getFactcount()
|
java.util.List<MondrianModel.AggForeignKey> |
getForeignKeys()
|
java.lang.Boolean |
getIgnorecase()
|
java.util.List<MondrianModel.AggIgnoreColumn> |
getIgnoreColumns()
|
java.util.List<MondrianModel.AggLevel> |
getLevels()
|
java.util.List<MondrianModel.AggMeasure> |
getMeasures()
|
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.AggForeignKey |
removeForeignKey(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeForeignKey(MondrianModel.AggForeignKey removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
MondrianModel.AggIgnoreColumn |
removeIgnoreColumn(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeIgnoreColumn(MondrianModel.AggIgnoreColumn removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
MondrianModel.AggLevel |
removeLevel(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeLevel(MondrianModel.AggLevel removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
MondrianModel.AggMeasure |
removeMeasure(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeMeasure(MondrianModel.AggMeasure removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
void |
setFactcount(MondrianModel.AggFactCount newval)
|
void |
setIgnorecase(java.lang.Boolean newval)
|
java.lang.String |
toString()
|
| Methods inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
addChildListener, addCompoundEditListener, addPropertyChangeListener, endCompoundEdit, fireChildAdded, fireChildRemoved, getName, 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.AggTable()
public MondrianModel.AggTable(MondrianModel.AggTable original)
| Method Detail |
|---|
public java.lang.Boolean getIgnorecase()
public void setIgnorecase(java.lang.Boolean newval)
public MondrianModel.AggFactCount getFactcount()
public void setFactcount(MondrianModel.AggFactCount newval)
public void addIgnoreColumn(int pos,
MondrianModel.AggIgnoreColumn newChild)
public void addIgnoreColumn(MondrianModel.AggIgnoreColumn newChild)
public boolean removeIgnoreColumn(MondrianModel.AggIgnoreColumn removeChild)
public MondrianModel.AggIgnoreColumn removeIgnoreColumn(int pos)
public java.util.List<MondrianModel.AggIgnoreColumn> getIgnoreColumns()
public void addForeignKey(int pos,
MondrianModel.AggForeignKey newChild)
public void addForeignKey(MondrianModel.AggForeignKey newChild)
public boolean removeForeignKey(MondrianModel.AggForeignKey removeChild)
public MondrianModel.AggForeignKey removeForeignKey(int pos)
public java.util.List<MondrianModel.AggForeignKey> getForeignKeys()
public void addMeasure(int pos,
MondrianModel.AggMeasure newChild)
public void addMeasure(MondrianModel.AggMeasure newChild)
public boolean removeMeasure(MondrianModel.AggMeasure removeChild)
public MondrianModel.AggMeasure removeMeasure(int pos)
public java.util.List<MondrianModel.AggMeasure> getMeasures()
public void addLevel(int pos,
MondrianModel.AggLevel newChild)
public void addLevel(MondrianModel.AggLevel newChild)
public boolean removeLevel(MondrianModel.AggLevel removeChild)
public MondrianModel.AggLevel removeLevel(int pos)
public java.util.List<MondrianModel.AggLevel> getLevels()
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 | |||||||||