mondrian.olap
Class MondrianDef.Join
java.lang.Object
org.eigenbase.xom.ElementDef
mondrian.olap.MondrianDef.RelationOrJoin
mondrian.olap.MondrianDef.Join
- All Implemented Interfaces:
- Serializable, Cloneable, NodeDef
- Enclosing class:
- MondrianDef
public static class MondrianDef.Join
- extends MondrianDef.RelationOrJoin
- See Also:
- Serialized Form
-
-
Methods inherited from class org.eigenbase.xom.ElementDef |
addChild, addChildren, clone, constructElement, constructElement, deepCopy, diff, displayAttribute, displayAttributeDiff, displayElement, displayElementArray, displayElementArrayDiff, displayElementDiff, displayIndent, displayString, displayStringArray, displayStringArrayDiff, displayStringDiff, displayXML, displayXMLElement, displayXMLElementArray, displayXMLString, displayXMLStringArray, getChildren, getElementChildren, getElementClass, getMixedChildren_new, getMixedChildren, getText, getType, getWrapper, toCompactXML, toXML, verifyEqual |
leftAlias
public String leftAlias
leftKey
public String leftKey
rightAlias
public String rightAlias
rightKey
public String rightKey
left
public MondrianDef.RelationOrJoin left
right
public MondrianDef.RelationOrJoin right
MondrianDef.Join
public MondrianDef.Join()
MondrianDef.Join
public MondrianDef.Join(DOMWrapper _def)
throws XOMException
- Throws:
XOMException
MondrianDef.Join
public MondrianDef.Join(String leftAlias,
String leftKey,
MondrianDef.RelationOrJoin left,
String rightAlias,
String rightKey,
MondrianDef.RelationOrJoin right)
- Convenience constructor.
getName
public String getName()
- Specified by:
getName
in interface NodeDef
- Overrides:
getName
in class MondrianDef.RelationOrJoin
display
public void display(PrintWriter _out,
int _indent)
- Specified by:
display
in interface NodeDef
- Overrides:
display
in class MondrianDef.RelationOrJoin
displayXML
public void displayXML(XMLOutput _out,
int _indent)
- Specified by:
displayXML
in interface NodeDef
- Overrides:
displayXML
in class MondrianDef.RelationOrJoin
displayDiff
public boolean displayDiff(ElementDef _other,
PrintWriter _out,
int _indent)
- Overrides:
displayDiff
in class MondrianDef.RelationOrJoin
getLeftAlias
public String getLeftAlias()
- Returns the alias of the left join key, defaulting to left's
alias if left is a table.
getRightAlias
public String getRightAlias()
- Returns the alias of the right join key, defaulting to right's
alias if right is a table.
toString
public String toString()
- Overrides:
toString
in class ElementDef
find
public MondrianDef.Relation find(String seekAlias)
- Specified by:
find
in class MondrianDef.RelationOrJoin