|
||||||||||
| 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.RelationOrJoin
ca.sqlpower.architect.olap.MondrianModel.Join
public static class MondrianModel.Join
| Field Summary |
|---|
| Fields inherited from class ca.sqlpower.architect.olap.OLAPObject |
|---|
pcs |
| Constructor Summary | |
|---|---|
MondrianModel.Join()
Creates a new Join with all attributes set to their defaults. |
|
MondrianModel.Join(MondrianModel.Join original)
Creates a new Join with all attributes copied from the given Join. |
|
| 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. |
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.RelationOrJoin |
getLeft()
|
java.lang.String |
getLeftAlias()
|
java.lang.String |
getLeftKey()
|
MondrianModel.RelationOrJoin |
getRight()
|
java.lang.String |
getRightAlias()
|
java.lang.String |
getRightKey()
|
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. |
void |
setLeft(MondrianModel.RelationOrJoin newval)
|
void |
setLeftAlias(java.lang.String newval)
|
void |
setLeftKey(java.lang.String newval)
|
void |
setRight(MondrianModel.RelationOrJoin newval)
|
void |
setRightAlias(java.lang.String newval)
|
void |
setRightKey(java.lang.String 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.Join()
public MondrianModel.Join(MondrianModel.Join original)
| Method Detail |
|---|
public java.lang.String toString()
toString in class MondrianModel.RelationOrJoinpublic java.lang.String getLeftAlias()
public void setLeftAlias(java.lang.String newval)
public java.lang.String getLeftKey()
public void setLeftKey(java.lang.String newval)
public java.lang.String getRightAlias()
public void setRightAlias(java.lang.String newval)
public java.lang.String getRightKey()
public void setRightKey(java.lang.String newval)
public MondrianModel.RelationOrJoin getLeft()
public void setLeft(MondrianModel.RelationOrJoin newval)
public MondrianModel.RelationOrJoin getRight()
public void setRight(MondrianModel.RelationOrJoin newval)
public java.util.List<OLAPObject> getChildren()
OLAPObject
getChildren in class MondrianModel.RelationOrJoinpublic boolean allowsChildren()
OLAPObjectOLAPObject.getChildren(), and false if getChildren() is always empty.
allowsChildren in class MondrianModel.RelationOrJoinpublic 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 MondrianModel.RelationOrJoinchild - 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 MondrianModel.RelationOrJoinindex - 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 MondrianModel.RelationOrJoinchild - The child to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||