mondrian.olap
Class MondrianDef.Join

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.olap.MondrianDef.RelationOrJoin
          extended by 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
 

Field Summary
 MondrianDef.RelationOrJoin left
           
 String leftAlias
           
 String leftKey
           
 MondrianDef.RelationOrJoin right
           
 String rightAlias
           
 String rightKey
           
 
Constructor Summary
MondrianDef.Join()
           
MondrianDef.Join(DOMWrapper _def)
           
MondrianDef.Join(String leftAlias, String leftKey, MondrianDef.RelationOrJoin left, String rightAlias, String rightKey, MondrianDef.RelationOrJoin right)
          Convenience constructor.
 
Method Summary
 void display(PrintWriter _out, int _indent)
           
 boolean displayDiff(ElementDef _other, PrintWriter _out, int _indent)
           
 void displayXML(XMLOutput _out, int _indent)
           
 MondrianDef.Relation find(String seekAlias)
           
 String getLeftAlias()
          Returns the alias of the left join key, defaulting to left's alias if left is a table.
 String getName()
           
 String getRightAlias()
          Returns the alias of the right join key, defaulting to right's alias if right is a table.
 String toString()
           
 
Methods inherited from class mondrian.olap.MondrianDef.RelationOrJoin
equals, hashCode
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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.

Method Detail

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

SourceForge.net_Logo