mondrian.gui
Class MondrianGuiDef.ExpressionView

java.lang.Object
  extended by org.eigenbase.xom.ElementDef
      extended by mondrian.gui.MondrianGuiDef.Expression
          extended by mondrian.gui.MondrianGuiDef.ExpressionView
All Implemented Interfaces:
Serializable, Cloneable, NodeDef
Direct Known Subclasses:
MondrianGuiDef.CaptionExpression, MondrianGuiDef.KeyExpression, MondrianGuiDef.MeasureExpression, MondrianGuiDef.NameExpression, MondrianGuiDef.OrdinalExpression, MondrianGuiDef.ParentExpression
Enclosing class:
MondrianGuiDef

public abstract static class MondrianGuiDef.ExpressionView
extends MondrianGuiDef.Expression

A collection of SQL expressions, one per dialect.

See Also:
Serialized Form
 

Field Summary
 MondrianGuiDef.SQL[] expressions
           
 
Constructor Summary
MondrianGuiDef.ExpressionView()
           
MondrianGuiDef.ExpressionView(DOMWrapper _def)
           
 
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 obj)
           
 String getExpression(SqlQuery query)
           
 String getGenericExpression()
           
 String getName()
           
 String getTableAlias()
           
 int hashCode()
           
 String toString()
           
 
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

expressions

public MondrianGuiDef.SQL[] expressions
Constructor Detail

MondrianGuiDef.ExpressionView

public MondrianGuiDef.ExpressionView()

MondrianGuiDef.ExpressionView

public MondrianGuiDef.ExpressionView(DOMWrapper _def)
                              throws XOMException
Throws:
XOMException
Method Detail

getName

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

display

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

displayXML

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

displayDiff

public boolean displayDiff(ElementDef _other,
                           PrintWriter _out,
                           int _indent)
Overrides:
displayDiff in class MondrianGuiDef.Expression

toString

public String toString()
Overrides:
toString in class ElementDef

getExpression

public String getExpression(SqlQuery query)
Specified by:
getExpression in class MondrianGuiDef.Expression

getGenericExpression

public String getGenericExpression()
Specified by:
getGenericExpression in class MondrianGuiDef.Expression

getTableAlias

public String getTableAlias()
Specified by:
getTableAlias in class MondrianGuiDef.Expression

hashCode

public int hashCode()
Overrides:
hashCode in class ElementDef

equals

public boolean equals(Object obj)
Overrides:
equals in class ElementDef

SourceForge.net_Logo