mondrian.gui
Class MondrianGuiDef.Join

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.gui.MondrianGuiDef.RelationOrJoin
          extended by mondrian.gui.MondrianGuiDef.Join
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Enclosing class:
MondrianGuiDef

public static class MondrianGuiDef.Join
extends MondrianGuiDef.RelationOrJoin

See Also:
Serialized Form
 

Field Summary
 MondrianGuiDef.RelationOrJoin left
           
 String leftAlias
           
 String leftKey
           
 MondrianGuiDef.RelationOrJoin right
           
 String rightAlias
           
 String rightKey
           
 
Constructor Summary
MondrianGuiDef.Join()
           
MondrianGuiDef.Join(DOMWrapper _def)
           
MondrianGuiDef.Join(String leftAlias, String leftKey, MondrianGuiDef.RelationOrJoin left, String rightAlias, String rightKey, MondrianGuiDef.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)
           
 boolean equals(Object o)
           
 MondrianGuiDef.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.gui.MondrianGuiDef.RelationOrJoin
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 MondrianGuiDef.RelationOrJoin left

right

public MondrianGuiDef.RelationOrJoin right
Constructor Detail

MondrianGuiDef.Join

public MondrianGuiDef.Join()

MondrianGuiDef.Join

public MondrianGuiDef.Join(DOMWrapper _def)
                    throws XOMException
Throws:
XOMException

MondrianGuiDef.Join

public MondrianGuiDef.Join(String leftAlias,
                           String leftKey,
                           MondrianGuiDef.RelationOrJoin left,
                           String rightAlias,
                           String rightKey,
                           MondrianGuiDef.RelationOrJoin right)
Convenience constructor.

Method Detail

getName

public String getName()
Specified by:
getName in interface NodeDef
Overrides:
getName in class MondrianGuiDef.RelationOrJoin

display

public void display(PrintWriter _out,
                    int _indent)
Specified by:
display in interface NodeDef
Overrides:
display in class MondrianGuiDef.RelationOrJoin

displayXML

public void displayXML(XMLOutput _out,
                       int _indent)
Specified by:
displayXML in interface NodeDef
Overrides:
displayXML in class MondrianGuiDef.RelationOrJoin

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class MondrianGuiDef.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 MondrianGuiDef.Relation find(String seekAlias)
Specified by:
find in class MondrianGuiDef.RelationOrJoin

equals

public boolean equals(Object o)
Overrides:
equals in class MondrianGuiDef.RelationOrJoin

SourceForge.net_Logo