|
||||||||||
| 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.Level
public static class MondrianModel.Level
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
pcs |
| Constructor Summary | |
|---|---|
MondrianModel.Level()
Creates a new Level with all attributes set to their defaults. |
|
MondrianModel.Level(MondrianModel.Level original)
Creates a new Level with all attributes copied from the given Level. |
|
| 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 |
addProperty(int pos,
MondrianModel.Property newChild)
Adds the given child object at the specified position, firing an OLAPChildEvent. |
void |
addProperty(MondrianModel.Property 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.lang.String |
getApproxRowCount()
|
java.lang.String |
getCaption()
|
java.lang.String |
getCaptionColumn()
|
java.util.List<OLAPObject> |
getChildren()
Returns a read-only unified list of all children of this OLAPObject. |
MondrianModel.Closure |
getClosure()
|
java.lang.String |
getColumn()
|
java.lang.String |
getFormatter()
|
java.lang.String |
getHideMemberIf()
|
MondrianModel.KeyExpression |
getKeyExp()
|
java.lang.String |
getLevelType()
|
java.lang.String |
getName()
Default implementation. |
java.lang.String |
getNameColumn()
|
MondrianModel.NameExpression |
getNameExp()
|
java.lang.String |
getNullParentValue()
|
java.lang.String |
getOrdinalColumn()
|
MondrianModel.OrdinalExpression |
getOrdinalExp()
|
java.lang.String |
getParentColumn()
|
MondrianModel.ParentExpression |
getParentExp()
|
java.util.List<MondrianModel.Property> |
getProperties()
|
java.lang.String |
getTable()
|
java.lang.String |
getType()
|
java.lang.Boolean |
getUniqueMembers()
|
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.Property |
removeProperty(int pos)
Removes the child object at the given position, firing an OLAPChildEvent. |
boolean |
removeProperty(MondrianModel.Property removeChild)
Removes the given child object, firing an OLAPChildEvent if the child was found. |
void |
setApproxRowCount(java.lang.String newval)
|
void |
setCaption(java.lang.String newval)
|
void |
setCaptionColumn(java.lang.String newval)
|
void |
setClosure(MondrianModel.Closure newval)
|
void |
setColumn(java.lang.String newval)
|
void |
setFormatter(java.lang.String newval)
|
void |
setHideMemberIf(java.lang.String newval)
|
void |
setKeyExp(MondrianModel.KeyExpression newval)
|
void |
setLevelType(java.lang.String newval)
|
void |
setName(java.lang.String newval)
|
void |
setNameColumn(java.lang.String newval)
|
void |
setNameExp(MondrianModel.NameExpression newval)
|
void |
setNullParentValue(java.lang.String newval)
|
void |
setOrdinalColumn(java.lang.String newval)
|
void |
setOrdinalExp(MondrianModel.OrdinalExpression newval)
|
void |
setParentColumn(java.lang.String newval)
|
void |
setParentExp(MondrianModel.ParentExpression newval)
|
void |
setTable(java.lang.String newval)
|
void |
setType(java.lang.String newval)
|
void |
setUniqueMembers(java.lang.Boolean 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.Level()
public MondrianModel.Level(MondrianModel.Level original)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getApproxRowCount()
public void setApproxRowCount(java.lang.String newval)
public java.lang.String getName()
OLAPObject
getName in class OLAPObjectpublic void setName(java.lang.String newval)
public java.lang.String getTable()
public void setTable(java.lang.String newval)
public java.lang.String getColumn()
public void setColumn(java.lang.String newval)
public java.lang.String getNameColumn()
public void setNameColumn(java.lang.String newval)
public java.lang.String getOrdinalColumn()
public void setOrdinalColumn(java.lang.String newval)
public java.lang.String getParentColumn()
public void setParentColumn(java.lang.String newval)
public java.lang.String getNullParentValue()
public void setNullParentValue(java.lang.String newval)
public java.lang.String getType()
public void setType(java.lang.String newval)
public java.lang.Boolean getUniqueMembers()
public void setUniqueMembers(java.lang.Boolean newval)
public java.lang.String getLevelType()
public void setLevelType(java.lang.String newval)
public java.lang.String getHideMemberIf()
public void setHideMemberIf(java.lang.String newval)
public java.lang.String getFormatter()
public void setFormatter(java.lang.String newval)
public java.lang.String getCaption()
public void setCaption(java.lang.String newval)
public java.lang.String getCaptionColumn()
public void setCaptionColumn(java.lang.String newval)
public MondrianModel.KeyExpression getKeyExp()
public void setKeyExp(MondrianModel.KeyExpression newval)
public MondrianModel.NameExpression getNameExp()
public void setNameExp(MondrianModel.NameExpression newval)
public MondrianModel.OrdinalExpression getOrdinalExp()
public void setOrdinalExp(MondrianModel.OrdinalExpression newval)
public MondrianModel.ParentExpression getParentExp()
public void setParentExp(MondrianModel.ParentExpression newval)
public MondrianModel.Closure getClosure()
public void setClosure(MondrianModel.Closure newval)
public void addProperty(int pos,
MondrianModel.Property newChild)
public void addProperty(MondrianModel.Property newChild)
public boolean removeProperty(MondrianModel.Property removeChild)
public MondrianModel.Property removeProperty(int pos)
public java.util.List<MondrianModel.Property> getProperties()
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 | |||||||||